CVE-2026-64028: tracing: Avoid NULL return from hist_field_name() on truncation

Published Jul 19, 2026
·
Updated

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 traceeventshist.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 VARREF 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 fieldname as "" on overflow.

Affected Software

9 affected components
Linux Linux kernel
Linux Linux kernel=6.6.141
Linux Linux kernel=6.12.91
Linux Linux kernel=6.18.33
Linux Linux kernel=7.0.10
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In hist_field_name(), retain the length check and leave field_name as an empty string ("") when snprintf() truncation or overflow occurs, rather than returning NULL.

Event History

Jul 19, 2026
CVE Published
via MITRE·03:39 PM
Data Sourced
via MITRE·03:39 PM
Description
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64028?

The severity of CVE-2026-64028 is classified as risk level 37.

2

How do I fix CVE-2026-64028?

To fix CVE-2026-64028, update to the patched version of the Linux kernel that addresses this vulnerability.

3

What systems are affected by CVE-2026-64028?

CVE-2026-64028 affects the Linux kernel across various distributions and versions.

4

What is the impact of CVE-2026-64028?

The impact of CVE-2026-64028 relates to potential NULL pointer dereferences leading to application crashes during tracing.

5

Is CVE-2026-64028 a remote vulnerability?

CVE-2026-64028 is not classified as a remote vulnerability, as it primarily affects local operations within the kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203