[lvc-project] [PATCH] ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acpi()
Takashi Iwai
tiwai at suse.de
Fri Dec 5 17:13:29 MSK 2025
On Tue, 02 Dec 2025 11:13:36 +0100,
Denis Arefev wrote:
>
> The acpi_get_first_physical_node() function can return NULL, in which
> case the get_device() function also returns NULL, but this value is
> then dereferenced without checking,so add a check to prevent a crash.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 7b2f3eb492da ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
> Cc: stable at vger.kernel.org
> Signed-off-by: Denis Arefev <arefev at swemel.ru>
Applied now. Thanks.
Takashi
More information about the lvc-project
mailing list