[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172899805803.948158.17513489982194163246.b4-ty@arm.com>
Date: Tue, 15 Oct 2024 14:15:03 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: cristian.marussi@....com,
nathan@...nel.org,
ndesaulniers@...gle.com,
morbo@...gle.com,
justinstitt@...gle.com,
Su Hui <suhui@...china.com>
Cc: Sudeep Holla <sudeep.holla@....com>,
arm-scmi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] firmware: arm_scmi: fix the double free in scmi_debugfs_common_setup()
On Fri, 11 Oct 2024 18:40:02 +0800, Su Hui wrote:
> Clang static checker(scan-build) warning:
> drivers/firmware/arm_scmi/driver.c:line 2915, column 2
> Attempt to free released memory.
>
> When devm_add_action_or_reset() failed , scmi_debugfs_common_cleanup()
> will run twice which caused double free of 'dbg->name'.
> Remove the redundant scmi_debugfs_common_cleanup() to fix this problem.
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!
[1/1] firmware: arm_scmi: fix the double free in scmi_debugfs_common_setup()
https://git.kernel.org/sudeep.holla/c/39b13dce1a91
--
Regards,
Sudeep
Powered by blists - more mailing lists