From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796048050; b=Om2eclcJ9/x2swsmH4s/+ULZnkALXzYaKnCODtUOmsIamH2QNT9zmkSkg2G8N2dynMD4 s23oo/7OH4BzzE719kqBnM1PO3n0lIRIW/gbbFYR2Gea3DVZaRdfkyN6lnEJSCeVUASN/ q/rObpPemOylJXjm9OxvilYC4Fv5keMDR3X6essjCu9/SBW/9Th8YgfRoXh9UpimKvvqG GrxFJdYy8h0w3u7aEVU8nyAWKYknFnXmGo1OFUpDOfcdHkaG9TNjuppAVVpwl5nYDrIr/ So0E+UdjeUQUfZorX15CGWuLy8c4zvyZcb3tOhGbmUlahR1BhRdSVYt9LRENAUYEdNg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796048050; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=UWsOfe/MxsZthFJt1j0g+wyB4AIiFCysPq94JJCv1ps=; b=KAeK6BQ1SSccGm3VpF9D3dvcwmma2E1COansu6d7S/oOJa9IErs3RBChb8H5ZsS/L57M L1eP3j7EHzcQyK4UFjo832dRpp3vFmxPGOKDgT9stPVUOW1MrEhFWqh2DpTr1FkRlXAyt zYEuBsMZzkv7gOJdAr8J3RPkn0X3g4yYmTnk4UxqH0IMaHaRSQ+pZqQAWBA7g3EeomkI0 krZeKilGOKoOG+f9qufkJAloRLJXftXVxs4sSXq4EJKHL+yfXXh3qHTMzOiV06C7dzhSP 0EvJccvArn1zzeRGtYlEpuqwdpUQtN1bUSYeOQ282dGh3hbdYQeJgRrUHrMQM+udNgw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rcuW9xrp; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A45A2606A320 for ; Mon, 30 Nov 2026 14:14:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rcuW9xrp Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76DEF1F00897; Mon, 30 Nov 2026 14:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796048050; bh=UWsOfe/MxsZthFJt1j0g+wyB4AIiFCysPq94JJCv1ps=; h=From:To:Cc:Subject:Date:Reply-To; b=rcuW9xrps00bkDnTCFRUA3VbdtdNYJEi/GK1SZghXhBDJK/NBbCWUgU30qxm5LkCP LP9NuLOdy6gu8KsJS8iw2n3HAKHbWoNsI5/EKWYdh9r3638tjAf8GPcarKkDnj6Okm krQnmFKlaBG2EI2Dggx2C91L7y2PskHdx7t9gm+w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139478: ALSA: core: Add missing barriers for power_ref vs card->shutdown Date: Mon, 30 Nov 2026 14:38:07 +0100 Message-ID: <2026113042-CVE-2026-139478-e511@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3274; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RjPbQmiANDza8fuy0tnSSCwg0dzIUY7n2J2p7tEDnhU=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8Vb+3rPltJN6wZe/MhbMfBh/tPPHdqOH6Wcs/Lw9KM E6d4HruSkcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMRPwLw/yya8x7jq3r+64Q J7Gq8yDnWdUdkSUMCxb+EXo39dj0sF/zDCzt6xYaLnFhqgUA 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: core: Add missing barriers for power_ref vs card->shutdown snd_power_ref_and_wait() increments card->power_ref and then reads card->shutdown (and the power state) locklessly, while snd_card_disconnect() sets card->shutdown and then waits for power_ref to drop to zero via snd_power_sync_ref(). Due to the missing barrier on both sides, the caller proceeds with shutdown still seen as false, while the disconnect side sees a zero refcount and continues tearing down incorrectly. For addressing the potential race, add smp_mb__after_atomic() after the refcount increment and smp_mb() before snd_power_sync_ref() in snd_card_disconnect(). The Linux kernel CVE team has assigned CVE-2026-139478 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.1.193 with commit e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53 Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.6.163 with commit cc27f8fcf2189471008f427df50a2023e874326f Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.12.119 with commit 4d94838df883a4719b977ad77ff975b1279ebb91 Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.18.65 with commit 01e055fb891fc8520763fa87d8d07e04efedabb8 Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 7.3.6 with commit 08f87d507bbc59e099ac3620c4c73109b9e2b0dc Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 7.4-rc1 with commit a6913835735469751f56473f5212eb291a4805e7 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-2026-139478 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/core/init.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/e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53 https://git.kernel.org/stable/c/cc27f8fcf2189471008f427df50a2023e874326f https://git.kernel.org/stable/c/4d94838df883a4719b977ad77ff975b1279ebb91 https://git.kernel.org/stable/c/01e055fb891fc8520763fa87d8d07e04efedabb8 https://git.kernel.org/stable/c/08f87d507bbc59e099ac3620c4c73109b9e2b0dc https://git.kernel.org/stable/c/a6913835735469751f56473f5212eb291a4805e7