perf powerpc-vpadtl: Fix off-by-one in auxtrace_info minimum size check
- CVE-2026-143421
- EUVD-2026-145018
Summary
A kernel bug in the perf tool's powerpc-vpadtl code computes its minimum size check for the auxtrace_info record incorrectly, so the check ends up validating only the header. A PERF_RECORD_AUXTRACE_INFO event with a zero-length priv array can pass the check, and the subsequent read of the priv index runs one 64-bit word past the validated region. The fix sets the minimum size to cover one more element, matching fixes previously applied to Intel PT and Intel BTS. The record is not on the CISA known exploited list and no CVSS score is given.
AI summary · verify against the vendor advisory
Description
In the Linux kernel, the following vulnerability has been resolved: perf powerpc-vpadtl: Fix off-by-one in auxtrace_info minimum size check min_sz is set to sizeof(u64) * POWERPC_VPADTL_TYPE, but the code reads auxtrace_info->priv[POWERPC_VPADTL_TYPE], which needs at least POWERPC_VPADTL_TYPE + 1 elements. POWERPC_VPADTL_TYPE is the first enumerator of the priv index enum (0), so min_sz evaluates to 0 and the check validates only the perf_record_auxtrace_info header itself. A PERF_RECORD_AUXTRACE_INFO event carrying a zero-length priv array then passes the size check, and the subsequent priv[POWERPC_VPADTL_TYPE] 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 auxtrace_info minimum size check") and for Intel BTS by commit b9fb8225951c ("perf intel-bts: Fix off-by-one in auxtrace_info minimum size check"). Use sizeof(u64) * (POWERPC_VPADTL_TYPE + 1) so the highest accessed priv index is covered by the minimum-size validation.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 6.18 none stated before 6.18: not affected none stated from 6.18.63 up to 6.18.*: not affected none stated from 7.3.4 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.