Bug 2338840 (CVE-2024-57912) - CVE-2024-57912 kernel: iio: pressure: zpa2326: fix information leak in triggered buffer
Summary: CVE-2024-57912 kernel: iio: pressure: zpa2326: fix information leak in trigge...
Keywords:
Status: NEW
Alias: CVE-2024-57912
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-19 12:01 UTC by OSIDB Bzimport
Modified: 2025-02-24 15:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-19 12:01:33 UTC
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.

Comment 1 Avinash Hanwate 2025-01-20 05:54:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011939-CVE-2024-57912-6049@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.