CVE-2026-89749

tracing: Fix crash passing ERR_PTR to kthread_stop()

No CVSS score yet EPSS 0.22%

Published 11 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89749

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89749 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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()").

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before c1a4fb7aa290f158d50654d640292e49d9055fd1
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before 42ccb215ef0a552acbbd32f81009bfe4b278ba77
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before 98d06fb9865a490e12ebe32d65b9ffac6108614d
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before ceb1707aef5824cf024eb82d10787b7621e2ff35
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before 12a499f741fc5be3731c8b0a0d909406575cc2eb
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before adadf4192f700bca82abfda9fa6d58c0bf37cc04
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before c40e0b4fa365969e67011529eabdfb66d1022256
affected from e6187007d6c365b551c69ea3df46f06fd1c8bd19, before 649bc7df3e5d7be6f7996a95084037dbf3cad1e5
Other versions: unaffected
Linux
affected 2.6.31
unaffected before 2.6.31
unaffected from 5.10.270 up to and including 5.10.*
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.109 up to and including 6.12.*
unaffected from 6.18.50 up to and including 6.18.*
unaffected from 7.2.4 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89749 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89749

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89749
trivy image --scanners vuln IMAGE | grep CVE-2026-89749

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89749 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.