CVE-2026-143421: perf powerpc-vpadtl: Fix off-by-one in auxtrace_info minimum size check
In the Linux kernel, the following vulnerability has been resolved:
perf powerpc-vpadtl: Fix off-by-one in auxtraceinfo minimum size check
minsz is set to sizeof(u64) POWERPCVPADTLTYPE, but the code reads auxtraceinfo->priv[POWERPCVPADTLTYPE], which needs at least POWERPCVPADTLTYPE + 1 elements. POWERPCVPADTLTYPE is the first enumerator of the priv index enum (0), so minsz evaluates to 0 and the check validates only the perfrecordauxtraceinfo header itself. A PERFRECORDAUXTRACEINFO event carrying a zero-length priv array then passes the size check, and the subsequent priv[POWERPCVPADTLTYPE] read runs one u64 past the validated region.
This is the same off-by-one fixed for Intel PT by commit c4362d5e1a5e ("perf intel-pt: Fix off-by-one in auxtraceinfo minimum size check") and for Intel BTS by commit b9fb8225951c ("perf intel-bts: Fix off-by-one in auxtraceinfo minimum size check").
Use sizeof(u64) (POWERPCVPADTLTYPE + 1) so the highest accessed priv index is covered by the minimum-size validation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1
Event History
Frequently Asked Questions
What conditions are required to trigger the out-of-bounds read?
The vulnerable parsing path must receive a PERF_RECORD_AUXTRACE_INFO event for PowerPC VPADTL with a zero-length priv array. The existing minimum-size check accepts that record even though the code subsequently reads priv[POWERPC_VPADTL_TYPE].
What is the immediate mitigation if the fix cannot be deployed?
Avoid processing PERF_RECORD_AUXTRACE_INFO data for PowerPC VPADTL when the event may contain an empty priv array. No other workaround or configuration-based mitigation is provided in the available data.
How can I determine whether a record would exercise the flaw?
Inspect the PERF_RECORD_AUXTRACE_INFO event length and its priv array. A record with no priv u64 elements can pass the vulnerable validation and then cause the read beyond the validated region.