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 1E7992EC541 for ; Tue, 9 Dec 2025 04:10:47 +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=1765253450; cv=none; b=TWhYi6h2mysugLigceayf95QEHGJomfGxDdX5ZWJeo3MW4Gqlte4xxLUApxj/4xBmJD2f2vbRMEkm4eLT8uIKohVVT7o2cAKBPoRA+SBZiDUMOmMaXT9jmZsXYiS2QwZ67mrEDMYXHtbxR0I41Q9UjVFjzpXQogP40WeaNn6PgA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765253450; c=relaxed/simple; bh=KxwGGXIlFSIJk3PgfFl+UrYwt0+WZ4FxFCqejLbDHu4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CQy5LS3979e1wNFDZ/FB2wfdtxzTeJFLDdURtxJrHHanKlcIEp9EkzgWW4bxUx9AyU0IVvVD06/YbrFPnMF09zACnrHHekPHhOleeDT4gm/06I5y9FLfTwS7CuGimq0TMuGNqlF36RJifLlqIwNqlDaDPKrJnpwimtnDJkMpooQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RIpBldZn; 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="RIpBldZn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65470C4CEF5; Tue, 9 Dec 2025 04:10:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765253447; bh=KxwGGXIlFSIJk3PgfFl+UrYwt0+WZ4FxFCqejLbDHu4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RIpBldZn6njB9p5izVpwEBHoShsuGNiGoXBFXyswF8tPX02m0+vzHwOUnBFGCxdRg eOQrPSVA68elqYEMQC2EJiYiufKYcMTY3s01f6Zac76qTk3orJzkSoUfZX765vyH6Z I4WxeKUlZvoGtzRPY46n+SlC7+OhQC6fP44vLpFs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40344: ASoC: Intel: avs: Disable periods-elapsed work when closing PCM Date: Tue, 9 Dec 2025 13:10:26 +0900 Message-ID: <2025120912-CVE-2025-40344-0c59@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2343; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=idvHo6lhDpP9y3FWI77pTs1ba8TyvBfLSdFduHNjMN4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmC1UaVvJOfSn76ujiyd/eud9Yt1rM6dmmMKWbgo1Pl C7+mKSa3xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATsdjMME+1+P3+5HeLF219 XlJVZ3SuPXdBvhnD/NjyZfLHWY6WWIgf5z+Q6O2w+X/ETgA= 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: ASoC: Intel: avs: Disable periods-elapsed work when closing PCM avs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio stream while period-elapsed work services its IRQs. As the former frees the DAI's private context, these two operations shall be synchronized to avoid slab-use-after-free or worse errors. The Linux kernel CVE team has assigned CVE-2025-40344 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 0dbb186c3510cad4e9f443e801bf2e6ab5770c00 and fixed in 6.12.58 with commit ca6d2b7aca778afbf8c0c4b330d10cb228c14052 Issue introduced in 6.12 with commit 0dbb186c3510cad4e9f443e801bf2e6ab5770c00 and fixed in 6.17.8 with commit b41fca4aa60be896ba8a81b57aac5dcc6eee66c0 Issue introduced in 6.12 with commit 0dbb186c3510cad4e9f443e801bf2e6ab5770c00 and fixed in 6.18 with commit 845f716dc5f354c719f6fda35048b6c2eca99331 Issue introduced in 6.11.9 with commit 31087af37d6b1586b76d4acf3e0c1634a4617ba6 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-40344 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/soc/intel/avs/pcm.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/ca6d2b7aca778afbf8c0c4b330d10cb228c14052 https://git.kernel.org/stable/c/b41fca4aa60be896ba8a81b57aac5dcc6eee66c0 https://git.kernel.org/stable/c/845f716dc5f354c719f6fda35048b6c2eca99331