diff options
| author | Denis Arefev <arefev@swemel.ru> | 2025-10-07 10:38:31 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-10-11 08:28:36 +0200 |
| commit | 8527bbb33936340525a3504a00932b2f8fd75754 (patch) | |
| tree | 0b63b1f5fa7fe393edaeaf061f987504d46a72d0 /scripts/lib/kdoc/kdoc_parser.py | |
| parent | ca7a2317993efa26eb2100a1523548f1b3a07af0 (diff) | |
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state()
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@vger.kernel.org
Signed-off-by: Denis Arefev <arefev@swemel.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
