CVE-2024-46713·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: perf/aux: Fix AUX buffer serialization Ole reported that event->mmap_mutex is strictly insufficient to serialize the AUX buffer, add a per RB mutex to fully serialize it. Note that in the lock order comment the perf_event::mmap_mutex order was already wrong, that is, it nesting under mmap_lock is not new with this patch.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.10
- Published
- 2024-09-13
Affected versions
From: 6.7
Until: 6.10.10
Fixed in: 6.10.10
How to fix this CVE
Update your Linux kernel to version 6.10.10 or later to resolve a race condition in the performance monitoring (perf) AUX buffer handling that could allow local privilege escalation. This vulnerability affects kernel versions 6.7 through 6.10.9 and requires a kernel update 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
- Run 'uname -r' to check your current kernel version and verify it is below 6.10.10
- Check if performance monitoring (perf) subsystem is enabled by running 'cat /boot/config-$(uname -r) | grep CONFIG_PERF_EVENTS' and verify the output is 'CONFIG_PERF_EVENTS=y'
- Monitor kernel logs for perf-related errors or race conditions using 'sudo dmesg | grep -i perf' or 'sudo journalctl -k | grep -i perf'
- After patching, verify the new kernel version with 'uname -r' and confirm it matches 6.10.10 or newer
FAQ
What is CVE-2024-46713?
This CVE addresses a synchronization flaw in the Linux kernel's performance monitoring (perf) auxiliary buffer mechanism where insufficient locking could allow a local attacker with user-level privileges to cause a race condition resulting in memory corruption and privilege escalation.
Is CVE-2024-46713 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the high CVSS score (7.8) indicates significant risk potential.
What versions of Kernel are affected by CVE-2024-46713?
Linux kernel versions 6.7 through 6.10.9 are vulnerable; kernel 6.10.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-46713?
Run 'uname -r' to display your kernel version; if it reports a version between 6.7 and 6.10.9, your system is vulnerable.
Does Defensia detect CVE-2024-46713?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-46713 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2ab9d830262c132ab5db2f571003d80850d56b2a
- https://git.kernel.org/stable/c/52d13d224fdf1299c8b642807fa1ea14d693f5ff
- https://git.kernel.org/stable/c/7882923f1cb88dc1a17f2bf0c81b1fc80d44db82
- https://git.kernel.org/stable/c/9dc7ad2b67772cfb94ceb3b0c9c4023c2463215d
- https://git.kernel.org/stable/c/b9b6882e243b653d379abbeaa64a500182aba370
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-46713. Free for 1 server.
Get started free