# CVE-2026-97923: tracing: Free histogram the var ref when its initialization fails

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:22:42.300Z
- **Modified:** 2026-10-19T10:17:43.060Z

## Who should check

- Anyone running Linux \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 608b7751926ec08fae6a1ac4e7308195da68c362; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 4870f9071c9ea3c1423a07741b85a794db30d672; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 352f84a381e7b4651b30366e93cb858f3fa9c91a; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 4924328d6991f25b65bb7c8ff5d56c2a9b254851; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 74375caa20fe5165807b4334c783d1790b01f02a; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 222abcbe7866fef04563b6eb89fb21f627dcbc77; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< a69baeac38677270656e85753d93856a076dee57; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 516001d53e6b2ea95a251ee2ef54a1a689a3fd58; 836717841a30d7845cdf9cb806ee0ff3bfa7135a; \>= 4.19.100, \< 4.20
- Anyone running Linux 5.0

## Description

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

tracing: Free histogram the var ref when its initialization fails

create\_var\_ref() allocates a VAR\_REF hist\_field and then calls
init\_var\_ref() to fill it in. When that fails the field is leaked.

commit 656fe2ba85e8 ("tracing: Use hist trigger's var\_ref array to destroy
var\_refs") made destroy\_hist\_field() return early for
HIST\_FIELD\_FL\_VAR\_REF, since var refs are freed by walking the trigger's
var\_refs\[\] array instead. create\_var\_ref() adds the field to that array
only after init\_var\_ref() has succeeded, so on this path the field is in
neither place and nothing frees it. The call was correct when it was
written, before var refs were taken out of destroy\_hist\_field().

init\_var\_ref() cannot free it either. The caller owns the field, so
init\_var\_ref() undoes only its own string allocations and leaves the
field alone. Freeing it there would leave create\_var\_ref() passing freed
memory to destroy\_hist\_field(), which reads its flags.

Call \_\_destroy\_hist\_field(), which frees the field without consulting
the flag.

## Affected and fixed versions

- Linux: \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 608b7751926ec08fae6a1ac4e7308195da68c362; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 4870f9071c9ea3c1423a07741b85a794db30d672; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 352f84a381e7b4651b30366e93cb858f3fa9c91a; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 4924328d6991f25b65bb7c8ff5d56c2a9b254851; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 74375caa20fe5165807b4334c783d1790b01f02a; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 222abcbe7866fef04563b6eb89fb21f627dcbc77; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< a69baeac38677270656e85753d93856a076dee57; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 516001d53e6b2ea95a251ee2ef54a1a689a3fd58; 836717841a30d7845cdf9cb806ee0ff3bfa7135a; \>= 4.19.100, \< 4.20 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-97923.md
Affected: Linux >= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, < 608b7751926ec08fae6a1ac4e7308195da68c362; >= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, < 4870f9071c9ea3c1423a07741b85a794db30d672; >= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, < 352f84a381e7b4651b30366e93cb858f3fa9c91a; >= 656fe2ba85e81d00e4447bf…
Fixed in: Linux 608b7751926ec08fae6a1ac4e7308195da68c362, Linux 4870f9071c9ea3c1423a07741b85a794db30d672, Linux 352f84a381e7b4651b30366e93cb858f3fa9c91a, Linux 4924328d6991f25b65bb7c8ff5d56c2a9b254851, Linux 74375caa20fe5165807b4334c783d1790b01f02a, Linux 222abcbe7866fef04563b6eb89fb21f627dcbc77, Linux 51600…

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 608b7751926ec08fae6a1ac4e7308195da68c362; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 4870f9071c9ea3c1423a07741b85a794db30d672; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 352f84a381e7b4651b30366e93cb858f3fa9c91a; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 4924328d6991f25b65bb7c8ff5d56c2a9b254851; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 74375caa20fe5165807b4334c783d1790b01f02a; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 222abcbe7866fef04563b6eb89fb21f627dcbc77; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< a69baeac38677270656e85753d93856a076dee57; \>= 656fe2ba85e81d00e4447bf77b8da2be3c47acb2, \< 516001d53e6b2ea95a251ee2ef54a1a689a3fd58; 836717841a30d7845cdf9cb806ee0ff3bfa7135a; \>= 4.19.100, \< 4.20; Linux 5.0.

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

Yes. Fixed in Linux 608b7751926ec08fae6a1ac4e7308195da68c362, Linux 4870f9071c9ea3c1423a07741b85a794db30d672, Linux 352f84a381e7b4651b30366e93cb858f3fa9c91a, Linux 4924328d6991f25b65bb7c8ff5d56c2a9b254851, Linux 74375caa20fe5165807b4334c783d1790b01f02a, Linux 222abcbe7866fef04563b6eb89fb21f627dcbc77, Linux 516001d53e6b2ea95a251ee2ef54a1a689a3fd58, Linux 4.20. Upgrade Linux to 4.20 or later.

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

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/608b7751926ec08fae6a1ac4e7308195da68c362>
- other: <https://git.kernel.org/stable/c/4870f9071c9ea3c1423a07741b85a794db30d672>
- other: <https://git.kernel.org/stable/c/352f84a381e7b4651b30366e93cb858f3fa9c91a>
- other: <https://git.kernel.org/stable/c/4924328d6991f25b65bb7c8ff5d56c2a9b254851>
- other: <https://git.kernel.org/stable/c/74375caa20fe5165807b4334c783d1790b01f02a>
- other: <https://git.kernel.org/stable/c/222abcbe7866fef04563b6eb89fb21f627dcbc77>
- other: <https://git.kernel.org/stable/c/a69baeac38677270656e85753d93856a076dee57>
- other: <https://git.kernel.org/stable/c/516001d53e6b2ea95a251ee2ef54a1a689a3fd58>

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

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