iio: adc: rockchip_saradc: fix information leak in triggered buffer (Linux Linux)

CVE-2024-57907
HIGH 7.1

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: rockchip_saradc: fix information leak in triggered buffer The 'data' local struct is used to push data to user space from a triggered buffer, but it does not set values for inactive channels, as it only uses iio_for_each_active_channel() to assign new values. Initialize the struct to zero before using it to avoid pushing uninitialized information to userspace.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4e130dc7b41348b13684f0758c26cc6cf72a3449 < 85a9c98a5e0f22d911b00077d751e34fff1401aa ; affected 4e130dc7b41348b13684f0758c26cc6cf72a3449 < 7a07fb80ea886e9134284a27d0155cca7649e293 ; affected 4e130dc7b41348b13684f0758c26cc6cf72a3449 < 64b79afdca7b27a768c7d3716b7f4deb1d6b955c ; affected 4e130dc7b41348b13684f0758c26cc6cf72a3449 < 5a95fbbecec7a34bbad5dcc3156700b8711d53c4 ; affected 4e130dc7b41348b13684f0758c26cc6cf72a3449 < 8193941bc4fe7247ff13233f328aea709f574554 ; affected 4e130dc7b41348b13684f0758c26cc6cf72a3449 < 38724591364e1e3b278b4053f102b49ea06ee17c
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.234 ≤ 5.10.* ; unaffected 5.15.177 ≤ 5.15.* ; unaffected 6.1.127 ≤ 6.1.* ; unaffected 6.6.72 ≤ 6.6.*

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