# CVE-2026-46173: exit: prevent preemption of oopsing TASK\_DEAD task

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-787, CWE-416
- **Published:** 2026-05-28T09:36:27.892Z
- **Modified:** 2026-11-10T13:19:16.493Z

## Who should check

- Anyone running Linux \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 3d6fb8a7690c23e3213c4b008f64d89a44b98737; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 640b4c00fb0e2920327435f6176cbefc3c546165; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 6f49f94f3b11fe8bff1bf2a054143789e76aaf17; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 9756b3db5db6c2f5eccb32dddbd88eb4c54f575e; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< c1fa0bb633e4a6b11e83ffc57fa5abe8ebb87891
- Anyone running Linux 5.17

## Description

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)

## Affected and fixed versions

- Linux: \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 3d6fb8a7690c23e3213c4b008f64d89a44b98737; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 640b4c00fb0e2920327435f6176cbefc3c546165; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 6f49f94f3b11fe8bff1bf2a054143789e76aaf17; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 9756b3db5db6c2f5eccb32dddbd88eb4c54f575e; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< c1fa0bb633e4a6b11e83ffc57fa5abe8ebb87891 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46173. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46173.md
Affected: Linux >= 7f80a2fd7db9a55894fd841915236aca611291b5, < 3d6fb8a7690c23e3213c4b008f64d89a44b98737; >= 7f80a2fd7db9a55894fd841915236aca611291b5, < 640b4c00fb0e2920327435f6176cbefc3c546165; >= 7f80a2fd7db9a55894fd841915236aca611291b5, < 7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34; >= 7f80a2fd7db9a55894fd841…
Fixed in: Linux 3d6fb8a7690c23e3213c4b008f64d89a44b98737, Linux 640b4c00fb0e2920327435f6176cbefc3c546165, Linux 7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34, Linux 6f49f94f3b11fe8bff1bf2a054143789e76aaf17, Linux 9756b3db5db6c2f5eccb32dddbd88eb4c54f575e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46173 being exploited?

There is no confirmed exploitation: CVE-2026-46173 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-46173?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46173?

Linux \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 3d6fb8a7690c23e3213c4b008f64d89a44b98737; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 640b4c00fb0e2920327435f6176cbefc3c546165; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 6f49f94f3b11fe8bff1bf2a054143789e76aaf17; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< 9756b3db5db6c2f5eccb32dddbd88eb4c54f575e; \>= 7f80a2fd7db9a55894fd841915236aca611291b5, \< c1fa0bb633e4a6b11e83ffc57fa5abe8ebb87891; Linux 5.17.

### Is there a fix for CVE-2026-46173?

Yes. Fixed in Linux 3d6fb8a7690c23e3213c4b008f64d89a44b98737, Linux 640b4c00fb0e2920327435f6176cbefc3c546165, Linux 7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34, Linux 6f49f94f3b11fe8bff1bf2a054143789e76aaf17, Linux 9756b3db5db6c2f5eccb32dddbd88eb4c54f575e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-46173?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3d6fb8a7690c23e3213c4b008f64d89a44b98737>
- patch: <https://git.kernel.org/stable/c/640b4c00fb0e2920327435f6176cbefc3c546165>
- patch: <https://git.kernel.org/stable/c/7b2800ba5f5f77a8ee7f4cbadb19cf1264597a34>
- patch: <https://git.kernel.org/stable/c/6f49f94f3b11fe8bff1bf2a054143789e76aaf17>
- patch: <https://git.kernel.org/stable/c/9756b3db5db6c2f5eccb32dddbd88eb4c54f575e>
- patch: <https://git.kernel.org/stable/c/c1fa0bb633e4a6b11e83ffc57fa5abe8ebb87891>
- other: <https://project-zero.issues.chromium.org/issues/510793286>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46173>

HTML: <https://flawdb.com/CVE-2026-46173> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46173>
