CVE-2026-97933
tracing: Take trace_array reference when opening a tracer options file
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: tracing: Take trace_array reference when opening a tracer options file When a tracer option file is opened, it is passed a descriptor that points to an element on the trace_array's topts array. This element has information to find the trace array and other information. It uses this element to take a reference of the trace_array so that the trace_array does not get removed while this file is opened. Unfortunately, there's a race condition where the element itself could be freed by the removal of the instance the trace_array represents causing a use-after-free as this element that is used to find the trace_array to increment its reference counter is also freed when the instance is removed. To solve this, add a trace_array_tracer_options_get() helper function that will take the address of the element that is passed to the open function by the inode->i_private pointer and search all the trace_arrays under a lock to find the one that the element's address is in the range of the trace_arrays topts array elements. When a match happens, that trace_array's reference would be increased. Note, there's a race where if an admin was deleting and creating trace instances at the same time and the memory of the old trace_array's array matched the memory of the new trace_array that it could in theory open the option from the wrong trace array. But we do not care because it would be stupid to perform that kind of action. As long as the only thing that can happen is that the option from the wrong trace array is used and doesn't crash the kernel it will only make the user confused. But if they are doing something stupid like this, they are already confused, so no harm done.
EPSS 0.21% · 10.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-headers | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7e2cfbd2d3c86afcd5c26b5c4b1dd251f63c5838, 7e2cfbd2d3c86afcd5c26b5c4b1dd251f63c5838, 7e2cfbd2d3c86afcd5c26b5c4b1dd251f63c5838 |
| Linux | Linux | 6.6, 0, 6.6.160 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| linux | linux_kernel | 6.5.5, 6.6, 5.4.257 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| Linux | Linux | 6.6.160, 7e2cfbd2d3c86afcd5c26b5c4b1dd251f63c5838, 6.18.57 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (10 in total, the first dated here)
- Oct 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97933
vulnetix vdb fixes CVE-2026-97933
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97933/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart