CVE-2024-57912 iio: pressure: zpa2326: fix information leak in triggered buffer
A local attacker can read uninitialized kernel memory via the zpa2326 pressure sensor driver due to a struct padding leak.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-57912?
CVE-2024-57912 is a high-severity vulnerability in Linux kernel, published on 19 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-908
Which versions are affected by CVE-2024-57912?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57912?
Apply the vendor's patch.
Is CVE-2024-57912 being exploited?
There is no known exploitation of CVE-2024-57912 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57912, DEBIAN-CVE-2024-57912, GHSA-37pg-r5mj-5q6w, UBUNTU-CVE-2024-57912.