CVE-2024-47675·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach() If bpf_link_prime() fails, bpf_uprobe_multi_link_attach() goes to the error_free label and frees the array of bpf_uprobe's without calling bpf_uprobe_unregister(). This leaks bpf_uprobe->uprobe and worse, this frees bpf_uprobe->consumer without removing it from the uprobe->consumers list.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.2
- Published
- 2024-10-21
Affected versions
From: 6.11
Until: 6.11.2
Fixed in: 6.11.2
How to fix this CVE
Update your Linux kernel to version 6.11.2 or later to resolve a use-after-free vulnerability in the eBPF uprobe multi-link attachment mechanism. The vulnerability occurs when bpf_link_prime() fails during uprobe registration, causing improper memory cleanup and potential kernel instability. Prioritize this update for systems running kernel versions 6.11 through 6.11.1.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check the installed kernel version: uname -r — verify it is NOT 6.11.0, 6.11.1, or 6.11-rc versions
- Verify eBPF uprobe functionality is in use: grep -r 'bpf_uprobe_multi_link_attach' /sys/kernel/debug/tracing/ 2>/dev/null || echo 'Not currently active'
- Search kernel logs for uprobe-related errors: dmesg | grep -i 'uprobe\|bpf.*error' to identify past failures
- Confirm kernel patch version: cat /proc/version | grep -E '6\.11\.[2-9]|6\.1[2-9]' to verify fix is applied
FAQ
What is CVE-2024-47675?
CVE-2024-47675 is a use-after-free vulnerability in the Linux kernel's eBPF subsystem where improper error handling during uprobe multi-link attachment fails to clean up allocated memory resources. This can lead to kernel memory corruption and potential privilege escalation from unprivileged users.
Is CVE-2024-47675 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits have been reported. However, the high CVSS score (7.8) warrants prompt patching.
What versions of Kernel are affected by CVE-2024-47675?
Linux kernel versions 6.11, 6.11.1, and 6.11.2-rc are affected. The vulnerability is resolved in kernel 6.11.2 stable and later releases.
How do I check if my server is vulnerable to CVE-2024-47675?
Run 'uname -r' and check if the output shows 6.11.0 or 6.11.1. If it does, your system is vulnerable. Systems running 6.11.2 or newer are patched.
Does Defensia detect CVE-2024-47675?
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-47675 will appear in your dashboard with remediation steps and affected version details.
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-47675. Free for 1 server.
Get started free