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 0DAFC36C9EC for ; Thu, 25 Jun 2026 09:44:56 +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=1782380698; cv=none; b=XCXjBaxa9pDXjps03VHXkysQCZCmTqqNfHonDV3eiyqr7XiVUZqxf0hIbNBcRrLy9hzmzsSx513anwOeFwngq0BqCOB3qqI/why+dH28lj3h/j+fzwhMPrOEyjEyf5zG6uEz5TADNUfrC8ofDD9HpVtF+O6W8E/AD0P52MsRPvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380698; c=relaxed/simple; bh=AgflapBLBpNuhAgDGWbTDagtsF+uzQACxYAU4npQVn8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mx1N+Ua6urshbLrVQ1Q8h/FbXabh62bpOPYiktploNIfdDTYFCqGjJdVtslgY9gnfSUO/ny3Amn7/pORF59o3bRCwIh6p/dYgrozPJX8sqC/O1phzUt6uk9xyTxo7sBZjVZEomcwnU2jp8sEjpDboADroweOFgrcVkglr7pLQYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gKxzNmjw; 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="gKxzNmjw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 337171F000E9; Thu, 25 Jun 2026 09:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782380696; bh=XENLtJlH84ElmX1m4cwPqydzBnRcf/P6DQ3+CUbXAFk=; h=From:To:Cc:Subject:Date:Reply-To; b=gKxzNmjwnMFXFbho+w3qc8VeHj5lGbSR5eU2wOTRU0xLsHOBGN06GpDmsLxkAIbPv Hx7/kV+d9mOMXLH1GI9d+Y/PlanmcfY3nPfPE0vuPMUt5vJYxBN6gb3Y0mhelVQ6Mi WzhpxifZyf/C3tCSt7Mw8l0siutWcvJvIOKTr1p8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53242: ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams Date: Thu, 25 Jun 2026 09:41:30 +0100 Message-ID: <2026062511-CVE-2026-53242-45ab@gregkh> X-Mailer: git-send-email 2.54.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=3977; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fADe3GTpV0LlaKVpw9OgxOwiNJ0qv5M39dMDqRKi30Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L7NdHv1oN/b4xbTkucW553cVnvzTddtasqVmgaWzx rx0G2uujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIVzXD/IquwOs/nrRy3bfa 8I+zK6HIQIq5imF+gkCi2ep558u4ue4d83603+DsvWX+AA== 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: Fix wait queue list corruption in snd_pcm_drain() on linked streams snd_pcm_drain() uses init_waitqueue_entry which does not clear entry.prev/next, and add_wait_queue with a conditional remove_wait_queue that is skipped when to_check is no longer in the group after concurrent UNLINK. The orphaned wait entry remains on the unlinked substream sleep queue. On the next drain iteration, add_wait_queue adds the entry to a new queue while still linked on the old one, corrupting both lists. A subsequent wake_up dereferences NULL at the func pointer (mapped from the spinlock at offset 0 of the misinterpreted wait_queue_head_t), causing a kernel panic. Replace init_waitqueue_entry/add_wait_queue/conditional remove_wait_queue with init_wait_entry/prepare_to_wait/ finish_wait. init_wait_entry clears prev/next via INIT_LIST_HEAD on each iteration and sets autoremove_wake_function which auto-removes the entry on wake-up. finish_wait safely handles both the already-removed and still-queued cases. The Linux kernel CVE team has assigned CVE-2026-53242 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.253 with commit 9baee36e8c5443411c4629afabafaff8a46a23fd and fixed in 5.10.259 with commit cac5bf3500ee6422cf64e0df0b5daeecfed42917 Issue introduced in 6.1.167 with commit fc71f888994569f87d5bee20b1ac6c9c1e3a7a79 and fixed in 6.1.176 with commit d842f26a167e77a36f3ed333b9fa99d36ef99fe6 Issue introduced in 6.6.130 with commit 629cf09464cf98670996ea5c191dc9743e6f3f00 and fixed in 6.6.143 with commit d68b621bb5a48051932f1017a6e1bc9b18f854d0 Issue introduced in 6.12.78 with commit ae8f8d30d334bad5b1b3cdb1eb8a0b771f55e432 and fixed in 6.12.94 with commit b053fcd8912f06c30f932f5b8ec41c72de474695 Issue introduced in 6.18.19 with commit 4a758e9a1f5ed722f83c4dd35f867fe811553bcb and fixed in 6.18.36 with commit cd98837db15f323463b8df07282ac723bd5c3fed Issue introduced in 7.0 with commit 9b1dbd69ba6f8f8c69bc7b77c2ce3b9c6ed05ba6 and fixed in 7.0.13 with commit 7c71a9522555ff137a9ca36b15d759ca04d84788 Issue introduced in 7.0 with commit 9b1dbd69ba6f8f8c69bc7b77c2ce3b9c6ed05ba6 and fixed in 7.1 with commit 88fe2e3658726cb21ff2dcf9770bf672f9b9d31b Issue introduced in 6.19.9 with commit c2f64e05a0587a83ec42dbd6b7a7ded79b2ff694 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-53242 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/cac5bf3500ee6422cf64e0df0b5daeecfed42917 https://git.kernel.org/stable/c/d842f26a167e77a36f3ed333b9fa99d36ef99fe6 https://git.kernel.org/stable/c/d68b621bb5a48051932f1017a6e1bc9b18f854d0 https://git.kernel.org/stable/c/b053fcd8912f06c30f932f5b8ec41c72de474695 https://git.kernel.org/stable/c/cd98837db15f323463b8df07282ac723bd5c3fed https://git.kernel.org/stable/c/7c71a9522555ff137a9ca36b15d759ca04d84788 https://git.kernel.org/stable/c/88fe2e3658726cb21ff2dcf9770bf672f9b9d31b