Linux Kernel
CVE-2024-56557
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify Linux system with AD7923 ADC hardware
-
DeliveryObtain low-privilege local shell access
-
ExploitConfirm ad7923 kernel module is loaded
-
InstallTrigger 8-channel scan mode update via IIO interface
-
C2Overflow tx_buf or ring_xfer beyond allocated bounds
-
ExecuteCorrupt adjacent kernel memory
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB