# CVE-2026-90002: ftrace: Take trace\_array reference before accessing its ftrace\_ops

> 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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:33:12.734Z
- **Modified:** 2026-10-30T13:20:38.480Z

## Who should check

- Anyone running Linux \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 0124b36a7eac1dd0402146fc6c1f732877b9cd9f; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< ffe16fe221e25cd1915602e6753c3d3285ed9a98; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 29266da8ee1d9be656b1f22460c49538e1930658; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 177cd8966325f0ffffa3c9381f9e0422019a3973; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 83fd7eca5ab0d3ac3f23bff889175d847e21af06; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< cee8f286794df916553d8d445eac5c323ec5b0f8; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 9100191e5acb2e5ea2313f436667bb5fce129f47
- Anyone running Linux 3.15

## Description

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

ftrace: Take trace\_array reference before accessing its ftrace\_ops

The trace instance files set\_ftrace\_filter and set\_ftrace\_notrace was
updated to work with specific trace instances (trace\_arrays). The issue is
that when these files are opened, there is a small race window where it
will use the ftrace\_ops from the inode-\>private pointer to get a reference
to the trace\_array and then take its reference. The problem is that the
ftrace\_ops itself could be freed. If the rmdir on the instance happens at
the same time the set\_ftrace\_filter file is opened, the rmdir could have
also freed the ftrace\_ops and referencing it will cause a use-after-free
bug and crash the kernel.

Instead, pass in the trace\_array as the file private data (NULL for the
top level instance), and then pass both the trace\_array and the ftrace\_ops
to the ftrace\_regex\_open() function. If the trace\_array is NULL, then it
just uses the ftrace\_ops without the need to take its reference (like
normal). If the ftrace\_ops is NULL, that is only the case for the top
level instance and the global\_ops can be used.

This allows the trace\_array to have its reference incremented before
touching the ftrace\_ops that could also be freed when the instance is.

## Affected and fixed versions

- Linux: \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 0124b36a7eac1dd0402146fc6c1f732877b9cd9f; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< ffe16fe221e25cd1915602e6753c3d3285ed9a98; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 29266da8ee1d9be656b1f22460c49538e1930658; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 177cd8966325f0ffffa3c9381f9e0422019a3973; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 83fd7eca5ab0d3ac3f23bff889175d847e21af06; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< cee8f286794df916553d8d445eac5c323ec5b0f8; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 9100191e5acb2e5ea2313f436667bb5fce129f47 (cvelist)
- Linux: 3.15 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-90002.md
Affected: Linux >= 591dffdade9f07692a7dd3ed16830ec24e901ece, < 0124b36a7eac1dd0402146fc6c1f732877b9cd9f; >= 591dffdade9f07692a7dd3ed16830ec24e901ece, < ffe16fe221e25cd1915602e6753c3d3285ed9a98; >= 591dffdade9f07692a7dd3ed16830ec24e901ece, < 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a; >= 591dffdade9f07692a7dd3e…
Fixed in: Linux 0124b36a7eac1dd0402146fc6c1f732877b9cd9f, Linux 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a, Linux 29266da8ee1d9be656b1f22460c49538e1930658, Linux 177cd8966325f0ffffa3c9381f9e0422019a3973, Linux 83fd7eca5ab0d3ac3f23bff889175d847e21af06, Linux 9100191e5acb2e5ea2313f436667bb5fce129f47

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

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

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

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

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

Linux \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 0124b36a7eac1dd0402146fc6c1f732877b9cd9f; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< ffe16fe221e25cd1915602e6753c3d3285ed9a98; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 29266da8ee1d9be656b1f22460c49538e1930658; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 177cd8966325f0ffffa3c9381f9e0422019a3973; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 83fd7eca5ab0d3ac3f23bff889175d847e21af06; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< cee8f286794df916553d8d445eac5c323ec5b0f8; \>= 591dffdade9f07692a7dd3ed16830ec24e901ece, \< 9100191e5acb2e5ea2313f436667bb5fce129f47; Linux 3.15.

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

Yes. Fixed in Linux 0124b36a7eac1dd0402146fc6c1f732877b9cd9f, Linux 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a, Linux 29266da8ee1d9be656b1f22460c49538e1930658, Linux 177cd8966325f0ffffa3c9381f9e0422019a3973, Linux 83fd7eca5ab0d3ac3f23bff889175d847e21af06, Linux 9100191e5acb2e5ea2313f436667bb5fce129f47. Upgrade Linux to 9100191e5acb2e5ea2313f436667bb5fce129f47 or later.

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

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/0124b36a7eac1dd0402146fc6c1f732877b9cd9f>
- other: <https://git.kernel.org/stable/c/ffe16fe221e25cd1915602e6753c3d3285ed9a98>
- other: <https://git.kernel.org/stable/c/8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a>
- other: <https://git.kernel.org/stable/c/29266da8ee1d9be656b1f22460c49538e1930658>
- other: <https://git.kernel.org/stable/c/177cd8966325f0ffffa3c9381f9e0422019a3973>
- other: <https://git.kernel.org/stable/c/83fd7eca5ab0d3ac3f23bff889175d847e21af06>
- other: <https://git.kernel.org/stable/c/cee8f286794df916553d8d445eac5c323ec5b0f8>
- other: <https://git.kernel.org/stable/c/9100191e5acb2e5ea2313f436667bb5fce129f47>

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

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