[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176186765078.475593.5246237578344242065.b4-ty@bootlin.com>
Date: Fri, 31 Oct 2025 00:43:38 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: linux-i3c@...ts.infradead.org, linux-kernel@...r.kernel.org,
Frank Li <Frank.Li@....com>
Cc: imx@...ts.linux.dev
Subject: Re: [PATCH v3 1/1] i3c: fix refcount inconsistency in
i3c_master_register
On Thu, 16 Oct 2025 10:38:13 -0400, Frank Li wrote:
> In `i3c_master_register`, a possible refcount inconsistency has been
> identified, causing possible resource leak.
>
> Function `of_node_get` increases the refcount of `parent->of_node`. If
> function `i3c_bus_init` fails, the function returns immediately without
> a corresponding decrease, resulting in an inconsistent refcounter.
>
> [...]
Applied, thanks!
[1/1] i3c: fix refcount inconsistency in i3c_master_register
https://git.kernel.org/abelloni/c/9d4f219807d5
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists