CVE-2026-64028

Source
https://cve.org/CVERecord?id=CVE-2026-64028
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64028.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64028
Downstream
Published
2026-07-19T15:39:19.102Z
Modified
2026-07-21T03:47:51.911821635Z
Summary
tracing: Avoid NULL return from hist_field_name() on truncation
Details

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

tracing: Avoid NULL return from histfieldname() on truncation

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

system and eventname are bounded by MAXEVENTNAMELEN, 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64028.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2e8578364061c4e88ae33bc20c2d6f64f365f6a2
Fixed
e3f5d42cdc2f167719564693675f1eead81378ea
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfd1cd57ee6067301841b7b0967c70f910a51150
Fixed
37377b39ff86dacbc533275c1155210d4fd5dc91
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e5c223f46c2e0691461dd97510c15e1f77148872
Fixed
0402a1d3ddec565132867337ed44514a09d84728
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9399a92989354e34086f9a5c379493217df83c5e
Fixed
e91687643c440ca3997d67646e6f80b92edc6703
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3cb6cb9c5a547a1979ad74f38eefe8e3687d96e0
Fixed
be4e99038c1603fa6b329d8ee3e364825e17c353
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0402c60abe769098d77f3b3bd1e29a97922b614b
Fixed
d6c8b3ebdcdb12b59ad4212acb137cc56cae453d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6929e650db8451a9975ac0a631ba2d6e5d1e80ba
Fixed
915c1254fe0788abddc31095b360e9dc98907a34
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5ec1d1e97de134beed3a5b08235a60fc1c51af96
Fixed
576ec047d20b368b43c4d5db98c4f2e0f3c101ec

Affected versions

v6.*
v6.12.91
v6.18.33
v6.6.141
v7.*
v7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64028.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.141
Fixed
6.6.142
Type
ECOSYSTEM
Events
Introduced
6.12.91
Fixed
6.12.92
Type
ECOSYSTEM
Events
Introduced
6.18.33
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
7.0.10
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64028.json"