CVE-2024-57909

iio: light: bh1745: 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: light: bh1745: fix information leak in triggered buffer

The 'scan' 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
  • eab35358aae705b779a7c8b405474d1290175196 to before 1cca2a666e099aa018e5ab385f0a6e01a3053629Affected
  • eab35358aae705b779a7c8b405474d1290175196 to before b62fbe3b8eedd3cf3c9ad0b7cb9f72c3f40815f0Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not 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.