-
CVE-2026-99608
- EPSS 0.17%
- Veröffentlicht 20.11.2026 05:49:31
- Zuletzt bearbeitet 23.11.2026 08:18:02
- Erkennungen
ALSA: usx2y: Guard the playback copy
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.Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt
Linux
Default Statusunaffected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
bf8da18fce0c5a5281be4849c7706b17d490f37a
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
df1f1a0c808f4ef43c4fdd03d7e79f062d46ebce
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
3b75d7b1fd9f1f9b4f2f0dbe030c057a089fcaf9
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
812873e093ab6557939348a9119c19fd1c057556
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
116f158a6f6820a93faa12d46d5a2956cae4e4d2
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
38bb5df007a80f81861a79228f7dae29e4e263c6
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
deeccc01999ed8982507945e5ca750e75f0437dc
Status
affected
Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version <
e2c6de52ffacb2c0f4076884ee3fdb744735a4cb
Status
affected
HerstellerLinux
≫
Produkt
Linux
Default Statusaffected
Version
2.6.12
Status
affected
Version
0
Version <
2.6.12
Status
unaffected
Version <=
5.10.*
Version
5.10.275
Status
unaffected
Version <=
5.15.*
Version
5.15.226
Status
unaffected
Version <=
6.1.*
Version
6.1.193
Status
unaffected
Version <=
6.6.*
Version
6.6.163
Status
unaffected
Version <=
6.12.*
Version
6.12.118
Status
unaffected
Version <=
6.18.*
Version
6.18.64
Status
unaffected
Version <=
7.3.*
Version
7.3.5
Status
unaffected
Version <=
*
Version
7.4-rc2
Status
unaffected
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.17% | 0.063 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|
https://git.kernel.org/stable/c/116f158a6f6820a93faa12d46d5a2956cae4e4d2
https://git.kernel.org/stable/c/38bb5df007a80f81861a79228f7dae29e4e263c6
https://git.kernel.org/stable/c/deeccc01999ed8982507945e5ca750e75f0437dc
https://git.kernel.org/stable/c/e2c6de52ffacb2c0f4076884ee3fdb744735a4cb
https://git.kernel.org/stable/c/3b75d7b1fd9f1f9b4f2f0dbe030c057a089fcaf9
https://git.kernel.org/stable/c/812873e093ab6557939348a9119c19fd1c057556
https://git.kernel.org/stable/c/bf8da18fce0c5a5281be4849c7706b17d490f37a
https://git.kernel.org/stable/c/df1f1a0c808f4ef43c4fdd03d7e79f062d46ebce