# CVE-2026-64028: tracing: Avoid NULL return from hist\_field\_name() on truncation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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)
- **CWE:** CWE-476
- **Published:** 2026-07-19T15:39:19.102Z
- **Modified:** 2026-10-13T15:23:52.833Z

## Who should check

- Anyone running Linux \>= 2e8578364061c4e88ae33bc20c2d6f64f365f6a2, \< e3f5d42cdc2f167719564693675f1eead81378ea; \>= dfd1cd57ee6067301841b7b0967c70f910a51150, \< 37377b39ff86dacbc533275c1155210d4fd5dc91; \>= e5c223f46c2e0691461dd97510c15e1f77148872, \< 0402a1d3ddec565132867337ed44514a09d84728; \>= 9399a92989354e34086f9a5c379493217df83c5e, \< e91687643c440ca3997d67646e6f80b92edc6703; \>= 3cb6cb9c5a547a1979ad74f38eefe8e3687d96e0, \< be4e99038c1603fa6b329d8ee3e364825e17c353; \>= 0402c60abe769098d77f3b3bd1e29a97922b614b, \< d6c8b3ebdcdb12b59ad4212acb137cc56cae453d; \>= 6929e650db8451a9975ac0a631ba2d6e5d1e80ba, \< 915c1254fe0788abddc31095b360e9dc98907a34; \>= 5ec1d1e97de134beed3a5b08235a60fc1c51af96, \< 576ec047d20b368b43c4d5db98c4f2e0f3c101ec
- Anyone running Linux \>= 6.6.141, \< 6.6.142; \>= 6.12.91, \< 6.12.92; \>= 6.18.33, \< 6.18.34; \>= 7.0.10, \< 7.0.11

## Description

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

tracing: Avoid NULL return from hist\_field\_name() on truncation

hist\_field\_name() returns "" everywhere except the fully-qualified
VAR\_REF/EXPR case, where snprintf() truncation returns NULL early
and bypasses the bottom NULL-\>"" guard. Callers don't expect NULL:
strcat(expr, hist\_field\_name(field, 0)) at trace\_events\_hist.c:1758
and the strcmp() in the sort-key match loop at :4804 both deref it.

system and event\_name are bounded by MAX\_EVENT\_NAME\_LEN, but the
field name on a VAR\_REF is kstrdup'd from a histogram variable
name parsed out of the trigger string and has no length cap, so
a long enough var name in a fully qualified reference can reach
the truncation path.

Keep the length check but leave field\_name as "" on overflow.

## Affected and fixed versions

- Linux: \>= 2e8578364061c4e88ae33bc20c2d6f64f365f6a2, \< e3f5d42cdc2f167719564693675f1eead81378ea; \>= dfd1cd57ee6067301841b7b0967c70f910a51150, \< 37377b39ff86dacbc533275c1155210d4fd5dc91; \>= e5c223f46c2e0691461dd97510c15e1f77148872, \< 0402a1d3ddec565132867337ed44514a09d84728; \>= 9399a92989354e34086f9a5c379493217df83c5e, \< e91687643c440ca3997d67646e6f80b92edc6703; \>= 3cb6cb9c5a547a1979ad74f38eefe8e3687d96e0, \< be4e99038c1603fa6b329d8ee3e364825e17c353; \>= 0402c60abe769098d77f3b3bd1e29a97922b614b, \< d6c8b3ebdcdb12b59ad4212acb137cc56cae453d; \>= 6929e650db8451a9975ac0a631ba2d6e5d1e80ba, \< 915c1254fe0788abddc31095b360e9dc98907a34; \>= 5ec1d1e97de134beed3a5b08235a60fc1c51af96, \< 576ec047d20b368b43c4d5db98c4f2e0f3c101ec (cvelist)
- Linux: \>= 6.6.141, \< 6.6.142; \>= 6.12.91, \< 6.12.92; \>= 6.18.33, \< 6.18.34; \>= 7.0.10, \< 7.0.11 (cvelist)

## Mitigation

