perf: arm_pmuv3: Zero initialize hw_id branch stack field
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 57b72442c1672963fd51ab441ca1b71f6dc79b66, Kernel 7c3b63386c27bed8d59a4b4c283d02860420eb0a, Kernel 988e11b69ef9d4034e19c64407030fa948580c3d and 2 more.
In the Linux kernel, the following vulnerability has been resolved: perf: arm_pmuv3: Zero initialize hw_id branch stack field PERF_SAMPLE_BRANCH_HW_INDEX is supported by BRBE so hw_id is passed to userspace, but it's never set by the BRBE driver. Zero initialize it as it should be according to the docs: * For the architectures whose raw branch records are * already stored in age order, the hw_idx should be 0. It's probably too risky to remove PERF_SAMPLE_BRANCH_HW_INDEX from BRBE now in case anyone is setting it and reading the value, but zero initializing the whole struct also protects against the same issue with new fields that are added in the future.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=58074a0fce66c6c97b35ce8a28ed4e7b780f9a8f <57b72442c1672963fd51ab441ca1b71f6dc79b66, >=58074a0fce66c6c97b35ce8a28ed4e7b780f9a8f <7c3b63386c27bed8d59a4b4c283d02860420eb0a, >=58074a0fce66c6c97b35ce8a28ed4e7b780f9a8f <988e11b69ef9d4034e19c64407030fa948580c3d | 57b72442c1672963fd51ab441ca1b71f6dc79b66, 7c3b63386c27bed8d59a4b4c283d02860420eb0a, 988e11b69ef9d4034e19c64407030fa948580c3d |
| linux-kernel: Kernel | >=6.17.0 <6.18.52, >=6.19.0 <7.2.6 | 6.18.52, 7.2.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket