# CVE-2024-56557: iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-12-27T14:23:03.251Z
- Modified: 2026-08-05T11:45:05.174Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 851644a60d200c9a294de5a5594004bcf13d34c7 before 6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3; from 851644a60d200c9a294de5a5594004bcf13d34c7 before 00663d3e000c31d0d49ef86a809f5c107c2d09cd; from 851644a60d200c9a294de5a5594004bcf13d34c7 before e5cac32721997cb8bcb208a29f4598b3faf46338; from 851644a60d200c9a294de5a5594004bcf13d34c7 before 218ecc35949129171ca39bcc0d407c8dc4cd0bbc; from 851644a60d200c9a294de5a5594004bcf13d34c7 before 3a4187ec454e19903fd15f6e1825a4b84e59a4cd; 5.6 (not affected: before 5.6; from 5.15.203 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.12.4 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.6 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.12.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3>
- <https://git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd> (patch)
- <https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338> (patch)
- <https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc> (patch)
- <https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-56557](https://www.cve.org/CVERecord?id=CVE-2024-56557), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-56557](https://nvd.nist.gov/vuln/detail/CVE-2024-56557), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-56557 · Whole record: https://cve.day/CVE-2024-56557.json · Rebuilt by cve.day 2026-11-25T22:58:50.449Z
