Skip to contentSkip to conversation

CVE-2025-68345: ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acpi()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 24, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acpi()

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.

The Linux kernel CVE team has assigned CVE-2025-68345 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.17 with commit 7b2f3eb492dac7665c75df067e4d8e4869589f4a and fixed in 6.17.13 with commit c28946b7409b7b68fb0481ec738c8b04578b11c6
	Issue introduced in 5.17 with commit 7b2f3eb492dac7665c75df067e4d8e4869589f4a and fixed in 6.18.2 with commit 343fa9800cf9870ec681e21f0a6f2157b74ae520
	Issue introduced in 5.17 with commit 7b2f3eb492dac7665c75df067e4d8e4869589f4a and fixed in 6.19-rc1 with commit c34b04cc6178f33c08331568c7fd25c5b9a39f66

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2025-68345

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	sound/hda/codecs/side-codecs/cs35l41_hda.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/c28946b7409b7b68fb0481ec738c8b04578b11c6
	https://git.kernel.org/stable/c/343fa9800cf9870ec681e21f0a6f2157b74ae520
	https://git.kernel.org/stable/c/c34b04cc6178f33c08331568c7fd25c5b9a39f66