CVE-2024-35845·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: dbg-tlv: ensure NUL termination The iwl_fw_ini_debug_info_tlv is used as a string, so we must ensure the string is terminated correctly before using it.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 6.8.2
- Published
- 2024-05-17
Affected versions
From: 6.8
Until: 6.8.2
Fixed in: 6.8.2
How to fix this CVE
Update your Linux kernel to version 6.8.2 or later to patch a critical memory handling issue in the iwlwifi driver's debug component. This vulnerability affects string buffer termination in the Intel Wi-Fi firmware initialization code, potentially leading to information disclosure or system crashes. Apply the kernel update immediately and reboot your system to complete remediation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r | grep -E '^6\.8\.[0-2]' && echo 'VULNERABLE' || echo 'NOT VULNERABLE'
- Verify iwlwifi driver is loaded: lsmod | grep iwlwifi && echo 'Driver loaded - assess further' || echo 'Driver not active'
- Check for debug TLV initialization in kernel logs: journalctl -k | grep -i 'iwl.*debug\|tlv' to identify if the debug component was initialized
- Confirm patch application after update: uname -r and verify version is 6.8.2 or newer, then reboot and re-verify
FAQ
What is CVE-2024-35845?
This vulnerability exists in the Linux kernel's iwlwifi (Intel Wireless) driver where the debug information structure fails to ensure proper null-termination when used as a string, potentially causing buffer over-read conditions or information leakage.
Is CVE-2024-35845 being actively exploited?
No, there are currently no reports of active exploitation or public proof-of-concept exploits available for this vulnerability according to CISA.
What versions of Kernel are affected by CVE-2024-35845?
Linux kernel versions 6.8 through 6.8.2 are affected; the fix is included in kernel 6.8.2 and later.
How do I check if my server is vulnerable to CVE-2024-35845?
Run `uname -r` and check if the output shows version 6.8.0, 6.8.1, or 6.8.2 with the iwlwifi driver loaded (`lsmod | grep iwlwifi`); if both conditions match, your system is vulnerable.
Does Defensia detect CVE-2024-35845?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-35845 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/71d4186d470e9cda7cd1a0921b4afda737c6f641
- https://git.kernel.org/stable/c/783d413f332a3ebec916664b366c28f58147f82c
- https://git.kernel.org/stable/c/96aa40761673da045a7774f874487cdb50c6a2f7
- https://git.kernel.org/stable/c/c855a1a5b7e3de57e6b1b29563113d5e3bfdb89a
- https://git.kernel.org/stable/c/ea1d166fae14e05d49ffb0ea9fcd4658f8d3dcea
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-35845. Free for 1 server.
Get started free