# CVE-2026-90066: samples/ftrace: Fix kthread\_stop() on ERR\_PTR in ftrace-direct-multi-modify

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:05:48.921Z
- **Modified:** 2026-10-30T13:20:40.367Z

## Who should check

- Anyone running Linux \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 02866f063062dcc5686445c738be003de9787250; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 98b7b2a29ae87937aa02ab9391543ef8c602cd94; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 626614df9080d7052fbe24dc90b5434717ab7a9f; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< cf839636911d8313f3ecd098329fd0b96499e4cf; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 6727b7618f49401acf373fa3ec5712e2ec52e5cf
- Anyone running Linux 5.16

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

## Affected and fixed versions

- Linux: \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 02866f063062dcc5686445c738be003de9787250; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 98b7b2a29ae87937aa02ab9391543ef8c602cd94; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 626614df9080d7052fbe24dc90b5434717ab7a9f; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< cf839636911d8313f3ecd098329fd0b96499e4cf; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 6727b7618f49401acf373fa3ec5712e2ec52e5cf (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 6727b7618f49401acf373fa3ec5712e2ec52e5cf 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-90066. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90066.md
Affected: Linux >= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, < 02866f063062dcc5686445c738be003de9787250; >= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, < 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830; >= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, < 98b7b2a29ae87937aa02ab9391543ef8c602cd94; >= e1067a07cfbc5a36abad375…
Fixed in: Linux 02866f063062dcc5686445c738be003de9787250, Linux 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830, Linux 98b7b2a29ae87937aa02ab9391543ef8c602cd94, Linux 626614df9080d7052fbe24dc90b5434717ab7a9f, Linux 6727b7618f49401acf373fa3ec5712e2ec52e5cf

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 02866f063062dcc5686445c738be003de9787250; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 98b7b2a29ae87937aa02ab9391543ef8c602cd94; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 626614df9080d7052fbe24dc90b5434717ab7a9f; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< cf839636911d8313f3ecd098329fd0b96499e4cf; \>= e1067a07cfbc5a36abad3752fafe4c79e06db1bb, \< 6727b7618f49401acf373fa3ec5712e2ec52e5cf; Linux 5.16.

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

Yes. Fixed in Linux 02866f063062dcc5686445c738be003de9787250, Linux 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830, Linux 98b7b2a29ae87937aa02ab9391543ef8c602cd94, Linux 626614df9080d7052fbe24dc90b5434717ab7a9f, Linux 6727b7618f49401acf373fa3ec5712e2ec52e5cf. Upgrade Linux to 6727b7618f49401acf373fa3ec5712e2ec52e5cf or later.

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

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/02866f063062dcc5686445c738be003de9787250>
- other: <https://git.kernel.org/stable/c/7a96b9f6d5ba23dbce66c8a4a242effd4c01a830>
- other: <https://git.kernel.org/stable/c/98b7b2a29ae87937aa02ab9391543ef8c602cd94>
- other: <https://git.kernel.org/stable/c/626614df9080d7052fbe24dc90b5434717ab7a9f>
- other: <https://git.kernel.org/stable/c/cf839636911d8313f3ecd098329fd0b96499e4cf>
- other: <https://git.kernel.org/stable/c/6727b7618f49401acf373fa3ec5712e2ec52e5cf>

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

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