From: Lee Jones <lee@kernel.org>
To: lee@kernel.org
Cc: linux-kernel@vger.kernel.org, Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Anup Patel <apatel@ventanamicro.com>,
Beleswar Padhi <b-padhi@ti.com>,
Bjorn Andersson <andersson@kernel.org>,
Chen-Yu Tsai <wens@kernel.org>,
Huang Yiwei <quic_hyiwei@quicinc.com>,
Jassi Brar <jassisinghbrar@gmail.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Kumar Gutta <vnkgutta@codeaurora.org>,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-sunxi@lists.linux.dev,
Manivannan Sadhasivam <mani@kernel.org>,
Nishanth Menon <nm@ti.com>, Palmer Dabbelt <palmer@dabbelt.com>,
Pan Chuang <panchuang@vivo.com>, Paul Walmsley <pjw@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Raghavendra Rao Ananta <rananta@codeaurora.org>,
Rahul Pathak <rahul@summations.net>,
Rob Rice <rob.rice@broadcom.com>,
Samuel Holland <samuel@sholland.org>,
Sudeep Holla <sudeep.holla@kernel.org>,
Thierry Reding <treding@nvidia.com>
Subject: [PATCH 00/10] mailbox: Fix Critical and High issues reported by Sashiko
Date: Thu, 3 Dec 2026 08:28:00 +0000 [thread overview]
Message-ID: <cover.1796286447.git.lee@kernel.org> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee@kernel.org>
To: lee@kernel.org
Cc: linux-kernel@vger.kernel.org, Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Anup Patel <apatel@ventanamicro.com>,
Beleswar Padhi <b-padhi@ti.com>,
Bjorn Andersson <andersson@kernel.org>,
Chen-Yu Tsai <wens@kernel.org>,
Huang Yiwei <quic_hyiwei@quicinc.com>,
Jassi Brar <jassisinghbrar@gmail.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Kumar Gutta <vnkgutta@codeaurora.org>,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-sunxi@lists.linux.dev,
Manivannan Sadhasivam <mani@kernel.org>,
Nishanth Menon <nm@ti.com>, Palmer Dabbelt <palmer@dabbelt.com>,
Pan Chuang <panchuang@vivo.com>, Paul Walmsley <pjw@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Raghavendra Rao Ananta <rananta@codeaurora.org>,
Rahul Pathak <rahul@summations.net>,
Rob Rice <rob.rice@broadcom.com>,
Samuel Holland <samuel@sholland.org>,
Sudeep Holla <sudeep.holla@kernel.org>,
Thierry Reding <treding@nvidia.com>
Subject: [PATCH 00/10] mailbox: Fix Critical and High issues reported by Sashiko
Date: Thu, 3 Dec 2026 08:28:00 +0000 [thread overview]
Message-ID: <cover.1796286447.git.lee@kernel.org> (raw)
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
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2026-12-03 8:28 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 8:28 Lee Jones [this message]
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 01/10] mailbox: qcom-ipcc: Skip of_node_put() on phandle parse failure Lee Jones
2026-12-03 10:38 ` Konrad Dybcio
2026-12-03 8:28 ` [PATCH 02/10] mailbox: ti-msgmgr: Use unsigned IDs in ti_msgmgr_of_xlate() Lee Jones
2026-12-03 8:28 ` [PATCH 03/10] mailbox: riscv-sbi-mpxy: Protect per-CPU shmem access with irqsave Lee Jones
2026-12-03 8:28 ` Lee Jones
2026-12-03 14:32 ` Rahul Pathak
2026-12-03 14:32 ` Rahul Pathak
2026-12-03 15:05 ` Lee Jones
2026-12-03 15:05 ` Lee Jones
2026-12-03 8:28 ` [PATCH 04/10] mailbox: riscv-sbi-mpxy: Validate shmem bounds in message send helpers Lee Jones
2026-12-03 8:28 ` Lee Jones
2026-12-03 8:28 ` [PATCH 05/10] mailbox: bcm-pdc: Unregister mailbox controller before destroying DMA pools Lee Jones
2026-12-03 8:28 ` [PATCH 06/10] mailbox: qcom-ipcc: Remove IRQ domain via devm to avoid ISR use-after-free Lee Jones
2026-12-03 10:39 ` Konrad Dybcio
2026-12-03 8:28 ` [PATCH 07/10] mailbox: sun6i-msgbox: Free IRQ before disabling clock on teardown Lee Jones
2026-12-03 13:43 ` Chen-Yu Tsai
2026-12-03 8:28 ` [PATCH 08/10] mailbox: sun6i-msgbox: Synchronise IRQ during channel shutdown Lee Jones
2026-12-03 13:49 ` Chen-Yu Tsai
2026-12-03 8:28 ` [PATCH 09/10] mailbox: arm_mhu_db: Initialise channel registers before controller registration Lee Jones
2026-12-03 9:40 ` Sudeep Holla
2026-12-03 8:28 ` [PATCH 10/10] mailbox: ti-msgmgr: Return -EIO on queue error in ti_msgmgr_send_data() Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1796286447.git.lee@kernel.org \
--to=lee@kernel.org \
--cc=alex@ghiti.fr \
--cc=andersson@kernel.org \
--cc=aou@eecs.berkeley.edu \
--cc=apatel@ventanamicro.com \
--cc=b-padhi@ti.com \
--cc=jassisinghbrar@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=mani@kernel.org \
--cc=nm@ti.com \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=panchuang@vivo.com \
--cc=pjw@kernel.org \
--cc=quic_hyiwei@quicinc.com \
--cc=rahul@summations.net \
--cc=rananta@codeaurora.org \
--cc=rob.rice@broadcom.com \
--cc=samuel@sholland.org \
--cc=sudeep.holla@kernel.org \
--cc=treding@nvidia.com \
--cc=vnkgutta@codeaurora.org \
--cc=wens@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.