CVE-2024-50055·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: driver core: bus: Fix double free in driver API bus_register() For bus_register(), any error which happens after kset_register() will cause that @priv are freed twice, fixed by setting @priv with NULL after the first free.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.4
- Published
- 2024-10-21
Affected versions
From: 6.7
Until: 6.11.4
Fixed in: 6.11.4
How to fix this CVE
Update your Linux kernel to version 6.11.4 or later to resolve a critical double-free vulnerability in the driver core bus registration function. This memory corruption flaw can lead to privilege escalation and system instability. Apply kernel updates immediately across all affected systems running versions 6.7 through 6.11.3.
sudo dnf check-update kernel && sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to display the currently running kernel version and compare against version 6.11.4
- Check if bus_register() calls are present in loaded kernel modules by reviewing '/proc/modules' for driver core activity
- Search system logs with 'sudo grep -i 'double free\|memory corruption\|bus_register' /var/log/kern.log /var/log/syslog' for exploitation indicators
- After patching, verify the new kernel is active by running 'uname -r' and confirming it reports version 6.11.4 or later
FAQ
What is CVE-2024-50055?
This vulnerability is a double-free memory corruption flaw in the Linux kernel's driver core bus registration mechanism that occurs when error handling fails to properly nullify freed memory pointers, potentially allowing privilege escalation.
Is CVE-2024-50055 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and no public exploits are currently available, though the high severity CVSS score warrants timely patching.
What versions of Kernel are affected by CVE-2024-50055?
Linux kernel versions 6.7 through 6.11.3 are vulnerable; kernel 6.11.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-50055?
Run 'uname -r' to check your kernel version; if it reports a version between 6.7 and 6.11.3 inclusive, your system is affected and requires immediate patching.
Does Defensia detect CVE-2024-50055?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-50055 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/9ce15f68abedfae7ae0a35e95895aeddfd0f0c6a
- https://git.kernel.org/stable/c/bfa54a793ba77ef696755b66f3ac4ed00c7d1248
- https://git.kernel.org/stable/c/d885c464c25018b81a6b58f5d548fc2e3ef87dd1
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50055. Free for 1 server.
Get started free