Re: [PATCH] i3c: master: adi: initialize the lock before enabling interrupts
Alexandre Belloni <[email protected]> Sun, 5 Jul 2026 23:29:24 +0200
| Newsgroups | org.infradead.lists.linux-i3c,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <178328692971.58266.7124035364355611229.b4-ty@b4> |
On Wed, 17 Jun 2026 23:01:38 +0800, Runyu Xiao wrote:
> adi_i3c_master_probe() requests the IRQ and unmasks REG_IRQ_PENDING_CMDR
> before the controller's IBI state, transfer queue list and transfer
> queue lock are initialized. A pending CMDR interrupt can therefore run
> adi_i3c_master_irq() and take master->xferqueue.lock before the dynamic
> lock has been initialized.
>
> This issue was found by our static analysis tool and then manually
> reviewed against the current tree.
>
> [...]
Applied, thanks!
[1/1] i3c: master: adi: initialize the lock before enabling interrupts
https://git.kernel.org/i3c/c/7296f6898b6d
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
--
linux-i3c mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-i3c