[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170116551879.73476.11576514501948917974.b4-ty@kernel.org>
Date: Tue, 28 Nov 2023 15:28:38 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Bard Liao <yung-chuan.liao@...ux.intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Sanyog Kale <sanyog.r.kale@...el.com>,
Shreyas NC <shreyas.nc@...el.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: stable@...r.kernel.org
Subject: Re: [PATCH] soundwire: stream: fix NULL pointer dereference for
multi_link
On Fri, 24 Nov 2023 19:01:36 +0100, Krzysztof Kozlowski wrote:
> If bus is marked as multi_link, but number of masters in the stream is
> not higher than bus->hw_sync_min_links (bus->multi_link && m_rt_count >=
> bus->hw_sync_min_links), bank switching should not happen. The first
> part of do_bank_switch() code properly takes these conditions into
> account, but second part (sdw_ml_sync_bank_switch()) relies purely on
> bus->multi_link property. This is not balanced and leads to NULL
> pointer dereference:
>
> [...]
Applied, thanks!
[1/1] soundwire: stream: fix NULL pointer dereference for multi_link
commit: e199bf52ffda8f98f129728d57244a9cd9ad5623
Best regards,
--
~Vinod
Powered by blists - more mailing lists