Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Verify event formats that have "%*p.." The trace event verifier checks the formats of trace events to make sure that they do not point at memory that is not in the trace event itself or in data that will never be freed. If an event references data that was allocated when the event triggered and that same data is freed before the event is read, then the kernel can crash by reading freed memory. The verifier runs at boot up (or module load) and scans the print formats of the events and checks their arguments to make sure that dereferenced pointers are safe. If the format uses "%*p.." the verifier will ignore it, and that could be dangerous. Cover this case as well. Also add to the sample code a use case of "%*pbl".
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
5013f454a352cce8e62162976026a9c472595e42 to < 6854c87ac823181c810f8c07489ba543260c0023affected5013f454a352cce8e62162976026a9c472595e42 to < 4d11fac941d83509be4e6a21038281d6d96da50caffected5013f454a352cce8e62162976026a9c472595e42 to < 03127354027508d076073b020d3070990fd6a958affected5013f454a352cce8e62162976026a9c472595e42 to < 04b80d45ecfaf780981d6582899e3ab205e4aa08affected5013f454a352cce8e62162976026a9c472595e42 to < c7204fd1758c0caf1938e8a59809a1fdf28a8114affected5013f454a352cce8e62162976026a9c472595e42 to < ea8d7647f9ddf1f81e2027ed305299797299aa03affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected6.1.136 to ≤ 6.1.*unaffected6.6.89 to ≤ 6.6.*unaffected6.12.26 to ≤ 6.12.*unaffected6.13.11 to ≤ 6.13.*unaffected6.14.2 to ≤ 6.14.*unaffected6.15 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6854c87ac823181c810f8c07489ba543260c0023 ↗
- https://git.kernel.org/stable/c/4d11fac941d83509be4e6a21038281d6d96da50c ↗
- https://git.kernel.org/stable/c/03127354027508d076073b020d3070990fd6a958 ↗
- https://git.kernel.org/stable/c/04b80d45ecfaf780981d6582899e3ab205e4aa08 ↗
- https://git.kernel.org/stable/c/c7204fd1758c0caf1938e8a59809a1fdf28a8114 ↗
- https://git.kernel.org/stable/c/ea8d7647f9ddf1f81e2027ed305299797299aa03 ↗
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html ↗