Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3F4D53D3D00 for ; Fri, 28 Aug 2026 06:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900155; cv=none; b=t07RPYuoMzJxNpZoqsqjO19enIPlycNZRR1zDNlE4BNpu5JJKrSPoz2pgHEkY93g9u5i5yYbgu9vsyIoOJyrQ+EvILZo7sLzyJ1+RYND+x7BYxqHAUUkL1Izz5syJk4xrFqE6gT3YZWT2MfFEVrZvlZNP2SddWgwUmRyjxWss+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900155; c=relaxed/simple; bh=lTAus4bh36Qmx5GYz7Nvo3sP+mFXa53bkh7kJRLM36Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZtBeE5tRr5usfCDzLedRmG058Cl1Rfpt/bdIMgwG5jOgF+15PaHmHWWFg2LqANBoC/hSyvnHpSt3ebWEUMDfeKEhGtUE1MYgPUTb2yTTfnkAO7ELHb2xMNnckYpdGTIY+VRdwljy482FjDLVZvyIBFgG7j6sQ+dD8dql6A5vy2Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IEWLNH/L; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IEWLNH/L" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B3281F000E9; Fri, 28 Aug 2026 06:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900153; bh=kmnXrsk9EVTye1yCLoUalzHumDjbC2nx/Z5UicC4O2Q=; h=From:To:Cc:Subject:Date:Reply-To; b=IEWLNH/L697pEywqNzguoxaiCjnXXwqDyoK9mx6OQzV+Zw2mUZMuVb7j5yUWkTZCT lEkhfTz1/twaCz0BHLvBZOcdAJkdRW2pMhEbOId8n9OtPjCVx6JObCwJuF1Ih0m4Qd 7jNR09ldggjaQyI5gnBodG6RTCiuLoMzyKkmyiH0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80716: ALSA: pcm: wake linked drain waiters on unlink Date: Fri, 28 Aug 2026 08:53:39 +0200 Message-ID: <2026082809-CVE-2026-80716-33fd@gregkh> X-Mailer: git-send-email 2.55.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=4227; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N30hARKlmvx22Dja2ZIpIx5tskSm0nsDx7KcFLgdgGU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDUKPNNbxcae1Ta/J0uAXLwu02+3Xv1QuV5f5je3Pf 7f95Pw6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLNTxnmh2yK+u6pOqPM50TG h2lHH38+5c/2iWGe7beyb7VfZd4bKilaC95vXxuh1G4GAA== 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: pcm: wake linked drain waiters on unlink snd_pcm_drain() on a linked stream parks an on-stack wait entry on the drained peer's runtime->sleep, and after schedule_timeout() removes it only if that peer is still found in the caller's group. If group membership changes during the wait and the sleep ends by signal or timeout (so autoremove_wake_function() does not run), finish_wait() is skipped and snd_pcm_drain() returns with the entry still queued on that stream's sleep list; a later wake_up() then walks a freed stack frame. This is reachable by unlinking either the drained or the draining stream. Unlike the close path (snd_pcm_drop() -> snd_pcm_post_stop()), snd_pcm_unlink() never wakes the sleep queues. Wake every group member under the group lock before the membership change, so a linked drainer is released and drops its entry while the streams are still grouped. The window was opened when snd_pcm_link_rwsem stopped being held across the wait and the removal became conditional on group membership (see Fixes). The later switch to finish_wait() kept that conditional removal, so the signal/timeout case remained. The Linux kernel CVE team has assigned CVE-2026-80716 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 5.10.265 with commit c172e4c53321ee6429955295ea133bc3597a3ca9 Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 5.15.216 with commit 3035bb784cea3f338934f5042dd3f35225a51b2e Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 6.1.183 with commit 1c1b7e8e545ce65e40f65b55c432765e058ea98f Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 6.6.151 with commit e8b784a3f4fba3ea9c4d05138ecfa784a069627f Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 6.12.103 with commit e8315330e4ec09c0cac625515400e13d0ee22b81 Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 6.18.44 with commit 2940cc3cf43c72126b74ee6376314c195382023a Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 7.1.8 with commit db09bc4ab19ce548a078240d2374792523953500 Issue introduced in 5.1 with commit f57f3df03a8e6010e321fa0258d3e054713c3cb7 and fixed in 7.2 with commit f495b6c4c8594122918552c9be2b51eb71647cd9 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-80716 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/pcm_native.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/c172e4c53321ee6429955295ea133bc3597a3ca9 https://git.kernel.org/stable/c/3035bb784cea3f338934f5042dd3f35225a51b2e https://git.kernel.org/stable/c/1c1b7e8e545ce65e40f65b55c432765e058ea98f https://git.kernel.org/stable/c/e8b784a3f4fba3ea9c4d05138ecfa784a069627f https://git.kernel.org/stable/c/e8315330e4ec09c0cac625515400e13d0ee22b81 https://git.kernel.org/stable/c/2940cc3cf43c72126b74ee6376314c195382023a https://git.kernel.org/stable/c/db09bc4ab19ce548a078240d2374792523953500 https://git.kernel.org/stable/c/f495b6c4c8594122918552c9be2b51eb71647cd9