[PATCH 00/10] mailbox: Fix Critical and High issues reported by Sashiko
From: Lee Jones
Date: Thu Dec 03 2026 - 03:28:26 EST
This series fixes 10 Critical and High issues across mailbox controller
drivers (qcom-ipcc, ti-msgmgr, riscv-sbi-mpxy, bcm-pdc, sun6i-msgbox,
and arm_mhu_db), covering uninitialised phandle puts, signed index and
shmem out-of-bounds accesses, per-CPU hardirq races, DMA pool and IRQ
domain teardown use-after-frees, IRQ/clock/shutdown synchronisation
races, premature controller registration, and silent queue-error
returns.
These issues were reported by Sashiko.
Cc: Albert Ou <aou@xxxxxxxxxxxxxxxxx>
Cc: Alexandre Ghiti <alex@xxxxxxxx>
Cc: Anup Patel <apatel@xxxxxxxxxxxxxxxx>
Cc: Beleswar Padhi <b-padhi@xxxxxx>
Cc: Bjorn Andersson <andersson@xxxxxxxxxx>
Cc: Chen-Yu Tsai <wens@xxxxxxxxxx>
Cc: Huang Yiwei <quic_hyiwei@xxxxxxxxxxx>
Cc: Jassi Brar <jassisinghbrar@xxxxxxxxx>
Cc: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
Cc: Kumar Gutta <vnkgutta@xxxxxxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-arm-msm@xxxxxxxxxxxxxxx
Cc: linux-riscv@xxxxxxxxxxxxxxxxxxx
Cc: linux-sunxi@xxxxxxxxxxxxxxx
Cc: Manivannan Sadhasivam <mani@xxxxxxxxxx>
Cc: Nishanth Menon <nm@xxxxxx>
Cc: Palmer Dabbelt <palmer@xxxxxxxxxxx>
Cc: Pan Chuang <panchuang@xxxxxxxx>
Cc: Paul Walmsley <pjw@xxxxxxxxxx>
Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
Cc: Raghavendra Rao Ananta <rananta@xxxxxxxxxxxxxx>
Cc: Rahul Pathak <rahul@xxxxxxxxxxxxxx>
Cc: Rob Rice <rob.rice@xxxxxxxxxxxx>
Cc: Samuel Holland <samuel@xxxxxxxxxxxx>
Cc: Sudeep Holla <sudeep.holla@xxxxxxxxxx>
Cc: Thierry Reding <treding@xxxxxxxxxx>
Lee Jones (10):
mailbox: qcom-ipcc: Skip of_node_put() on phandle parse failure
mailbox: ti-msgmgr: Use unsigned IDs in ti_msgmgr_of_xlate()
mailbox: riscv-sbi-mpxy: Protect per-CPU shmem access with irqsave
mailbox: riscv-sbi-mpxy: Validate shmem bounds in message send helpers
mailbox: bcm-pdc: Unregister mailbox controller before destroying DMA
pools
mailbox: qcom-ipcc: Remove IRQ domain via devm to avoid ISR
use-after-free
mailbox: sun6i-msgbox: Free IRQ before disabling clock on teardown
mailbox: sun6i-msgbox: Synchronise IRQ during channel shutdown
mailbox: arm_mhu_db: Initialise channel registers before controller
registration
mailbox: ti-msgmgr: Return -EIO on queue error in
ti_msgmgr_send_data()
drivers/mailbox/arm_mhu_db.c | 19 ++--
drivers/mailbox/bcm-pdc-mailbox.c | 4 +-
drivers/mailbox/qcom-ipcc.c | 33 ++++---
drivers/mailbox/riscv-sbi-mpxy-mbox.c | 121 ++++++++++++++------------
drivers/mailbox/sun6i-msgbox.c | 25 ++++--
drivers/mailbox/ti-msgmgr.c | 8 +-
6 files changed, 118 insertions(+), 92 deletions(-)
--
2.56.1.911.g883d8bcb20-goog