Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] MPAM Fixes for UAF and NPE on unbind
@ 2026-08-06 14:46 Ben Horgan
  2026-08-06 14:46 ` [PATCH v1 1/2] arm_mpam: Fix a NULL pointer dereference on unbinding after an error interrupt Ben Horgan
  2026-08-06 14:46 ` [PATCH v1 2/2] arm_mpam: Disable driver unbind to avoid UAF Ben Horgan
  0 siblings, 2 replies; 5+ messages in thread
From: Ben Horgan @ 2026-08-06 14:46 UTC (permalink / raw)
  To: ben.horgan
  Cc: james.morse, reinette.chatre, fenghuay, linux-kernel,
	linux-arm-kernel, dave.martin, andre.przywara, will,
	catalin.marinas

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-06 19:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 14:46 [PATCH v1 0/2] MPAM Fixes for UAF and NPE on unbind Ben Horgan
2026-08-06 14:46 ` [PATCH v1 1/2] arm_mpam: Fix a NULL pointer dereference on unbinding after an error interrupt Ben Horgan
2026-08-06 15:38   ` Andre Przywara
2026-08-06 19:36     ` Ben Horgan
2026-08-06 14:46 ` [PATCH v1 2/2] arm_mpam: Disable driver unbind to avoid UAF Ben Horgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox