CVE-2024-57911·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer The 'data' array is allocated via kmalloc() and it 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. Use kzalloc for the memory allocation 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 resolve this information disclosure vulnerability in the IIO dummy buffer driver. The vulnerability allows uninitialized kernel memory to be exposed to userspace through triggered buffer operations. Apply the patch immediately using your distribution's package manager to prevent potential information leakage during sensor data collection.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — ensure version is 6.12.10 or later
- Verify IIO dummy module status: lsmod | grep iio_dummy — presence indicates potential exposure if kernel is vulnerable
- Check kernel build config for IIO support: grep CONFIG_IIO /boot/config-$(uname -r) — verify if IIO driver is enabled
- Confirm patch applied by checking kernel git log: grep -i '006073761888a632c5d6f93e47c41760fa627f77' /proc/version or compare kernel source dates against CVE disclosure date
FAQ
What is CVE-2024-57911?
CVE-2024-57911 is an information disclosure vulnerability in the Linux kernel's IIO (Industrial I/O) dummy buffer driver where uninitialized memory allocated via kmalloc() is exposed to userspace because inactive sensor channels are not zeroed before data transmission.
Is CVE-2024-57911 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for CVE-2024-57911 at this time, though the moderate-to-high CVSS score (7.1) warrants prompt patching.
What versions of Kernel are affected by CVE-2024-57911?
Linux kernel versions 6.7 through 6.12.9 are affected; version 6.12.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-57911?
Run uname -r and compare your kernel version against 6.12.10 — if your version is between 6.7 and 6.12.9, you are vulnerable.
Does Defensia detect CVE-2024-57911?
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-57911 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/006073761888a632c5d6f93e47c41760fa627f77
- https://git.kernel.org/stable/c/03fa47621bf8fcbf5994c5716021527853f9af3d
- https://git.kernel.org/stable/c/333be433ee908a53f283beb95585dfc14c8ffb46
- https://git.kernel.org/stable/c/74058395b2c63c8a438cf199d09094b640f8c7f4
- https://git.kernel.org/stable/c/b0642d9c871aea1f28eb02cd84d60434df594f67
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57911. Free for 1 server.
Get started free