# CVE-2026-89749: tracing: Fix crash passing ERR\_PTR to kthread\_stop()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:46:53.822Z
- **Modified:** 2026-10-19T09:18:17.873Z

## Who should check

- Anyone running Linux \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< c1a4fb7aa290f158d50654d640292e49d9055fd1; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 42ccb215ef0a552acbbd32f81009bfe4b278ba77; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 98d06fb9865a490e12ebe32d65b9ffac6108614d; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< ceb1707aef5824cf024eb82d10787b7621e2ff35; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 12a499f741fc5be3731c8b0a0d909406575cc2eb; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< adadf4192f700bca82abfda9fa6d58c0bf37cc04; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< c40e0b4fa365969e67011529eabdfb66d1022256; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 649bc7df3e5d7be6f7996a95084037dbf3cad1e5
- Anyone running Linux 2.6.31

## Description

In the Linux kernel, the following vulnerability has been resolved:

tracing: Fix crash passing ERR\_PTR to kthread\_stop()

event\_test\_stuff() calls kthread\_run() and unconditionally passes the
returned task\_struct pointer to kthread\_stop(). kthread\_run() returns an
error pointer such as ERR\_PTR(-ENOMEM) when kthread creation fails, for
example under memory pressure during the boot-time event self-test.
kthread\_stop() then dereferences the invalid pointer, crashing the kernel.

Check the result of kthread\_run() before passing it to kthread\_stop(). Use
WARN\_ON() so that a failure to create the self-test thread does not go
unnoticed, matching the ring-buffer self-test fix in commit
91542863abad ("ring-buffer: Fix crash passing ERR\_PTR to kthread\_stop()").

## Affected and fixed versions

- Linux: \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< c1a4fb7aa290f158d50654d640292e49d9055fd1; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 42ccb215ef0a552acbbd32f81009bfe4b278ba77; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 98d06fb9865a490e12ebe32d65b9ffac6108614d; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< ceb1707aef5824cf024eb82d10787b7621e2ff35; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 12a499f741fc5be3731c8b0a0d909406575cc2eb; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< adadf4192f700bca82abfda9fa6d58c0bf37cc04; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< c40e0b4fa365969e67011529eabdfb66d1022256; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 649bc7df3e5d7be6f7996a95084037dbf3cad1e5 (cvelist)
- Linux: 2.6.31 (cvelist)

## Mitigation

- Upgrade Linux to 649bc7df3e5d7be6f7996a95084037dbf3cad1e5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89749.md
Affected: Linux >= e6187007d6c365b551c69ea3df46f06fd1c8bd19, < c1a4fb7aa290f158d50654d640292e49d9055fd1; >= e6187007d6c365b551c69ea3df46f06fd1c8bd19, < 42ccb215ef0a552acbbd32f81009bfe4b278ba77; >= e6187007d6c365b551c69ea3df46f06fd1c8bd19, < 98d06fb9865a490e12ebe32d65b9ffac6108614d; >= e6187007d6c365b551c69ea…
Fixed in: Linux 42ccb215ef0a552acbbd32f81009bfe4b278ba77, Linux 98d06fb9865a490e12ebe32d65b9ffac6108614d, Linux 12a499f741fc5be3731c8b0a0d909406575cc2eb, Linux 649bc7df3e5d7be6f7996a95084037dbf3cad1e5

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-89749 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< c1a4fb7aa290f158d50654d640292e49d9055fd1; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 42ccb215ef0a552acbbd32f81009bfe4b278ba77; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 98d06fb9865a490e12ebe32d65b9ffac6108614d; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< ceb1707aef5824cf024eb82d10787b7621e2ff35; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 12a499f741fc5be3731c8b0a0d909406575cc2eb; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< adadf4192f700bca82abfda9fa6d58c0bf37cc04; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< c40e0b4fa365969e67011529eabdfb66d1022256; \>= e6187007d6c365b551c69ea3df46f06fd1c8bd19, \< 649bc7df3e5d7be6f7996a95084037dbf3cad1e5; Linux 2.6.31.

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

Yes. Fixed in Linux 42ccb215ef0a552acbbd32f81009bfe4b278ba77, Linux 98d06fb9865a490e12ebe32d65b9ffac6108614d, Linux 12a499f741fc5be3731c8b0a0d909406575cc2eb, Linux 649bc7df3e5d7be6f7996a95084037dbf3cad1e5. Upgrade Linux to 649bc7df3e5d7be6f7996a95084037dbf3cad1e5 or later.

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

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

- other: <https://git.kernel.org/stable/c/c1a4fb7aa290f158d50654d640292e49d9055fd1>
- other: <https://git.kernel.org/stable/c/42ccb215ef0a552acbbd32f81009bfe4b278ba77>
- other: <https://git.kernel.org/stable/c/98d06fb9865a490e12ebe32d65b9ffac6108614d>
- other: <https://git.kernel.org/stable/c/ceb1707aef5824cf024eb82d10787b7621e2ff35>
- other: <https://git.kernel.org/stable/c/12a499f741fc5be3731c8b0a0d909406575cc2eb>
- other: <https://git.kernel.org/stable/c/adadf4192f700bca82abfda9fa6d58c0bf37cc04>
- other: <https://git.kernel.org/stable/c/c40e0b4fa365969e67011529eabdfb66d1022256>
- other: <https://git.kernel.org/stable/c/649bc7df3e5d7be6f7996a95084037dbf3cad1e5>

## 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-89749>

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