CVE-2026-90002

ftrace: Take trace_array reference before accessing its ftrace_ops

7.8 high EPSS 0.17%

Published 16 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-90002

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

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.73% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before 0124b36a7eac1dd0402146fc6c1f732877b9cd9f
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before ffe16fe221e25cd1915602e6753c3d3285ed9a98
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before 8f062a6bfeb4b4e18d469a673aec23a7b73c3e8a
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before 29266da8ee1d9be656b1f22460c49538e1930658
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before 177cd8966325f0ffffa3c9381f9e0422019a3973
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before 83fd7eca5ab0d3ac3f23bff889175d847e21af06
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before cee8f286794df916553d8d445eac5c323ec5b0f8
affected from 591dffdade9f07692a7dd3ed16830ec24e901ece, before 9100191e5acb2e5ea2313f436667bb5fce129f47
Other versions: unaffected
Linux
affected 3.15
unaffected before 3.15
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.52 up to and including 6.18.*
unaffected from 7.2.5 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-90002 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90002

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

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