[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ms5y9chq.wl-tiwai@suse.de>
Date: Sat, 11 Oct 2025 08:30:25 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Denis Arefev <arefev@...mel.ru>
Cc: David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Stefan Binding <sbinding@...nsource.cirrus.com>,
linux-sound@...r.kernel.org,
patches@...nsource.cirrus.com,
linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org,
stable@...r.kernel.org
Subject: Re: [PATCH] ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state()
On Tue, 07 Oct 2025 09:38:31 +0200,
Denis Arefev wrote:
>
> Return value of a function acpi_evaluate_dsm() is dereferenced without
> checking for NULL, but it is usually checked for this function.
>
> acpi_evaluate_dsm() may return NULL, when acpi_evaluate_object() returns
> acpi_status other than ACPI_SUCCESS, so add a check to prevent the crach.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 447106e92a0c ("ALSA: hda: cs35l41: Support mute notifications for CS35L41 HDA")
> Cc: stable@...r.kernel.org
> Signed-off-by: Denis Arefev <arefev@...mel.ru>
Applied now. Thanks.
Takashi
Powered by blists - more mailing lists