Bug 2482634 (CVE-2026-46173) - CVE-2026-46173 kernel: exit: prevent preemption of oopsing TASK_DEAD task
Summary: CVE-2026-46173 kernel: exit: prevent preemption of oopsing TASK_DEAD task
Keywords:
Status: NEW
Alias: CVE-2026-46173
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-28 11:06 UTC by OSIDB Bzimport
Modified: 2026-07-14 16:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:27288 0 None None None 2026-06-19 23:22:04 UTC
Red Hat Product Errata RHSA-2026:27713 0 None None None 2026-06-22 05:01:29 UTC
Red Hat Product Errata RHSA-2026:27789 0 None None None 2026-06-22 08:29:07 UTC
Red Hat Product Errata RHSA-2026:33900 0 None None None 2026-07-01 00:13:42 UTC
Red Hat Product Errata RHSA-2026:34094 0 None None None 2026-07-01 08:59:15 UTC
Red Hat Product Errata RHSA-2026:34095 0 None None None 2026-07-01 08:41:03 UTC
Red Hat Product Errata RHSA-2026:39371 0 None None None 2026-07-14 16:41:20 UTC

Description OSIDB Bzimport 2026-05-28 11:06:53 UTC
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)

Comment 6 errata-xmlrpc 2026-06-19 23:22:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:27288 https://access.redhat.com/errata/RHSA-2026:27288

Comment 7 errata-xmlrpc 2026-06-22 05:01:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:27713 https://access.redhat.com/errata/RHSA-2026:27713

Comment 8 errata-xmlrpc 2026-06-22 08:29:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:27789 https://access.redhat.com/errata/RHSA-2026:27789

Comment 9 errata-xmlrpc 2026-07-01 00:13:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:33900 https://access.redhat.com/errata/RHSA-2026:33900

Comment 10 errata-xmlrpc 2026-07-01 08:41:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:34095 https://access.redhat.com/errata/RHSA-2026:34095

Comment 11 errata-xmlrpc 2026-07-01 08:59:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:34094 https://access.redhat.com/errata/RHSA-2026:34094

Comment 12 errata-xmlrpc 2026-07-14 16:41:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:39371 https://access.redhat.com/errata/RHSA-2026:39371


Note You need to log in before you can comment on or make changes to this bug.