[PATCH 0/2] mailbox: bcm: Unregister controllers before destroying DMA pools

From: Guangshuo Li

Date: Mon Nov 02 2026 - 19:47:37 EST


Explicitly unregister the Broadcom FlexRM and PDC mailbox controllers
before destroying their DMA pools, so channel shutdown can still
release its ring allocations.

Prepared with AI assistance and reviewed by the submitter. The affected
objects were build-tested with W=1; configuration details are included
with each patch. No hardware or fault-injection tests were performed.

Guangshuo Li (2):
mailbox: bcm-flexrm: Fix potential use-after-free during removal
mailbox: bcm-pdc: Fix potential use-after-free during removal

drivers/mailbox/bcm-flexrm-mailbox.c | 4 +++-
drivers/mailbox/bcm-pdc-mailbox.c | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
--
2.43.0