CVE-2024-56557: iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
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().
Security readout for executives and security teams
Plain-English summary
A Linux driver for AD7923-family analog-to-digital converters can write beyond allocated buffers when configuring supported eight-channel devices. A locally authenticated user may be able to trigger memory corruption, potentially affecting confidentiality, integrity, or availability. Exposure is limited to systems using the affected driver and relevant hardware or configuration path.
Executive priority
Treat this as a high-priority targeted kernel update, not an organization-wide emergency. Accelerate remediation for embedded, industrial, or monitoring systems using the affected ADC driver. Standard patch cadence may be reasonable elsewhere after confirming the driver and hardware are absent. No active exploitation evidence is provided.
Technical view
The AD7923 Industrial I/O ADC driver added eight-channel support without enlarging tx_buf and ring_xfer. During ad7923_update_scan_mode(), configured channel data may exceed those buffers. The supplied CVSS 3.1 score is 7.8: local access, low complexity, low privileges, no user interaction, and potentially high impact across confidentiality, integrity, and availability.
Likely exposure
Prioritize Linux systems that load the AD7923 driver for compatible ADC hardware, especially eight-channel configurations using buffered scans. Systems without this driver or relevant hardware are unlikely to reach the vulnerable path. The supplied affected-version data is ambiguous, so determine exposure using distribution advisories and fix-commit ancestry rather than version strings alone.
Exploitation context
The supplied CVSS vector describes local, low-privilege exploitation with no user interaction. The source bundle does not establish remote reachability, public exploitation, or active exploitation, and the CVE is not listed as KEV. Successful triggering could corrupt kernel memory, but the sources do not document a proven exploitation outcome.
Researcher notes
CWE-120 applies to undersized driver buffers following expansion to eight channels. Analysis should focus on buffer sizing in ad7923_update_scan_mode() and whether the applicable stable-branch fix is present. The bundle repeats one unaffected commit and supplies unclear affected version identifiers; it is insufficient for precise branch-range conclusions without vendor mapping.
Mitigation direction
Install a vendor or distribution kernel containing the applicable cited stable fix.
Compare custom kernels against the cited fix commits before declaring them remediated.
If immediate updating is impossible, obtain risk-reduction guidance from the kernel or distribution vendor.
Prioritize systems where the AD7923 driver and compatible eight-channel hardware are actively used.
Validation and detection
Inventory kernel builds on systems using Industrial I/O ADC hardware.
Confirm whether the AD7923 driver and compatible hardware are present and active.
Verify the running kernel includes the applicable stable fix through package metadata or commit ancestry.
After updating, confirm the fixed kernel is running and affected services operate normally.
Review distribution advisories because the supplied version list does not define reliable affected ranges.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-120: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-120 · source CWE mapping
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.