[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176841062848.1986261.4427039972750135925.b4-ty@ti.com>
Date: Wed, 14 Jan 2026 11:10:41 -0600
From: Nishanth Menon <nm@...com>
To: <ssantosh@...nel.org>, Wentao Liang <vulab@...as.ac.cn>
CC: Nishanth Menon <nm@...com>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <stable@...r.kernel.org>
Subject: Re: [PATCH v3] soc: ti: pruss: fix double free in pruss_clk_mux_setup()
Hi Wentao Liang,
On Tue, 13 Jan 2026 01:47:16 +0000, Wentao Liang wrote:
> In the pruss_clk_mux_setup(), the devm_add_action_or_reset() indirectly
> calls pruss_of_free_clk_provider(), which calls of_node_put(clk_mux_np)
> on the error path. However, after the devm_add_action_or_reset()
> returns, the of_node_put(clk_mux_np) is called again, causing a double
> free.
>
> Fix by returning directly, to avoid the duplicate of_node_put().
>
> [...]
I have applied the following to branch ti-drivers-soc-next on [1].
Thank you!
[1/1] soc: ti: pruss: fix double free in pruss_clk_mux_setup()
commit: 80db65d4acfb9ff12d00172aed39ea8b98261aad
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
Powered by blists - more mailing lists