lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEgl4EcoG+MwaQoX@opensource.cirrus.com>
Date: Tue, 10 Jun 2025 13:32:32 +0100
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
        Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
        Bard Liao <yung-chuan.liao@...ux.intel.com>,
        Pierre-Louis Bossart <pierre-louis.bossart@...ux.dev>,
        Vijendar Mukunda <Vijendar.Mukunda@....com>,
        Péter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
        Richard Fitzgerald <rf@...nsource.cirrus.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
        stable@...r.kernel.org, Liam Girdwood <liam.r.girdwood@...el.com>,
        linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: sdw_utils: Fix potential NULL pointer deref in
 is_sdca_endpoint_present()

On Tue, Jun 10, 2025 at 12:32:16PM +0200, Thorsten Blum wrote:
> Check the return value of kzalloc() and exit early to avoid a potential
> NULL pointer dereference.
> 
> Cc: stable@...r.kernel.org
> Fixes: 4f8ef33dd44a ("ASoC: soc_sdw_utils: skip the endpoint that doesn't present")
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---

Reviewed-by: Charles Keepax <ckeepax@...nsource.cirrus.com>

Thanks,
Charles

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