perf/x86/amd/core: Always clear status for idx
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.22, Kernel 6.2.9, Kernel 9d4c7b1f12e101d6d6253092588b127416ddfb6c and 2 more.
In the Linux kernel, the following vulnerability has been resolved: perf/x86/amd/core: Always clear status for idx The variable 'status' (which contains the unhandled overflow bits) is not being properly masked in some cases, displaying the following warning: WARNING: CPU: 156 PID: 475601 at arch/x86/events/amd/core.c:972 amd_pmu_v2_handle_irq+0x216/0x270 This seems to be happening because the loop is being continued before the status bit being unset, in case x86_perf_event_set_period() returns 0. This is also causing an inconsistency because the "handled" counter is incremented, but the status bit is not cleaned. Move the bit cleaning together above, together when the "handled" counter is incremented.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.19 <6.1.22, >=6.2 <6.2.9, =6.3, >=7685665c390dc68c2d9a74e8445f41494cc8f6cf <9d4c7b1f12e101d6d6253092588b127416ddfb6c, >=7685665c390dc68c2d9a74e8445f41494cc8f6cf <ab33a8f7649b0324639a336e1081aaea51a4523e, =5.19, >=7685665c390dc68c2d9a74e8445f41494cc8f6cf <263f5ecaf7080513efc248ec739b6d9e00f4129f | 6.1.22, 6.2.9, 9d4c7b1f12e101d6d6253092588b127416ddfb6c, ab33a8f7649b0324639a336e1081aaea51a4523e, 263f5ecaf7080513efc248ec739b6d9e00f4129f |
| linux-kernel: Kernel | >=5.19.0 <6.1.22, >=6.2.0 <6.2.9 | 6.1.22, 6.2.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket