Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 284B334AB0E for ; Thu, 30 Oct 2025 09:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761817716; cv=none; b=GQ0Zu9BefhIE0+Go78LYH4uIIDfpZ5YQDc3VRiMXtRvduu/Eg7smC5U86TDF2awiSYe/ZbbXtKEJTStWdp6oxSeetUFdoBu7g0kN0w88t/hx3bU4XsJn7AewGbzYXepa3sM3B9UG5TPfzBvVdiOwcWN/lNsCx6xeRtjhpvhg1kA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761817716; c=relaxed/simple; bh=lXH4fFQd3Cs52NpSIQHNiFrEGonVPHtsNXuMDd6VtaY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pfc8ET/zGbkf3wnAcHdZ0bwtauGU6fh/UiMEom4/Fv4N9OjqgF0MZEqgSB87QImm+36kTMMv/e/ljU55nqsUXrT4aosu0yRcpuHqKK+SsIW10Wez0D0x9mpgvhbEu3i8B8/r1g75qPwOhhA29pWFMoiSHAwvfLJiBLZCFyziZ0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VMPs5yuK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VMPs5yuK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C4E9C4CEF1; Thu, 30 Oct 2025 09:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761817715; bh=lXH4fFQd3Cs52NpSIQHNiFrEGonVPHtsNXuMDd6VtaY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VMPs5yuKZiPwI+MYF0o546AP6U++66hZJAaalI+MVFMYLcatAal9Fhd5f2LBN2Xlq 8fHfUcd7Ueat2NxOrB5aO40XUK7Vs3Aeq2dpvGqnaqMhXaWAnbl6yG5f+OIh+B8YgC eGxep2BVzrH4E0WL/5fUYmdZzPYQPfy99cVgMrlM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40098: ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_get_acpi_mute_state() Date: Thu, 30 Oct 2025 10:48:25 +0100 Message-ID: <2025103017-CVE-2025-40098-7f8f@gregkh> X-Mailer: git-send-email 2.51.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2165; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xfqEL5RdnhScgFWE3CowVljtPCy9Mx3fmZJrhEmyCQM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnMJokaDvqZylekZGou9kt4+3nf2uh74i4X6/fbx1MEY mes/7qhI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay+hzDgr6ZFxLXnvhicqP+ x8sHKnVOnFedjBnme+nWZCQWWP0XlOLZ/VO39a2Ic8BBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: 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. The Linux kernel CVE team has assigned CVE-2025-40098 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 447106e92a0c86c332d40710436f38f64c322cd6 and fixed in 6.17.5 with commit b518386db2b993d786c431caa9f46ce063c5cb05 Issue introduced in 6.7 with commit 447106e92a0c86c332d40710436f38f64c322cd6 and fixed in 6.18-rc2 with commit 8527bbb33936340525a3504a00932b2f8fd75754 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-40098 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/b518386db2b993d786c431caa9f46ce063c5cb05 https://git.kernel.org/stable/c/8527bbb33936340525a3504a00932b2f8fd75754