[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7eed86f6-97a9-487a-8161-3617597f7391@oss.qualcomm.com>
Date: Wed, 12 Nov 2025 10:09:38 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@....qualcomm.com>
To: Vinod Koul <vkoul@...nel.org>, Srinivas Kandagatla <srini@...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 11/12/25 5:13 AM, Vinod Koul wrote:
>
> 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!
These are slimbus patches? any reason why they are going via soundwire tree?
--srini>
> [1/1] slimbus: ngd: Fix reference count leak in qcom_slim_ngd_notify_slaves
> commit: bcd8db9640bcad313f7fbf8433fcb5459cdd760a
>
> Best regards,
Powered by blists - more mailing lists