arm_mpam: guard MBWU state before adding it to garbage
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 977f52909c624210178a1247fab0b02b110c1106, Kernel ca1f96334267ab8d47b2c9d535cdc9920fdde269 and Kernel 7.1.6.
In the Linux kernel, the following vulnerability has been resolved: arm_mpam: guard MBWU state before adding it to garbage __destroy_component_cfg() adds each RIS mbwu_state object to the MPAM garbage list when destroying component configuration. However, mbwu_state is allocated per RIS and only for RISes with MBWU monitors. A component can therefore have comp->cfg allocated while some RISes still have ris->mbwu_state set to NULL. Passing a NULL mbwu_state to add_to_garbage() dereferences the NULL pointer inside the macro. Skip RISes that do not have an mbwu_state object before adding them to the garbage list.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=41e8a14950e1732af51cfec8fa09f8ded02a5ca9 <977f52909c624210178a1247fab0b02b110c1106, >=41e8a14950e1732af51cfec8fa09f8ded02a5ca9 <ca1f96334267ab8d47b2c9d535cdc9920fdde269 | 977f52909c624210178a1247fab0b02b110c1106, ca1f96334267ab8d47b2c9d535cdc9920fdde269 |
| linux-kernel: Kernel | >=6.19.0 <7.1.6 | 7.1.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