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 CAA813DE440 for ; Tue, 6 Oct 2026 10:25:02 +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=1791282303; cv=none; b=I29O26sVY2kOKt/1tVXglA19jIybD+zt/OPoTm4mh2SNo450XV6kSNWedc5JcKB/MZhHCXbL8X3DvcMjbXtu3UkYLuR13p7FhHGupJFl2IOm4EuL7ut8sVwvY8ch/rOcL1eAXU7uE6ZsybjX8zVfNbFSk8I4a97hewcZMqJ53CA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282303; c=relaxed/simple; bh=vUlOl1nUfmUijR8djDno176p21sUP06GR229iIiMBm4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f2QbUJ5iRwSBfqv3Xt0T104Fc47kK8VxdkkunpJMDsVJgXFQ79R/ONmHwFe6865pwIX3qpKD5+GtanN6/8BdwyJzN/96gGH0A4PvQUJX72gPFLFyX2KPO2PwNy9CJW987/e+Ni+H+yCujcWMojdu6NAjB2BdJHXzTTD96ipw1hc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QY6zxDRu; 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="QY6zxDRu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E9451F000FF; Tue, 6 Oct 2026 10:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282302; bh=KhnT9OVVsTdi4luuZhrUYcfAdknPE1bXsdM2m405H+E=; h=From:To:Cc:Subject:Date:Reply-To; b=QY6zxDRubUjkVcMuG0eYZyXDSyogmfRgX8WqxtibExtogs8rLhDYFEsnTHxxNtRV2 cGO1nzQfSJBl5YCY5StGcq6ddj4A0JoCEKCbx3xR1PV++D9i3ts7TNaNtx3cd/pgFn zp8ho+KFSLaL04iVQPYmv7jdrrqruXbVhvzYUcIM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98266: ALSA: core: Fix potential UAF after asynchronous card release Date: Tue, 6 Oct 2026 10:46:07 +0200 Message-ID: <2026100600-CVE-2026-98266-c15e@gregkh> X-Mailer: git-send-email 2.56.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=2700; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YL5XBGOZQ5TuGp82Gokq6O8cByMp1O7vAQuhwHRQ1nM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtvIIb27JWREaFPSVyX3mhV0JvMeX/3XicrNxXxbSv 7HR8qt2RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkog3DXLl1+1PvT99yUzWr ecqHTW8PGW7niWSYX5HR/Sipw6nBffbl+OK4C0/W9zusAwA= 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: Fix potential UAF after asynchronous card release Usually a sound driver releases the resources assigned to the card via snd_card_free(), and it synchronizes with the whole release procedure. However, when the card is released asynchronously via snd_card_free_when_closed() like USB-audio driver, the situation is slightly different; although the snd_card_disconnect() call at the disconnection guarantees that any newer accesses will be gated, the in-flight tasks might be still accessing to the underlying card->dev device even after the disconnection, which would cause a use-after-free in the end, as reported by fuzzers. For addressing the bug above, this patch takes the refcount of card->dev at initialization of the card object, and releases at its destructor. This assures the availability of the card->dev in its whole lifecycle. The Linux kernel CVE team has assigned CVE-2026-98266 to this issue. Affected and fixed versions =========================== Fixed in 6.12.112 with commit 5c0df40aa577e405c458e44e8d458dd78407f4af Fixed in 6.18.54 with commit 2dec4642589a663e064e4411d92d6e8fa250d53b Fixed in 7.2.8 with commit 398b21608955c9712a012355b69a39407367edc9 Fixed in 7.3-rc4 with commit fd95e68df6fe66344161a1329cbe5e5805e7b704 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-98266 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/5c0df40aa577e405c458e44e8d458dd78407f4af https://git.kernel.org/stable/c/2dec4642589a663e064e4411d92d6e8fa250d53b https://git.kernel.org/stable/c/398b21608955c9712a012355b69a39407367edc9 https://git.kernel.org/stable/c/fd95e68df6fe66344161a1329cbe5e5805e7b704