CyberRota Analysis
AI-GeneratedThe Linux kernel is vulnerable due to improper handling of the mbwu_state object in the arm_mpam component, which can lead to a NULL pointer dereference when attempting to add certain components to the garbage list. This flaw could potentially cause system instability or crashes in environments utilizing MBWU monitors. Organizations using affected Linux distributions, particularly those relying on the arm_mpam functionality, should prioritize patching to mitigate any risks associated with this vulnerability.
Original NVD Description
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.