CVE-2024-36974·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP If one TCA_TAPRIO_ATTR_PRIOMAP attribute has been provided, taprio_parse_mqprio_opt() must validate it, or userspace can inject arbitrary data to the kernel, the second time taprio_change() is called. First call (with valid attributes) sets dev->num_tc to a non zero value. Second call (with arbitrary mqprio attributes) returns early from taprio_parse_mqprio_opt() and bad things can happen.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.6
- Published
- 2024-06-18
Affected versions
From: 6.7
Until: 6.9.6
Fixed in: 6.9.6
How to fix this CVE
Update your Linux kernel to version 6.9.6 or later to fix a critical validation bypass in the taprio network scheduler. This vulnerability allows unprivileged local users to inject malformed traffic control attributes on subsequent function calls, potentially leading to kernel memory corruption. Ensure all systems running affected kernel versions 6.7 through 6.9.5 are patched immediately.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check the installed kernel version with: uname -r
- Step 2: Verify if taprio qdisc is loaded by running: grep -i taprio /proc/modules or modinfo taprio
- Step 3: Review kernel logs for taprio-related errors with: journalctl -b | grep -i taprio or dmesg | grep taprio
- Step 4: Confirm the fix is applied by verifying the kernel version is 6.9.6 or later with: uname -r and compare against the affected range 6.7 to 6.9.5
FAQ
What is CVE-2024-36974?
This is a validation bypass vulnerability in the Linux kernel's taprio traffic control scheduler that allows local users with standard privileges to supply crafted network scheduling attributes without proper sanitization on repeated configuration changes, potentially corrupting kernel memory structures.
Is CVE-2024-36974 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and has no public exploit code available, though the ease of triggering it locally makes timely patching important.
What versions of Kernel are affected by CVE-2024-36974?
Linux kernel versions 6.7 through 6.9.5 are vulnerable. The fix is included in kernel 6.9.6 and later stable releases.
How do I check if my server is vulnerable to CVE-2024-36974?
Run uname -r to get your kernel version. If the output shows a version between 6.7.0 and 6.9.5 (inclusive), your system is vulnerable and requires an immediate kernel update.
Does Defensia detect CVE-2024-36974?
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-36974 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c
- https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b
- https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404
- https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2
- https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36974. Free for 1 server.
Get started free