{"api_version":"1","generated_at":"2026-07-23T12:09:49+00:00","cve":"CVE-2026-64028","urls":{"html":"https://cve.report/CVE-2026-64028","api":"https://cve.report/api/cve/CVE-2026-64028.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64028","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64028"},"summary":{"title":"tracing: Avoid NULL return from hist_field_name() on truncation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Avoid NULL return from hist_field_name() on truncation\n\nhist_field_name() returns \"\" everywhere except the fully-qualified\nVAR_REF/EXPR case, where snprintf() truncation returns NULL early\nand bypasses the bottom NULL->\"\" guard. Callers don't expect NULL:\nstrcat(expr, hist_field_name(field, 0)) at trace_events_hist.c:1758\nand the strcmp() in the sort-key match loop at :4804 both deref it.\n\nsystem and event_name are bounded by MAX_EVENT_NAME_LEN, but the\nfield name on a VAR_REF is kstrdup'd from a histogram variable\nname parsed out of the trigger string and has no length cap, so\na long enough var name in a fully qualified reference can reach\nthe truncation path.\n\nKeep the length check but leave field_name as \"\" on overflow.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-19 16:17:42","updated_at":"2026-07-19 16:17:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0402a1d3ddec565132867337ed44514a09d84728","name":"https://git.kernel.org/stable/c/0402a1d3ddec565132867337ed44514a09d84728","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/be4e99038c1603fa6b329d8ee3e364825e17c353","name":"https://git.kernel.org/stable/c/be4e99038c1603fa6b329d8ee3e364825e17c353","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e3f5d42cdc2f167719564693675f1eead81378ea","name":"https://git.kernel.org/stable/c/e3f5d42cdc2f167719564693675f1eead81378ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/576ec047d20b368b43c4d5db98c4f2e0f3c101ec","name":"https://git.kernel.org/stable/c/576ec047d20b368b43c4d5db98c4f2e0f3c101ec","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/37377b39ff86dacbc533275c1155210d4fd5dc91","name":"https://git.kernel.org/stable/c/37377b39ff86dacbc533275c1155210d4fd5dc91","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/915c1254fe0788abddc31095b360e9dc98907a34","name":"https://git.kernel.org/stable/c/915c1254fe0788abddc31095b360e9dc98907a34","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e91687643c440ca3997d67646e6f80b92edc6703","name":"https://git.kernel.org/stable/c/e91687643c440ca3997d67646e6f80b92edc6703","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d6c8b3ebdcdb12b59ad4212acb137cc56cae453d","name":"https://git.kernel.org/stable/c/d6c8b3ebdcdb12b59ad4212acb137cc56cae453d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64028","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64028","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2e8578364061c4e88ae33bc20c2d6f64f365f6a2 e3f5d42cdc2f167719564693675f1eead81378ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected dfd1cd57ee6067301841b7b0967c70f910a51150 37377b39ff86dacbc533275c1155210d4fd5dc91 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5c223f46c2e0691461dd97510c15e1f77148872 0402a1d3ddec565132867337ed44514a09d84728 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9399a92989354e34086f9a5c379493217df83c5e e91687643c440ca3997d67646e6f80b92edc6703 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb6cb9c5a547a1979ad74f38eefe8e3687d96e0 be4e99038c1603fa6b329d8ee3e364825e17c353 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0402c60abe769098d77f3b3bd1e29a97922b614b d6c8b3ebdcdb12b59ad4212acb137cc56cae453d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6929e650db8451a9975ac0a631ba2d6e5d1e80ba 915c1254fe0788abddc31095b360e9dc98907a34 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ec1d1e97de134beed3a5b08235a60fc1c51af96 576ec047d20b368b43c4d5db98c4f2e0f3c101ec git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.141 6.6.142 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.91 6.12.92 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.33 6.18.34 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0.10 7.0.11 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"64028","cve":"CVE-2026-64028","epss":"0.001850000","percentile":"0.083480000","score_date":"2026-07-20","updated_at":"2026-07-21 00:13:14"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/trace/trace_events_hist.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e3f5d42cdc2f167719564693675f1eead81378ea","status":"affected","version":"2e8578364061c4e88ae33bc20c2d6f64f365f6a2","versionType":"git"},{"lessThan":"37377b39ff86dacbc533275c1155210d4fd5dc91","status":"affected","version":"dfd1cd57ee6067301841b7b0967c70f910a51150","versionType":"git"},{"lessThan":"0402a1d3ddec565132867337ed44514a09d84728","status":"affected","version":"e5c223f46c2e0691461dd97510c15e1f77148872","versionType":"git"},{"lessThan":"e91687643c440ca3997d67646e6f80b92edc6703","status":"affected","version":"9399a92989354e34086f9a5c379493217df83c5e","versionType":"git"},{"lessThan":"be4e99038c1603fa6b329d8ee3e364825e17c353","status":"affected","version":"3cb6cb9c5a547a1979ad74f38eefe8e3687d96e0","versionType":"git"},{"lessThan":"d6c8b3ebdcdb12b59ad4212acb137cc56cae453d","status":"affected","version":"0402c60abe769098d77f3b3bd1e29a97922b614b","versionType":"git"},{"lessThan":"915c1254fe0788abddc31095b360e9dc98907a34","status":"affected","version":"6929e650db8451a9975ac0a631ba2d6e5d1e80ba","versionType":"git"},{"lessThan":"576ec047d20b368b43c4d5db98c4f2e0f3c101ec","status":"affected","version":"5ec1d1e97de134beed3a5b08235a60fc1c51af96","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/trace/trace_events_hist.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6.6.142","status":"affected","version":"6.6.141","versionType":"semver"},{"lessThan":"6.12.92","status":"affected","version":"6.12.91","versionType":"semver"},{"lessThan":"6.18.34","status":"affected","version":"6.18.33","versionType":"semver"},{"lessThan":"7.0.11","status":"affected","version":"7.0.10","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.142","versionStartIncluding":"6.6.141","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.92","versionStartIncluding":"6.12.91","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.34","versionStartIncluding":"6.18.33","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"7.0.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Avoid NULL return from hist_field_name() on truncation\n\nhist_field_name() returns \"\" everywhere except the fully-qualified\nVAR_REF/EXPR case, where snprintf() truncation returns NULL early\nand bypasses the bottom NULL->\"\" guard. Callers don't expect NULL:\nstrcat(expr, hist_field_name(field, 0)) at trace_events_hist.c:1758\nand the strcmp() in the sort-key match loop at :4804 both deref it.\n\nsystem and event_name are bounded by MAX_EVENT_NAME_LEN, but the\nfield name on a VAR_REF is kstrdup'd from a histogram variable\nname parsed out of the trigger string and has no length cap, so\na long enough var name in a fully qualified reference can reach\nthe truncation path.\n\nKeep the length check but leave field_name as \"\" on overflow."}],"providerMetadata":{"dateUpdated":"2026-07-19T15:39:19.102Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e3f5d42cdc2f167719564693675f1eead81378ea"},{"url":"https://git.kernel.org/stable/c/37377b39ff86dacbc533275c1155210d4fd5dc91"},{"url":"https://git.kernel.org/stable/c/0402a1d3ddec565132867337ed44514a09d84728"},{"url":"https://git.kernel.org/stable/c/e91687643c440ca3997d67646e6f80b92edc6703"},{"url":"https://git.kernel.org/stable/c/be4e99038c1603fa6b329d8ee3e364825e17c353"},{"url":"https://git.kernel.org/stable/c/d6c8b3ebdcdb12b59ad4212acb137cc56cae453d"},{"url":"https://git.kernel.org/stable/c/915c1254fe0788abddc31095b360e9dc98907a34"},{"url":"https://git.kernel.org/stable/c/576ec047d20b368b43c4d5db98c4f2e0f3c101ec"}],"title":"tracing: Avoid NULL return from hist_field_name() on truncation","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64028","datePublished":"2026-07-19T15:39:19.102Z","dateReserved":"2026-07-19T07:54:57.028Z","dateUpdated":"2026-07-19T15:39:19.102Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-19 16:17:42","lastModifiedDate":"2026-07-19 16:17:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64028","Ordinal":"1","Title":"tracing: Avoid NULL return from hist_field_name() on truncation","CVE":"CVE-2026-64028","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64028","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Avoid NULL return from hist_field_name() on truncation\n\nhist_field_name() returns \"\" everywhere except the fully-qualified\nVAR_REF/EXPR case, where snprintf() truncation returns NULL early\nand bypasses the bottom NULL->\"\" guard. Callers don't expect NULL:\nstrcat(expr, hist_field_name(field, 0)) at trace_events_hist.c:1758\nand the strcmp() in the sort-key match loop at :4804 both deref it.\n\nsystem and event_name are bounded by MAX_EVENT_NAME_LEN, but the\nfield name on a VAR_REF is kstrdup'd from a histogram variable\nname parsed out of the trigger string and has no length cap, so\na long enough var name in a fully qualified reference can reach\nthe truncation path.\n\nKeep the length check but leave field_name as \"\" on overflow.","Type":"Description","Title":"tracing: Avoid NULL return from hist_field_name() on truncation"}]}}}