- Upgrade Linux to 576ec047d20b368b43c4d5db98c4f2e0f3c101ec or later.
- Upgrade Linux to 7.0.11 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-64028. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64028.md
Affected: Linux >= 2e8578364061c4e88ae33bc20c2d6f64f365f6a2, < e3f5d42cdc2f167719564693675f1eead81378ea; >= dfd1cd57ee6067301841b7b0967c70f910a51150, < 37377b39ff86dacbc533275c1155210d4fd5dc91; >= e5c223f46c2e0691461dd97510c15e1f77148872, < 0402a1d3ddec565132867337ed44514a09d84728; >= 9399a92989354e34086f9a5…
Fixed in: Linux 37377b39ff86dacbc533275c1155210d4fd5dc91, Linux 0402a1d3ddec565132867337ed44514a09d84728, Linux 915c1254fe0788abddc31095b360e9dc98907a34, Linux 576ec047d20b368b43c4d5db98c4f2e0f3c101ec, Linux 6.6.142, Linux 6.12.92, Linux 6.18.34, Linux 7.0.11

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

There is no confirmed exploitation: CVE-2026-64028 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-64028?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 2e8578364061c4e88ae33bc20c2d6f64f365f6a2, \< e3f5d42cdc2f167719564693675f1eead81378ea; \>= dfd1cd57ee6067301841b7b0967c70f910a51150, \< 37377b39ff86dacbc533275c1155210d4fd5dc91; \>= e5c223f46c2e0691461dd97510c15e1f77148872, \< 0402a1d3ddec565132867337ed44514a09d84728; \>= 9399a92989354e34086f9a5c379493217df83c5e, \< e91687643c440ca3997d67646e6f80b92edc6703; \>= 3cb6cb9c5a547a1979ad74f38eefe8e3687d96e0, \< be4e99038c1603fa6b329d8ee3e364825e17c353; \>= 0402c60abe769098d77f3b3bd1e29a97922b614b, \< d6c8b3ebdcdb12b59ad4212acb137cc56cae453d; \>= 6929e650db8451a9975ac0a631ba2d6e5d1e80ba, \< 915c1254fe0788abddc31095b360e9dc98907a34; \>= 5ec1d1e97de134beed3a5b08235a60fc1c51af96, \< 576ec047d20b368b43c4d5db98c4f2e0f3c101ec; Linux \>= 6.6.141, \< 6.6.142; \>= 6.12.91, \< 6.12.92; \>= 6.18.33, \< 6.18.34; \>= 7.0.10, \< 7.0.11.

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

Yes. Fixed in Linux 37377b39ff86dacbc533275c1155210d4fd5dc91, Linux 0402a1d3ddec565132867337ed44514a09d84728, Linux 915c1254fe0788abddc31095b360e9dc98907a34, Linux 576ec047d20b368b43c4d5db98c4f2e0f3c101ec, Linux 6.6.142, Linux 6.12.92, Linux 6.18.34, Linux 7.0.11. Upgrade Linux to 576ec047d20b368b43c4d5db98c4f2e0f3c101ec or later. Upgrade Linux to 7.0.11 or later.

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

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

- patch: <https://git.kernel.org/stable/c/e3f5d42cdc2f167719564693675f1eead81378ea>
- patch: <https://git.kernel.org/stable/c/37377b39ff86dacbc533275c1155210d4fd5dc91>
- patch: <https://git.kernel.org/stable/c/0402a1d3ddec565132867337ed44514a09d84728>
- patch: <https://git.kernel.org/stable/c/e91687643c440ca3997d67646e6f80b92edc6703>
- patch: <https://git.kernel.org/stable/c/be4e99038c1603fa6b329d8ee3e364825e17c353>
- patch: <https://git.kernel.org/stable/c/d6c8b3ebdcdb12b59ad4212acb137cc56cae453d>
- patch: <https://git.kernel.org/stable/c/915c1254fe0788abddc31095b360e9dc98907a34>
- patch: <https://git.kernel.org/stable/c/576ec047d20b368b43c4d5db98c4f2e0f3c101ec>

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

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