CVE-2026-46173CWE-416CWE-787

CVE-2026-46173

High · published May 28, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.1
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00179 · 7.1th percentile
Weaknesses
CWE-416 · Use After Free; CWE-787 · Out-of-bounds Write
Published
2026-05-28T14:16Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 5.17, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1406.6.140
linux/linux_kernel≥ 6.7, < 6.12.886.12.88
linux/linux_kernel≥ 6.13, < 6.18.306.18.30
linux/linux_kernel≥ 6.19, < 7.0.77.0.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (10)
EPSS history
Timeline
  • 28 MAY 09:36Z
    exit: prevent preemption of oopsing TASK_DEAD task
    cvelistv5