[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176275952201.16494.2036590483704839905.b4-ty@kernel.org>
Date: Mon, 10 Nov 2025 07:25:22 +0000
From: Srinivas Kandagatla <srini@...nel.org>
To: Vinod Koul <vkoul@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-arm-msm@...r.kernel.org, linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org, Miaoqian Lin <linmq006@...il.com>
Cc: stable@...r.kernel.org
Subject: Re: [PATCH] slimbus: ngd: Fix reference count leak in
qcom_slim_ngd_notify_slaves
On Mon, 27 Oct 2025 14:06:01 +0800, Miaoqian Lin wrote:
> The function qcom_slim_ngd_notify_slaves() calls of_slim_get_device() which
> internally uses device_find_child() to obtain a device reference.
> According to the device_find_child() documentation,
> the caller must drop the reference with put_device() after use.
>
> Found via static analysis and this is similar to commit 4e65bda8273c
> ("ASoC: wcd934x: fix error handling in wcd934x_codec_parse_data()")
>
> [...]
Applied, thanks!
[1/1] slimbus: ngd: Fix reference count leak in qcom_slim_ngd_notify_slaves
commit: 79d84af332094852614b15638f7ffe18f5f7966e
Best regards,
--
Srinivas Kandagatla <srini@...nel.org>
Powered by blists - more mailing lists