CVE-2024-50127·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: sched: fix use-after-free in taprio_change() In 'taprio_change()', 'admin' pointer may become dangling due to sched switch / removal caused by 'advance_sched()', and critical section protected by 'q->current_entry_lock' is too small to prevent from such a scenario (which causes use-after-free detected by KASAN). Fix this by prefer 'rcu_replace_pointer()' over 'rcu_assign_pointer()' to update 'admin' immediately before an attempt to schedule freeing.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.6
- Published
- 2024-11-05
Affected versions
From: 6.7
Until: 6.11.6
Fixed in: 6.11.6
How to fix this CVE
Update your Linux kernel to version 6.11.6 or later to resolve a use-after-free vulnerability in the taprio network scheduler. This vulnerability allows local users with normal privileges to cause a kernel crash or potential privilege escalation through improper memory management during scheduler transitions. Apply the patch immediately, especially on systems running kernel versions 6.7 through 6.11.5.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — verify it is 6.11.6 or later; versions 6.7 through 6.11.5 are vulnerable
- Verify taprio qdisc is loaded: grep -i taprio /proc/modules — if present, the vulnerable component is active on this system
- Search kernel logs for taprio-related crashes: dmesg | grep -i 'taprio\|use-after-free\|KASAN' — look for memory safety violations in the scheduler code
- After patching, reboot and confirm new kernel: uname -r — ensure the version is now 6.11.6 or higher
FAQ
What is CVE-2024-50127?
CVE-2024-50127 is a use-after-free vulnerability in the Linux kernel's taprio network traffic scheduler that occurs when the scheduler transitions between configurations, potentially leaving freed memory references accessible to unprivileged processes.
Is CVE-2024-50127 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-50127?
Kernel versions 6.7 through 6.11.5 are vulnerable. Version 6.11.6 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-50127?
Run `uname -r` and compare the output against the vulnerable range 6.7–6.11.5; if your version falls within this range, your system is vulnerable. Additionally, check if taprio is active with `grep taprio /proc/modules`.
Does Defensia detect CVE-2024-50127?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-50127 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0d4c0d2844e4eac3aed647f948fd7e60eea56a61
- https://git.kernel.org/stable/c/2240f9376f20f8b6463232b4ca7292569217237f
- https://git.kernel.org/stable/c/2f868ce6013548a713c431c679ef73747a66fcf3
- https://git.kernel.org/stable/c/8a283a19026aaae8a773fd8061263cfa315b127f
- https://git.kernel.org/stable/c/999612996df28d81f163dad530d7f8026e03aec6
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50127. Free for 1 server.
Get started free