[PATCH v1 0/2] MPAM Fixes for UAF and NPE on unbind

Ben Horgan ben.horgan at arm.com
Thu Aug 6 07:46:29 PDT 2026


The MPAM driver expects to manage all the MSC in a system. At boot it
delays its initialization until it has probed all of them but once
running it is unprepared to have the MSC taken away and that can trigger
UAF and NPE. Workaround this by ensuring it never relinquishes the MSC.

Ben Horgan (2):
  arm_mpam: Fix a NULL pointer dereference on unbinding after an error
    interrupt
  arm_mpam: Disable driver unbind to avoid UAF

 drivers/resctrl/mpam_devices.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.43.0




More information about the linux-arm-kernel mailing list