iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer (Linux Linux)

CVE-2024-56557
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-120 — Buffer Copy without Checking Size of Input

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 851644a60d200c9a294de5a5594004bcf13d34c7 < 6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3 ; affected 851644a60d200c9a294de5a5594004bcf13d34c7 < 00663d3e000c31d0d49ef86a809f5c107c2d09cd ; affected 851644a60d200c9a294de5a5594004bcf13d34c7 < e5cac32721997cb8bcb208a29f4598b3faf46338 ; affected 851644a60d200c9a294de5a5594004bcf13d34c7 < 218ecc35949129171ca39bcc0d407c8dc4cd0bbc ; affected 851644a60d200c9a294de5a5594004bcf13d34c7 < 3a4187ec454e19903fd15f6e1825a4b84e59a4cd
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.* ; unaffected 6.6.64 ≤ 6.6.* ; unaffected 6.12.4 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD