CVE-2026-46173·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: exit: prevent preemption of oopsing TASK_DEAD task When an already-exiting task oopses, make_task_dead() currently calls do_task_dead() with preemption enabled. That is forbidden: do_task_dead() calls __schedule(), which has a comment saying "WARNING: must be called with preemption disabled!". If an oopsing task is preempted in do_task_dead(), between becoming TASK_DEAD and entering the scheduler explicitly, bad things happen: finish_task_switch() assumes that once the scheduler has switched away from a TASK_DEAD task, the task can never run again and its stack is no longer needed; but that assumption apparently doesn't hold if the dead task was preempted (the SM_PREEMPT case). This means that the scheduler ends up repeatedly dropping references on the dead task's stack, which can lead to use-after-free or double-free of the entire task stack; in other words, two tasks can end up running on the same stack, resulting in various kinds of memory corruption. (This does not just affect "recursively oopsing" tasks; it is enough to oops once during task exit, for example in a file_operations::release handler)
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-46173 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to resolve a critical task scheduling vulnerability that can cause memory corruption. The vulnerability allows a preempted exiting task to corrupt kernel memory by running multiple tasks on the same stack. Apply this patch immediately on all systems running kernel versions 6.19 through 7.0.6, particularly those handling long-running processes or file operations that may trigger exit handlers.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version by running: uname -r
- Step 2: Verify if your version falls in the vulnerable range (6.19 to 7.0.6) by comparing the output to the fixed version 7.0.7
- Step 3: Search kernel logs for oops messages and task scheduling anomalies using: sudo grep -i 'oops\|task_dead\|use-after-free' /var/log/kern.log | head -20
- Step 4: After updating, confirm the new kernel is loaded by running: uname -r and verifying it shows 7.0.7 or later
FAQ
What is CVE-2026-46173?
This vulnerability affects the Linux kernel's task exit handler, allowing a preempted dying task to cause memory corruption by enabling multiple tasks to execute on the same stack, leading to heap corruption and potential privilege escalation.
Is CVE-2026-46173 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available, though the memory corruption capability makes it a high-priority patch.
What versions of Kernel are affected by CVE-2026-46173?
Linux kernel versions 6.19 through 7.0.6 are vulnerable. The fix was implemented in version 7.0.7 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-46173?
Run `uname -r` and check if the kernel version is between 6.19 and 7.0.6. If yes, your system is vulnerable and requires an immediate kernel update.
Does Defensia detect CVE-2026-46173?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2026-46173 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3d6fb8a7690c23e3213c4b008f64d89a44b98737
- https://git.kernel.org/stable/c/640b4c00fb0e2920327435f6176cbefc3c546165
- https://git.kernel.org/stable/c/6f49f94f3b11fe8bff1bf2a054143789e76aaf17
- https://git.kernel.org/stable/c/7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34
- https://git.kernel.org/stable/c/9756b3db5db6c2f5eccb32dddbd88eb4c54f575e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46173. Free for 1 server.
Get started free