CVE-2026-99316

ALSA: usx2y: Initialize idle URBs before submitting streams

Published Nov 18, 2026 CVSS n/a EPSS n/a KEV · Not listed
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:
<IRQ>
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
</IRQ>

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.

Analysis

AI-generated

Technical impact

The vulnerability arises in the Linux kernel’s ALSA usx2y driver when idle URB (USB Request Block) pointers are assigned only after USB streams are submitted. Because a transfer can complete immediately after usb_submit_urb is called, the completion handler may execute while these pointers remain NULL. The handler then passes a NULL pointer to playback_prep_freqn, causing a null‑pointer dereference and a kernel crash. The crash is evident from a general protection fault with KASAN reporting a null‑ptr‑deref. This results in a denial of service: the system becomes unstable or crashes when USB audio streams begin, compromising availability.

Affected Systems

Vulnerable systems are Linux kernel implementations that include the ALSA usx2y driver, specifically any kernel version prior to the patch that assigns idle URBs before submission. The problem is tied to USB audio devices that trigger stream start, i.e., any system using USB sound hardware with the usx2y driver. The exact kernel releases are not listed in the supplied data, but all kernels containing the buggy usx2y implementation are affected.

Risk and Exploitability

The CVSS score is not provided, but the effect is a kernel crash, a high‑severity impact. EPSS is unavailable and the vulnerability is not listed in CISA KEV, so no widespread exploitation data exists yet. The likely attack vector is a USB audio device connected to the target; the attacker must be able to present a device that initiates a stream, which is usually a local physical connection. Because the crash is deterministic once the buggy path is executed, the vulnerability is straightforward to exploit in environments permitting untrusted USB hardware.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that corrects the usx2y URI assignment logic, as implemented in commit 1f32f4903
  • If an immediate kernel upgrade is not possible, unload or disable the usx2y ALSA driver until the fix is applied to prevent the driver from handling streams
  • Configure ALSA to avoid auto‑starting USB audio streams from untrusted devices or restrict USB audio device connections through access control (e.g., USBGuard) until the kernel is patched

Generated by OpenCVE AI on November 18, 2026 at 22:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
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: <IRQ> 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 </IRQ> 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.
Title ALSA: usx2y: Initialize idle URBs before submitting streams
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 18, 2026, 8:42 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 18, 2026, 9:17 AM
Modified
Nov 18, 2026, 9:17 AM