[PATCH 00/10] mailbox: Fix Critical and High issues reported by Sashiko

Lee Jones lee at kernel.org
Thu Dec 3 00:28:00 PST 2026


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 at eecs.berkeley.edu>
Cc: Alexandre Ghiti <alex at ghiti.fr>
Cc: Anup Patel <apatel at ventanamicro.com>
Cc: Beleswar Padhi <b-padhi at ti.com>
Cc: Bjorn Andersson <andersson at kernel.org>
Cc: Chen-Yu Tsai <wens at kernel.org>
Cc: Huang Yiwei <quic_hyiwei at quicinc.com>
Cc: Jassi Brar <jassisinghbrar at gmail.com>
Cc: Jernej Skrabec <jernej.skrabec at gmail.com>
Cc: Kumar Gutta <vnkgutta at codeaurora.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-arm-msm at vger.kernel.org
Cc: linux-riscv at lists.infradead.org
Cc: linux-sunxi at lists.linux.dev
Cc: Manivannan Sadhasivam <mani at kernel.org>
Cc: Nishanth Menon <nm at ti.com>
Cc: Palmer Dabbelt <palmer at dabbelt.com>
Cc: Pan Chuang <panchuang at vivo.com>
Cc: Paul Walmsley <pjw at kernel.org>
Cc: Philipp Zabel <p.zabel at pengutronix.de>
Cc: Raghavendra Rao Ananta <rananta at codeaurora.org>
Cc: Rahul Pathak <rahul at summations.net>
Cc: Rob Rice <rob.rice at broadcom.com>
Cc: Samuel Holland <samuel at sholland.org>
Cc: Sudeep Holla <sudeep.holla at kernel.org>
Cc: Thierry Reding <treding at nvidia.com>

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




More information about the linux-arm-kernel mailing list