CVE-2024-57909·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: iio: light: bh1745: fix information leak in triggered buffer The 'scan' local struct 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. 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.12
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 a memory disclosure vulnerability in the BH1745 light sensor driver. This flaw allows uninitialized kernel memory to be leaked to unprivileged users through the triggered buffer interface. Kernel updates should be applied immediately followed by a system reboot to take effect.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if BH1745 sensor is active: grep -r 'bh1745' /sys/bus/iio/devices/ 2>/dev/null || echo 'Device not detected'
- Search system logs for IIO triggered buffer access: sudo journalctl -u systemd-modules-load -a | grep -i 'bh1745\|iio' || dmesg | grep -i 'bh1745'
- Confirm patch application by checking kernel release: uname -r | grep -E '6\.12\.(1[0-9]|[0-9]{2,})|6\.(1[3-9]|[2-9][0-9])' && echo 'Patched' || echo 'Vulnerable'
FAQ
What is CVE-2024-57909?
CVE-2024-57909 is a kernel memory leak in the BH1745 ambient light sensor driver that exposes uninitialized stack memory to unprivileged users when reading sensor data through the industrial I/O triggered buffer interface. This occurs because the driver fails to zero-initialize a data structure before passing it to userspace.
Is CVE-2024-57909 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities (KEV) catalog, CVE-2024-57909 is not currently being actively exploited in the wild, and no public exploits are available.
What versions of Kernel are affected by CVE-2024-57909?
Linux kernel versions 6.12 through 6.12.9 are vulnerable. The vulnerability is fixed in kernel version 6.12.10 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2024-57909?
Run 'uname -r' to check your kernel version. If it reports 6.12.0 through 6.12.9, your system is vulnerable. Additionally, check if the BH1745 sensor is present with 'grep bh1745 /sys/bus/iio/devices/iio:device*/name 2>/dev/null'.
Does Defensia detect CVE-2024-57909?
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-57909 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57909. Free for 1 server.
Get started free