[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176839927689.937835.2359558250567308193.b4-ty@kernel.org>
Date: Wed, 14 Jan 2026 19:31:16 +0530
From: Vinod Koul <vkoul@...nel.org>
To: kishon@...nel.org, heiko@...ech.de, Wentao Liang <vulab@...as.ac.cn>
Cc: linux-phy@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
stable@...r.kernel.org
Subject: Re: [PATCH v2] phy: rockchip: inno-usb2: Fix a double free bug in
rockchip_usb2phy_probe()
On Fri, 09 Jan 2026 15:46:26 +0000, Wentao Liang wrote:
> The for_each_available_child_of_node() calls of_node_put() to
> release child_np in each success loop. After breaking from the
> loop with the child_np has been released, the code will jump to
> the put_child label and will call the of_node_put() again if the
> devm_request_threaded_irq() fails. These cause a double free bug.
>
> Fix by returning directly to avoid the duplicate of_node_put().
>
> [...]
Applied, thanks!
[1/1] phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe()
commit: e07dea3de508cd6950c937cec42de7603190e1ca
Best regards,
--
~Vinod
Powered by blists - more mailing lists