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=1794991355; b=Z8udC3qHe65DULX+LfUzjHaGuo+9sqXasu2KHYocy1DMMWYTQCDWx8e5YSWvWbQd1HFV 4/Q73n3emgGJdZSIW4+2okO0dkNoKSYsYwaF9a8Y59kKK3rpUdwTWi4xe+Fz89abN5I7M llvz+917699cqIAmVOsVEh7NNdgtveoq8jjYnKDmSXc18VppavDQhaCjJa6+svFYBCirH kVpWQcP8UnWjLL8Vyd8qt6PWo8RNvnlJdUn3SLupa5L1rrvIJPo2P6pjxUd33M3ssR0MC hiHJRsaDk+hrW88+wid0NJV0SU5bRSvivZoGiB7KiQHnkAN6zsLk9koe78SM+HB7s4A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794991355; 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=scSdEhC+g85Tn+stfeSkNsNI7ysd923JC8OiI9br/eM=; b=RiUNxP9zGPXXQ6di7HuCF/9qZBgiGz04TsBJP8MiQpq7DTD3ZvsBLdrUe6Hk+s/OGlSt nhCJTvTWZwIvFjFDlOBdEMisHj2KLRyJCay+xZkJL+Lqx9ZhlsekM+gK0bpaEvjbq7yb6 8sIsh65rfYaqZbowF3IR8rCcpwmP/rocvcsI+7DpRXz5fcOmB751kSMKtWkNxi4wkVNHo E5ReAhsk7PSexczes4iYICOq9RdU1V3/9xVI9hz2Tv1PxW83i2o1ZdnUErG0etGt5JDmR vGESV883uc4Jg58dBV5Gv6zBgsNySeiq3nRlTcbPQR4sUXiyHlcoQYzrhatAjFoCapg== 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=ByukNKJI; 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 3E0DF606A33A for ; Wed, 18 Nov 2026 08:42:35 +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=ByukNKJI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 765A31F000C6; Wed, 18 Nov 2026 08:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794991355; bh=scSdEhC+g85Tn+stfeSkNsNI7ysd923JC8OiI9br/eM=; h=From:To:Cc:Subject:Date:Reply-To; b=ByukNKJIqy8gkSjkazFa8PSK9ZDZxOV75yHZCDQkYKauOSglvS0tmda2Td1V8VK0V xiUn6FouaBM4md5R7nFJkK3Xt7d8AaU4NwuIbZ4MWy3x1bvKjGHQULPCX89AEQL1sf 61e0BIU8FRVI2fXbOLG/eQ1Et19MDfUdnJBOGtwE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99316: ALSA: usx2y: Initialize idle URBs before submitting streams Date: Wed, 18 Nov 2026 09:42:17 +0100 Message-ID: <2026111815-CVE-2026-99316-9938@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=3867; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=x/abo8QHgGAF1Hzp+T7/Xau+Ofe30FaDlybZr+cZFOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl/U57/cDxzuuBr62yZBKePW5hqvi1y/np/fkGkw/OYT sHMJofjHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARHhOGuUIXrlR/vG278wLT 5lldB7cYzdn82pVhfjFfm8uk1Y39oU5lcZ02/vqKXmfcAA== 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: usx2y: Initialize idle URBs before submitting streams usb_stream_start() submits the first two capture and playback URBs and only afterwards assigns sk->idle_inurb, sk->idle_outurb, sk->completed_inurb and sk->completed_outurb to the remaining two URBs of each direction. A transfer can complete as soon as usb_submit_urb() has been called, so the completion handler i_capture_start() or i_playback_start() may run before those pointers are set. While the stream is still being synchronized (state below usb_stream_sync1), stream_start() then calls playback_prep_freqn(sk, sk->idle_outurb) with sk->idle_outurb still NULL, and the packet descriptors are written through that NULL pointer: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] RIP: 0010:playback_prep_freqn+0x11c/0x4a0 sound/usb/usx2y/usb_stream.c:33 Call Trace: stream_start+0x5dc/0x8d0 sound/usb/usx2y/usb_stream.c:596 i_capture_start+0x3da/0x710 sound/usb/usx2y/usb_stream.c:654 __usb_hcd_giveback_urb+0x238/0x550 drivers/usb/core/hcd.c:1657 usb_giveback_urb_bh+0x20b/0x530 drivers/usb/core/hcd.c:1691 tasklet_hi_action+0xa/0x20 kernel/softirq.c:994 handle_softirqs+0x16f/0x440 kernel/softirq.c:645 The four URBs referenced by these pointers are allocated long before and do not depend on any transfer state, so assign them before the submit loop. Keeping the assignment inside the retry path also restores a well-defined URB rotation when the start frame mismatch handling kills and resubmits the streams. The Linux kernel CVE team has assigned CVE-2026-99316 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.28 with commit 030a07e441296c372f946cd4065b5d831d8dc40c and fixed in 6.12.118 with commit cc826d8f6074305af7bf1d2b7c13564d194db914 Issue introduced in 2.6.28 with commit 030a07e441296c372f946cd4065b5d831d8dc40c and fixed in 6.18.64 with commit 1f32f490350fae3d64f60b5ab9b02e5254fa0a90 Issue introduced in 2.6.28 with commit 030a07e441296c372f946cd4065b5d831d8dc40c and fixed in 7.3.5 with commit aa91b5324b5c856e18a9d356df875b29fbedd33a Issue introduced in 2.6.28 with commit 030a07e441296c372f946cd4065b5d831d8dc40c and fixed in 7.4-rc2 with commit ceb0d8c22473933099b46cec70639d0f1f7c68ad 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-99316 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/usb/usx2y/usb_stream.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/cc826d8f6074305af7bf1d2b7c13564d194db914 https://git.kernel.org/stable/c/1f32f490350fae3d64f60b5ab9b02e5254fa0a90 https://git.kernel.org/stable/c/aa91b5324b5c856e18a9d356df875b29fbedd33a https://git.kernel.org/stable/c/ceb0d8c22473933099b46cec70639d0f1f7c68ad