CVE-2024-57912·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.10
- Published
- 2025-01-19
Affected versions
From: 6.7
Until: 6.12.10
Fixed in: 6.12.10
How to fix this CVE
Update your Linux kernel to version 6.12.10 or later to patch an information leak in the ZPA2326 pressure sensor driver's triggered buffer handling. The vulnerability allows uninitialized kernel memory to be exposed to userspace through sensor data readings. Administrators should prioritize this update for systems using Industrial I/O (IIO) pressure sensors, particularly those running kernel versions 6.7 through 6.12.9.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running 'uname -r' and compare against the affected range (6.7 to 6.12.9)
- Step 2: Verify if the ZPA2326 pressure sensor driver is loaded by running 'lsmod | grep zpa2326' or 'modinfo zpa2326'
- Step 3: Search kernel logs for IIO trigger buffer activity related to pressure sensors using 'dmesg | grep -i "zpa2326\|iio.*pressure"'
- Step 4: After patching, confirm the new kernel version with 'uname -r' and verify it shows 6.12.10 or later
FAQ
What is CVE-2024-57912?
CVE-2024-57912 is a memory disclosure vulnerability in the Linux kernel's ZPA2326 pressure sensor driver where uninitialized memory gaps within the triggered buffer data structure are sent to userspace, potentially leaking sensitive kernel information to local users.
Is CVE-2024-57912 being actively exploited?
No, this vulnerability is not listed on CISA's KEV catalog and no public exploits are currently available, though it remains a priority fix due to its information disclosure nature.
What versions of Kernel are affected by CVE-2024-57912?
Linux kernel versions 6.7 through 6.12.9 are vulnerable. Kernel 6.12.10 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-57912?
Run 'uname -r' to get your kernel version. If it falls between 6.7.0 and 6.12.9, your system is vulnerable. Additionally, check if the ZPA2326 driver is present with 'modinfo zpa2326' or 'lsmod | grep zpa2326'.
Does Defensia detect CVE-2024-57912?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-57912 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/6007d10c5262f6f71479627c1216899ea7f09073
- https://git.kernel.org/stable/c/64a989aa7475b8e76e69b9ec86819ea293e53bab
- https://git.kernel.org/stable/c/9629ff1a86823269b12fb1ba9ca4efa945906287
- https://git.kernel.org/stable/c/979a0db76ceda8fe1f2f85a116bfe97620ebbadf
- https://git.kernel.org/stable/c/b7849f62e61242e0e02c776e1109eb81e59c567c
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57912. Free for 1 server.
Get started free