Memory safety (null pointer dereference) and improper cleanup on allocation failure in tracing code
Description
Commit Details
Author: Linus Torvalds
Date: 2026-05-22 13:09 UTC
Message:
Triage Assessment
Vulnerability Type: Memory safety
Confidence: MEDIUM
Reasoning:
The changes address memory safety issues that could lead to crashes or undefined behavior in tracing code: avoiding returning NULL to strcat (which could crash or be exploited when formatting strings) and ensuring elt_free is only called on successful allocations. While not a direct, well-known vulnerability like RCE/SQLi, these improvements reduce crashy behavior that could be exploited in certain contexts and are security-relevant as memory safety fixes.
Verification Assessment
Vulnerability Type: Memory safety (null pointer dereference) and improper cleanup on allocation failure in tracing code
Confidence: MEDIUM
Affected Versions: Linux kernel v7.0-rc6 and earlier in the tracing subsystem; fixed in trace-v7.1-rc4.