Skip to content
statance
MenuClose
unknown

CVE-2026-99608

ALSA: usx2y: Guard the playback copy

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-12-04 00:54 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usx2y: Guard the playback copy

usx2y_urb_play_prepare() sums the packet lengths of a whole URB, copies that many frames with a single wrap, and sizes each playback packet from the capture packet's actual_length. Three things are unchecked: that the URB fits in the ring buffer, that a packet fits in the playback endpoint's maxpacksize, from which tmpbuf is allocated, and that actual_length is a whole number of frames. The ISO descriptors take the raw actual_length while transfer_buffer_length and the copies take count * stride, so a packet that is not a multiple of the stride makes the descriptors add up to more than the buffer, by up to stride - 1 bytes per packet.

Return -EPIPE, as the existing packet-size check does, when the URB is larger than the buffer or a packet is larger than maxpacksize, and size each descriptor from whole frames, so the descriptors add up to transfer_buffer_length and each stays within maxpacksize. The buffer case is prevented by the previous patch and this is the guard for it; the other two depend only on the device.

The first case is reachable on the unpatched driver with ordinary packets: on 7.3-rc7, a USB/IP device presenting the US-122 interface layout and sending 48-frame packets, with a 100-frame playback buffer (two 50-frame periods, inside the stock constraints), KASAN reports:

BUG: KASAN: out-of-bounds in i_usx2y_urb_complete+0x79b/0x1ac0 Read of size 18446744073709551280 at addr ffff88800e6b02e0 by task vhci_rx/80

With both patches, the same device and a 200-frame playback buffer is refused at hw_params with EINVAL, and a 400-frame buffer plays for 30 s with the position advancing inside the buffer, no KASAN report and neither guard message. The maxpacksize check is not exercised: the emulated device reports the same wMaxPacketSize on both endpoints.

The descriptor case is visible with capture packets of 195 bytes at stride 4 (48 frames and 3 bytes): without this change the four descriptors add up to 780 bytes for 768 bytes of data, and USB/IP's completion check refuses the URB ("total length of iso packets 780 not equal to actual length of buffer 768", -EPROTO), after which the driver stops the streams. With this patch every descriptor is 192 bytes, the descriptors add up to the data in every URB for 30 s, the position advances inside the buffer and KASAN reports nothing. The 48-frame playback run above is unchanged.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bf8da18fce0c5a5281be4849c7706b17d490f37a; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < df1f1a0c808f4ef43c4fdd03d7e79f062d46ebce; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3b75d7b1fd9f1f9b4f2f0dbe030c057a089fcaf9; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 812873e093ab6557939348a9119c19fd1c057556; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 116f158a6f6820a93faa12d46d5a2956cae4e4d2; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 38bb5df007a80f81861a79228f7dae29e4e263c6; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < deeccc01999ed8982507945e5ca750e75f0437dc; affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e2c6de52ffacb2c0f4076884ee3fdb744735a4cbSee vendor advisory
LinuxLinuxaffected: 2.6.12; unaffected: 0 to < 2.6.12; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed