CVE-2026-90066

samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify

No CVSS score yet EPSS 0.22%

Published 17 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-90066

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-90066 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:

samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify

ftrace_direct_multi_init() assigns kthread_run()'s return value to simple_tsk without an IS_ERR() check. When kthread_run() fails it returns ERR_PTR(-ENOMEM), but init still returns 0, so the module loads with simple_tsk holding an error pointer. On unload, ftrace_direct_multi_exit() then passes that ERR_PTR to kthread_stop(), leading to a null-pointer-dereference.

Check the return value of kthread_run() with IS_ERR(); on failure, unregister the ftrace direct call and propagate the error code.

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 6.77% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e1067a07cfbc5a36abad3752fafe4c79e06db1bb, before 02866f063062dcc5686445c738be003de9787250
affected from e1067a07cfbc5a36abad3752fafe4c79e06db1bb, before 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830
affected from e1067a07cfbc5a36abad3752fafe4c79e06db1bb, before 98b7b2a29ae87937aa02ab9391543ef8c602cd94
affected from e1067a07cfbc5a36abad3752fafe4c79e06db1bb, before 626614df9080d7052fbe24dc90b5434717ab7a9f
affected from e1067a07cfbc5a36abad3752fafe4c79e06db1bb, before cf839636911d8313f3ecd098329fd0b96499e4cf
affected from e1067a07cfbc5a36abad3752fafe4c79e06db1bb, before 6727b7618f49401acf373fa3ec5712e2ec52e5cf
Other versions: unaffected
Linux
affected 5.16
unaffected before 5.16
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.52 up to and including 6.18.*
unaffected from 7.2.6 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-90066 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90066

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-90066
trivy image --scanners vuln IMAGE | grep CVE-2026-90066

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-90066 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.