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=1794991358; b=ksGAOrW/Edk53YMFlp/QyP+KLWgmMNF0Y7fKgS8VluXStCi9NS7WOUYKe69jbZZ+xHoP Q/tyL9MjVOK9aaz7b29GlMHty4S+NAsy/lwhqEmTgAcrKb4hbotJ3bA8g883Grb+vHD/l fO8m0Ka2/PQDCZG6VGhFFQMj2LBxunWgKhKEhI3BAR+hy93toHJhH4qNuzgIspaEzKAxn Cy5r+f99H/4ZA0n/Zl4K5JK3fgPE+Diy+0+hw9bcCVag1CqNJlIVSbNl7AahsmidJbcmt LnjzUH5rKWZxJ4SJ4Q2ggtKkXGvPfDR2mkBAzA3c0mlcBrHNGf1PwrtqF2qS7dUPmcA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794991358; 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=HOhVHKZxobEWeYrcYTbHL3ncU9kBUpRuuHqSCZlqfY8=; b=BuInUdCt/em9n9NCci/+IDCE5loIn+ivGAbNGi1l4WJQiZDo6Hmfrj5vNpdf7lgUwY4f DTPM6X0oWjuG7f3xYqTBWhBqCijcsTWxwcRCXmXn9oJknzt0PqF2pnLbohhNSrD/7nIGQ 4x2NkrzPP7eKK7xF6XbxlDe0oCaQvzKghWiByg3rbvkYh4Ma3MA8HwnnxD3K581a55q9x F95KgeVe5zE0zDp2OezSEsyAgzcQgvah4LDI6F/Z+tGrEj6L3QyVCeTgqZwGx3NGiNd6s ibJkzDxj6qz5fB131XyQ6fdwwYxe9uTlP4aobYQdasJH3h+4elZr4dMgJ31y5f6lkIQ== 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=PEXB6YHI; 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 876F8606A8AA for ; Wed, 18 Nov 2026 08:42:38 +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=PEXB6YHI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 882211F000C5; Wed, 18 Nov 2026 08:42:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794991358; bh=HOhVHKZxobEWeYrcYTbHL3ncU9kBUpRuuHqSCZlqfY8=; h=From:To:Cc:Subject:Date:Reply-To; b=PEXB6YHIVw3/sBZRxXByLxEThDAJ4hGDkmW6qtPHn1su7q836HgQ0HVuzRv+Lxp0J 3crCNoQmE0n1OgRs+ASU1u+pxYG1btjBcpBafpKRZU9cNN1t/X+eZgNNbdVmjQpmLS f9mzmvxewJnLwX3JvSHuo2uxnLVVzhkhh5YW5d9c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99317: ALSA: hwdep: Serialize DSP load requests Date: Wed, 18 Nov 2026 09:42:18 +0100 Message-ID: <2026111815-CVE-2026-99317-d292@gregkh> X-Mailer: git-send-email 2.56.0 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=3018; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JN6OXwlR1Z5d9qDv+cYg3cN3D+KU69O/nBnP0NPwt6U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl/U57/m//rg7WxVwhTz2+vRbu2G1y4KM95WSx4f8N7z ikBxQy3OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiXKIMcyU19vtxzH3bPcm5 4fQ21rJH3/a+TGJY0D+/2m3V93OlEmHtm52Xbr6rYJO6GQA= 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: hwdep: Serialize DSP load requests The check of the loaded DSP indices and the call of the driver's dsp_load callback in snd_hwdep_dsp_load() are not serialized. A hwdep file descriptor can be shared among threads, or inherited across fork, so two SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same index can both observe the index as unloaded and enter the driver's callback concurrently, even though the device itself is opened exclusively. This breaks the assumption behind hw->dsp_loaded that a firmware index is loaded only once. For example, snd-usb-usx2y hits WARN_ON(usx2y->as04.buffer) in usx2y_async_seq04_init() and may allocate the US-428 sequence URBs twice. Serialize the check, the callback invocation and the bookkeeping with a per-hwdep mutex, so that the second request returns -EBUSY. The Linux kernel CVE team has assigned CVE-2026-99317 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.118 with commit 200bda52a9fd604e13c57d3a548639c13bdfb19c Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.64 with commit 3634a1beb0395f02807d41a2edf4288732d3f90e Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3.5 with commit 1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.4-rc2 with commit aee83c204f80d56b4d55f53acdb8594308ddcd4a 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-99317 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: include/sound/hwdep.h sound/core/hwdep.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/200bda52a9fd604e13c57d3a548639c13bdfb19c https://git.kernel.org/stable/c/3634a1beb0395f02807d41a2edf4288732d3f90e https://git.kernel.org/stable/c/1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2 https://git.kernel.org/stable/c/aee83c204f80d56b4d55f53acdb8594308ddcd4a