CVE-2024-57912

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

The 'sample' local struct is used to push data to user space from a triggered buffer, but it has a hole between the temperature and the timestamp (u32 pressure, u16 temperature, GAP, u64 timestamp). This hole is never initialized.

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
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before 9629ff1a86823269b12fb1ba9ca4efa945906287Affected
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before d25f1fc273670271412a52a1efbdaf5dcf274ed8Affected
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before 64a989aa7475b8e76e69b9ec86819ea293e53babAffected
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before b7849f62e61242e0e02c776e1109eb81e59c567cAffected
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before fefb88a4da961a0b9c2473cbdcfce1a942fcfa9aAffected
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before 979a0db76ceda8fe1f2f85a116bfe97620ebbadfAffected
  • 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 to before 6007d10c5262f6f71479627c1216899ea7f09073Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.4.290 through 5.4.*Not affected
  • 5.10.234 through 5.10.*Not affected
  • 5.15.177 through 5.15.*Not affected
  • 6.1.125 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.