Skip to main content

Linux Kernel CVE-2024-56557

HIGH
Classic Buffer Overflow (CWE-120)
2024-12-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify Linux system with AD7923 ADC hardware
  2. Delivery
    Obtain low-privilege local shell access
  3. Exploit
    Confirm ad7923 kernel module is loaded
  4. Install
    Trigger 8-channel scan mode update via IIO interface
  5. C2
    Overflow tx_buf or ring_xfer beyond allocated bounds
  6. Execute
    Corrupt adjacent kernel memory
  7. Impact
    Achieve privilege escalation or kernel crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) an AD7923 ADC chip physically connected to the target system via SPI; (2) the ad7923 kernel module loaded and bound to that hardware; (3) local shell access with at minimum low-privilege credentials (PR:L per CVSS vector) sufficient to interact with the IIO subsystem and trigger a scan mode update covering 8 channels. The vulnerability is not remotely exploitable and cannot be triggered on systems lacking the specific AD7923 hardware. Exploitation is further limited by the requirement to reach the ad7923_update_scan_mode() code path with a scan mask that causes writes beyond the statically allocated buffer size. The hardware prerequisite is the dominant limiting factor - it effectively restricts the realistic attack surface to embedded, laboratory, or industrial control deployments using this specific ADC family.

Impact

CVSS 7.8 (High) with AV:L/AC:L/PR:L/UI:N conveys local access with low-privilege credentials sufficient to trigger the overflow with minimal complexity. However, several signals materially discount real-world risk. EPSS sits at 0.01% (1st percentile), reflecting near-zero observed exploitation activity. The vulnerability is not listed in CISA KEV, and no public POC has been identified. Critically, exploitation is gated on a physical hardware prerequisite: the target system must have an AD7923 ADC chip connected and the kernel module loaded. This limits the realistic attack surface to embedded, industrial control, or laboratory data-acquisition systems - not general enterprise infrastructure. SSVC signals reinforce low urgency: exploitation status is none, automatable exploitation is implausible due to hardware dependency, and technical impact is high only in the narrow hardware context. The CVSS C:H/I:H/A:H worst-case reflects memory corruption potential but overstates practical risk for most environments. This is a real bug warranting patching in affected deployments but not an emergency priority for general-purpose Linux fleets.

Exploit ScenarioDerived

A local user with low-privilege shell access on an embedded or industrial Linux system with an AD7923 8-channel ADC physically attached invokes the IIO scan mode configuration interface, triggering ad7923_update_scan_mode() to write channel configuration data beyond the undersized tx_buf or ring_xfer arrays. The resulting kernel heap or stack corruption could overwrite adjacent data structures, potentially enabling privilege escalation to root or causing a kernel panic. No public POC has been identified, and constructing a reliable exploit would require kernel internals knowledge and physical hardware access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 04, 2026

Buffer overflow in the Linux kernel's IIO ADC AD7923 driver exposes local low-privilege users on affected hardware to potential privilege escalation or kernel crash. The flaw was introduced when 8-channel device support was added to the AD7923 driver without correspondingly enlarging the tx_buf and ring_xfer arrays, enabling out-of-bounds writes in ad7923_update_scan_mode(). No public exploit has been identified and EPSS of 0.01% (1st percentile) reflects the highly niche hardware dependency; patches are confirmed available across multiple kernel stable branches and major distributions.

RemediationAI

Apply the upstream kernel patches available across multiple stable branches via kernel.org: https://git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd, https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc, https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd, and https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338. Ubuntu users should apply kernel updates per USN-8575-1 (https://ubuntu.com/security/notices/USN-8575-1); Debian LTS users should apply packages from the March 2025 announcement. Exact patched kernel release versions for each distribution should be confirmed via those advisories, as NVD data does not enumerate specific fix versions. Where immediate patching is not feasible on systems running AD7923-attached hardware, blacklisting the module via 'echo blacklist ad7923 >> /etc/modprobe.d/ad7923-blacklist.conf' and unloading it with 'modprobe -r ad7923' will prevent exploitation at the cost of disabling all AD7923 ADC functionality.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The AD7923 is a successive-approximation ADC chip interfaced via SPI, supported in the Linux kernel's IIO (Industrial I/O) subsystem under drivers/iio/adc/ad7923.c. When the driver was extended to support 8-channel variants, the statically allocated tx_buf and ring_xfer arrays were not resized to accommodate the additional channel slots, creating a classic CWE-120 (Buffer Copy without Checking Size of Input) condition in ad7923_update_scan_mode(). Writing channel configuration data beyond the allocated buffer bounds can corrupt adjacent kernel memory structures. The vulnerability spans multiple Linux kernel stable branches as reflected by five separate patch commits across distinct stable trees on kernel.org. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* across multiple release series.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local access with low-privilege required to trigger IIO scan mode; hardware prerequisite does not raise AC since once hardware is present exploitation complexity is low.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 11:46 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:38 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 11:38 NVD
5.5 (MEDIUM) 7.8 (HIGH)
CVE Published
Dec 27, 2024 - 15:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer

The AD7923 was updated to support devices with 8 channels, but the size of tx_buf and ring_xfer was not increased accordingly, leading to a potential buffer overflow in ad7923_update_scan_mode().

Executive ViewAI

Why It Matters

A buffer overflow in the Linux kernel's AD7923 analog-to-digital converter driver could allow local users to escalate privileges on affected systems. However, organizational risk is significantly constrained by the niche hardware dependency, zero confirmed active exploitation, and patches already available across major Linux distributions.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Prevalence
Low
specialized ADC chip used in embedded and industrial systems only
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy