CVE-2024-26928·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_debug_files_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.5
- Published
- 2024-04-28
Affected versions
From: 6.7
Until: 6.8.5
Fixed in: 6.8.5
How to fix this CVE
Update your Linux kernel to version 6.8.5 or later to patch a use-after-free vulnerability in the CIFS debug file handler. This issue could allow local attackers with limited privileges to trigger memory corruption by accessing debug interfaces during SMB session teardown. Kernel updates should be applied promptly and followed by a system reboot to activate the patched version.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and compare against 6.8.5; versions 6.7.x through 6.8.4 are vulnerable
- Step 2: Verify CIFS/SMB client functionality is active by checking 'grep -i cifs /proc/filesystems' and 'mount | grep cifs' for active CIFS mounts
- Step 3: Search kernel logs for UAF indicators: 'dmesg | grep -i "use-after-free\|cifs_debug\|UAF"' and check '/var/log/kern.log' for memory corruption messages during SMB session activity
- Step 4: After patching, confirm with 'uname -r' that kernel version is 6.8.5 or later, then retest CIFS mount operations to ensure stability
FAQ
What is CVE-2024-26928?
This vulnerability is a use-after-free (UAF) flaw in the Linux kernel's CIFS debug handler that occurs when reading session information while SMB sessions are being torn down. An attacker with local user privileges can trigger memory corruption by accessing debug files during session cleanup.
Is CVE-2024-26928 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities catalog, CVE-2024-26928 is not currently being exploited in the wild, and no public exploits are available.
What versions of Kernel are affected by CVE-2024-26928?
Linux kernel versions 6.7 through 6.8.4 are vulnerable. Version 6.8.5 and later include the necessary patches.
How do I check if my server is vulnerable to CVE-2024-26928?
Run 'uname -r' to display your kernel version; if it shows 6.7.x, 6.8.0, 6.8.1, 6.8.2, 6.8.3, or 6.8.4, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2024-26928?
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-26928 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/229042314602db62559ecacba127067c22ee7b88
- https://git.kernel.org/stable/c/3402faf78b2516b0af1259baff50cc8453ef0bd1
- https://git.kernel.org/stable/c/8f8718afd446cd4ea3b62bacc3eec09f8aae85ee
- https://git.kernel.org/stable/c/a140224bcf87eb98a87b67ff4c6826c57e47b704
- https://git.kernel.org/stable/c/a65f2b56334ba4dc30bd5ee9ce5b2691b973344d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26928. Free for 1 server.
Get started free