CVE-2024-50193·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: x86/entry_32: Clear CPU buffers after register restore in NMI return CPU buffers are currently cleared after call to exc_nmi, but before register state is restored. This may be okay for MDS mitigation but not for RDFS. Because RDFS mitigation requires CPU buffers to be cleared when registers don't have any sensitive data. Move CLEAR_CPU_BUFFERS after RESTORE_ALL_NMI.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.5
- Published
- 2024-11-08
Affected versions
From: 6.8
Until: 6.11.5
Fixed in: 6.11.5
How to fix this CVE
Update your Linux kernel to version 6.11.5 or later to address this CPU buffer clearing vulnerability that affects x86-32 NMI handling. This patch repositions buffer mitigation logic to occur after register state restoration, ensuring proper defense against RDFS (Register Data Sampling) attacks. Systems running kernel versions 6.8 through 6.11.4 should prioritize this update, followed by a reboot to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^(6\.(8|9|10|11\.[0-4]))'
- Verify x86-32 architecture exposure: uname -m | grep -i 'i386\|i686'
- Review NMI-related CPU buffer operations in dmesg: dmesg | grep -i 'nmi\|cpu.*buffer\|rdfs'
- Confirm patch applied by checking kernel config: grep -i 'clear_cpu_buffers' /boot/config-$(uname -r) && uname -r | grep -E '6\.11\.5|6\.12|[7-9]\.'
- Validate fix with sysfs inspection: cat /proc/cmdline | grep -i 'mds\|rdfs' to see active mitigations
FAQ
What is CVE-2024-50193?
This vulnerability affects the Linux kernel's x86-32 NMI (Non-Maskable Interrupt) exception handler, where CPU buffer clearing for speculative execution mitigation occurs at the wrong time—before register state is restored. This timing flaw weakens protection against RDFS attacks, which could theoretically leak sensitive register contents through CPU microarchitectural side-channels.
Is CVE-2024-50193 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the high CVSS score (7.1) reflects its potential impact on system security posture.
What versions of Kernel are affected by CVE-2024-50193?
Linux kernel versions 6.8.0 through 6.11.4 are vulnerable. Version 6.11.5 and all later versions include the fix.
How do I check if my server is vulnerable to CVE-2024-50193?
Run 'uname -r' and check if the output matches the range 6.8.* through 6.11.4. If it does, and your system runs a 32-bit x86 architecture (check with 'uname -m'), your system is vulnerable.
Does this vulnerability require user interaction to exploit?
No—the CVSS vector shows PR:L (low privilege required) and UI:N (no user interaction), meaning a local attacker with basic permissions can trigger NMI conditions to attempt exploitation without user awareness.
Does Defensia detect CVE-2024-50193?
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-50193 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/227358e89703c344008119be7e8ffa3fdb5b92de
- https://git.kernel.org/stable/c/43778de19d2ef129636815274644b9c16e78c66b
- https://git.kernel.org/stable/c/48a2440d0f20c826b884e04377ccc1e4696c84e9
- https://git.kernel.org/stable/c/64adf22c4bc73ede920baca5defefb70f190cdbc
- https://git.kernel.org/stable/c/6f44a5fc15b5cece0785bc07453db77d99b0a6de
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50193. Free for 1 server.
Get started free