iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
Summary
| CVE | CVE-2024-56557 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-12-27 15:15:14 UTC |
| Updated | 2026-04-18 09:16:09 UTC |
| 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(). |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from ADP
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-120 | CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 851644a60d200c9a294de5a5594004bcf13d34c7 6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3 git | Not specified |
| CNA | Linux | Linux | affected 851644a60d200c9a294de5a5594004bcf13d34c7 00663d3e000c31d0d49ef86a809f5c107c2d09cd git | Not specified |
| CNA | Linux | Linux | affected 851644a60d200c9a294de5a5594004bcf13d34c7 e5cac32721997cb8bcb208a29f4598b3faf46338 git | Not specified |
| CNA | Linux | Linux | affected 851644a60d200c9a294de5a5594004bcf13d34c7 218ecc35949129171ca39bcc0d407c8dc4cd0bbc git | Not specified |
| CNA | Linux | Linux | affected 851644a60d200c9a294de5a5594004bcf13d34c7 3a4187ec454e19903fd15f6e1825a4b84e59a4cd git | Not specified |
| CNA | Linux | Linux | affected 5.6 | Not specified |
| CNA | Linux | Linux | unaffected 5.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.203 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.120 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.64 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.4 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.13 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.