Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] mailbox: Fix Critical and High issues reported by Sashiko
@ 2026-12-03  8:28 Lee Jones
  2026-12-03  8:28 ` [PATCH 07/10] mailbox: sun6i-msgbox: Free IRQ before disabling clock on teardown Lee Jones
  2026-12-03  8:28 ` [PATCH 08/10] mailbox: sun6i-msgbox: Synchronise IRQ during channel shutdown Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Lee Jones @ 2026-12-03  8:28 UTC (permalink / raw)
  To: lee
  Cc: linux-kernel, Albert Ou, Alexandre Ghiti, Anup Patel,
	Beleswar Padhi, Bjorn Andersson, Chen-Yu Tsai, Huang Yiwei,
	Jassi Brar, Jernej Skrabec, Kumar Gutta, linux-arm-kernel,
	linux-arm-msm, linux-riscv, linux-sunxi, Manivannan Sadhasivam,
	Nishanth Menon, Palmer Dabbelt, Pan Chuang, Paul Walmsley,
	Philipp Zabel, Raghavendra Rao Ananta, Rahul Pathak, Rob Rice,
	Samuel Holland, Sudeep Holla, Thierry Reding

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



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

end of thread, other threads:[~2026-12-03  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  8:28 [PATCH 00/10] mailbox: Fix Critical and High issues reported by Sashiko Lee Jones
2026-12-03  8:28 ` [PATCH 07/10] mailbox: sun6i-msgbox: Free IRQ before disabling clock on teardown Lee Jones
2026-12-03  8:28 ` [PATCH 08/10] mailbox: sun6i-msgbox: Synchronise IRQ during channel shutdown Lee Jones

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