CVE-2024-57907

iio: adc: rockchip_saradc: fix information leak in triggered buffer

State
Published
Severity
7.1 High
Published
Jan 19, 2025
Updated
May 11, 2026
Reserved
Jan 19, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
LinuxLinux
  • 4e130dc7b41348b13684f0758c26cc6cf72a3449 to before 85a9c98a5e0f22d911b00077d751e34fff1401aaAffected
  • 4e130dc7b41348b13684f0758c26cc6cf72a3449 to before 7a07fb80ea886e9134284a27d0155cca7649e293Affected
  • 4e130dc7b41348b13684f0758c26cc6cf72a3449 to before 64b79afdca7b27a768c7d3716b7f4deb1d6b955cAffected
  • 4e130dc7b41348b13684f0758c26cc6cf72a3449 to before 5a95fbbecec7a34bbad5dcc3156700b8711d53c4Affected
  • 4e130dc7b41348b13684f0758c26cc6cf72a3449 to before 8193941bc4fe7247ff13233f328aea709f574554Affected
  • 4e130dc7b41348b13684f0758c26cc6cf72a3449 to before 38724591364e1e3b278b4053f102b49ea06ee17cAffected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.234 through 5.10.*Not affected
  • 5.15.177 through 5.15.*Not affected
  • 6.1.127 through 6.1.*Not affected
  • 6.6.72 through 6.6.*Not affected
  • 6.12.10 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.