CVE-2024-57910·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: iio: light: vcnl4035: fix information leak in triggered buffer The 'buffer' local array is used to push data to userspace from a triggered buffer, but it does not set an initial value for the single data element, which is an u16 aligned to 8 bytes. That leaves at least 4 bytes uninitialized even after writing an integer value with regmap_read(). Initialize the array 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 this information disclosure vulnerability affecting the VCNL4035 light sensor driver. Systems running kernel versions 6.7 through 6.12.9 may leak uninitialized memory through triggered buffer operations. Apply the kernel update through your distribution's package manager and reboot to complete remediation.
sudo dnf check-update kernel && sudo dnf upgrade kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with 'uname -r' and compare against affected range 6.7 to 6.12.9
- Step 2: Verify if VCNL4035 light sensor driver is loaded with 'lsmod | grep vcnl4035' or check dmesg for vcnl4035 initialization
- Step 3: Review kernel logs with 'dmesg' or 'journalctl -k' for any IIO triggered buffer operations or sensor read errors from the past 7 days
- Step 4: After patching, confirm kernel version is 6.12.10+ with 'uname -r' and verify driver reloads without errors in dmesg
FAQ
What is CVE-2024-57910?
This vulnerability exists in the Linux kernel's VCNL4035 ambient light sensor driver. The triggered buffer mechanism fails to initialize memory before reading sensor data, causing uninitialized kernel memory (typically 4+ bytes) to be exposed to userspace applications.
Is CVE-2024-57910 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-57910?
Linux kernel versions 6.7 through 6.12.9 are vulnerable. The fix is included in kernel 6.12.10 and later.
How do I check if my server is vulnerable to CVE-2024-57910?
Run 'uname -r' to get your kernel version. If it shows 6.7.x through 6.12.9, you are vulnerable. Additionally, check 'lsmod | grep vcnl4035' to confirm the affected driver is present on your system.
Does Defensia detect CVE-2024-57910?
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-57910 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/13e56229fc81051a42731046e200493c4a7c28ff
- https://git.kernel.org/stable/c/47b43e53c0a0edf5578d5d12f5fc71c019649279
- https://git.kernel.org/stable/c/47d245be86492974db3aeb048609542167f56518
- https://git.kernel.org/stable/c/a15ea87d4337479c9446b5d71616f4668337afed
- https://git.kernel.org/stable/c/b0e9c11c762e4286732d80e66c08c2cb3157b06b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57910. Free for 1 server.
Get started free