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 BDB3B3CB578 for ; Mon, 10 Aug 2026 12:05:27 +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=1786363528; cv=none; b=LgNSg30we1ibfYY8KrN8PrpE2lGHL2SimmIugF5/5Z0iPaah5RMzlzJs5bDPvFBQFzt0R38v+UEiOp72rix4ZBP83P2oJw2agZ6iz0NSrW+Mek6mgivl+0yFGkEZsP23O8eJwt43L9ASG6KYjlyd5nJGaIOY/ogWCfDwN1ilKvI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363528; c=relaxed/simple; bh=dtUy0s/hRtG8X5QFPoYE0s09fJqwGuS8H3XXZAuSJ6w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z9zOb7fndvIbf6C3mRQh3cjM1oJIOJze4443l5Je6m5igLT26+Xd3cbHJZvB2i88Hvo19mRA+8bQTIFd150DjU+ZBURnYUtk4BFMnwSGmcUo7bekYxCJMHRXm+TZPTaEMT3kKU7QD0IsjPePt12+AslF1PRo/fpIlAMU/CNrmds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=imwBsR8Z; 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="imwBsR8Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D2C41F000E9; Mon, 10 Aug 2026 12:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363527; bh=e84yJ3IjWU2ocfgOTHgK1xh8fa3rgkcX0rg1mDPYwA4=; h=From:To:Cc:Subject:Date:Reply-To; b=imwBsR8ZW4OUBTELVFTKF6X1khfNpfIm5H8BfEcIW3cY4P9Hu8StlJIfaXTR6jr4C eyhUnQjWQ368JKMUx4piJN99pUeu2Va4r9nZBXOwR8491SrDfOp0gSOljqHDS25Ozi 4kVxHqbj09sEdszZSzBSLuU8j01lNhwcD3GA38v8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68201: ALSA: timer: drain a slave's callback before its master detaches it Date: Mon, 10 Aug 2026 13:58:38 +0200 Message-ID: <2026081011-CVE-2026-68201-df47@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=3034; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=T3PB7Hv7GXL6bZgAMLH/y3sQfHT7UaNi4N5XemseJlw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe6YvfbpB+dL5ifkzEn3n2c/e0Ne2eKX2dfcAlsOzV 3Mc+hh6ryOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8vcQw4LtH+avu5VXrc8/ M+fEvp3FkUJCU18yLNhzwFPqS/pmXo6ZTx0d6jlOhNW/CAEA 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: timer: drain a slave's callback before its master detaches it snd_timer_close_locked() drains the closing instance's own in-flight callback (IFLG_CALLBACK) before freeing it, but not its slaves'. When a master instance is closed, remove_slave_links() clears each slave's ->timer; the slave's own close then reads timer == NULL and takes the branch that skips the drain entirely (snd_timer_stop_slave() also no-ops on a NULL timer). So a slave whose callback is still running when the master is closed is freed underneath the live callback, leading to use-after-free. Drain the slaves too before remove_slave_links() severs them. snd_timer_stop() has already taken this instance off the active list, so no new slave callback can be queued. Take the slaves off the ack list so a pending one can't fire either, then wait for any that is already in flight. The Linux kernel CVE team has assigned CVE-2026-68201 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 37745918e0e7575bc40f38da93a99b9fa6406224 and fixed in 6.12.101 with commit cd461bcfcdf8d6b6b5365941c1d3859f8bc77aa0 Issue introduced in 6.12 with commit 37745918e0e7575bc40f38da93a99b9fa6406224 and fixed in 6.18.42 with commit 426c0ff1c433d6030610ad4f9375746dfe931caa Issue introduced in 6.12 with commit 37745918e0e7575bc40f38da93a99b9fa6406224 and fixed in 7.1.6 with commit 2b298997786876b225cff2446e11a0fa6f602f6d Issue introduced in 6.12 with commit 37745918e0e7575bc40f38da93a99b9fa6406224 and fixed in 7.2-rc5 with commit bdefe1346a8e6b8dc8593406dc2617e985fcbcab 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-68201 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/timer.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/cd461bcfcdf8d6b6b5365941c1d3859f8bc77aa0 https://git.kernel.org/stable/c/426c0ff1c433d6030610ad4f9375746dfe931caa https://git.kernel.org/stable/c/2b298997786876b225cff2446e11a0fa6f602f6d https://git.kernel.org/stable/c/bdefe1346a8e6b8dc8593406dc2617e985fcbcab