CVE-2026-143252: tracing/probes: bound symstr stores to reserved length
In the Linux kernel, the following vulnerability has been resolved:
tracing/probes: bound symstr stores to reserved length
Traceprobe calculates dynamic string sizes before storing the values. A probed pointer can change between those passes, so fetchstoresymstrlen() can reserve space for a short symbol while fetchstoresymstring() observes a longer one. The store path then overwrites the trace record.
Format the symbol into a temporary KSYMSYMBOLLEN buffer and copy only the bytes that fit in the reserved field, including a trailing NUL. Update dataloc with the length actually stored so consumers do not read beyond the truncated value.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.2 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
A traceprobe must calculate and store a dynamic symbol string, and the probed pointer must change between the size-calculation pass and the string-store pass. The mismatch can cause space reserved for a shorter symbol to be used for a longer symbol.
What is the effect of the mismatch?
The symbol-string store can overwrite the trace record. The resolved implementation limits the copied data to the reserved field, ensures a trailing NUL, and records the actual stored length so consumers do not read past the truncated value.