{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99609","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.424Z","datePublished":"2026-11-20T05:49:32.596Z","dateUpdated":"2026-11-23T08:05:02.685Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-23T08:05:02.685Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usx2y: Require a buffer of two URBs\n\nusx2y_urb_capt_retire() wraps the ring buffer once per packet and\nusx2y_urb_play_prepare() once per URB of nr_of_packs() packets of up to\n50 frames. Both assume that the data fits in the buffer, and the hw\nconstraints only require about two 1 ms periods, so a packet larger\nthan the buffer on capture, or a URB larger than the buffer on playback,\nviolates that assumption.\n\nConstrain SNDRV_PCM_HW_PARAM_BUFFER_SIZE in snd_usx2y_pcm_open() to at\nleast two URBs, 2 * nr_of_packs() * 50 frames, for both directions. The\nbound is in frames and derived from the driver's own packet limit, so it\ndoes not read the endpoint, whose altsetting is only selected in\nprepare. Two URBs rather than one, because the position advances by a\nURB on playback and only moves when a URB is less than the whole buffer.\nKeep a guard in usx2y_urb_capt_retire() that drops a packet larger than\nthe buffer, for the case the constraint makes unreachable.\n\nWith nrpacks above about 163 (S16_LE) or 109 (S24_3LE) the bound exceeds\nthe 64 KiB buffer the substream preallocates (twice that with the\npreallocation raised to its 128 KiB maximum), so hw_params fails for\nthose module settings. That is intended: the driver cannot be safe with\na URB larger than half the largest buffer.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the US-122\ninterface layout and 1024-byte packets into a 512-byte capture buffer:\n\n  BUG: KASAN: out-of-bounds in i_usx2y_urb_complete+0x1285/0x1ac0\n  Read of size 18446744073709551104 at addr ffff88800e448800 by task vhci_rx/83\n\nTested on 7.3-rc7 with the same device, S16_LE at 44100 Hz, nrpacks 4,\nso the bound is 400 frames. A 128-frame capture buffer and a 200-frame\nplayback buffer are refused at hw_params with EINVAL. A 400-frame buffer\nstreams for 30 s in each direction with the position advancing inside\nthe buffer and no KASAN report; the capture guard did not fire. The\nsame 400-frame capture buffer with S24_3LE, which selects altsetting 2\nin prepare, streams for 30 s with the same result."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Entry is snd_pcm_open() then SNDRV_PCM_IOCTL_HW_PARAMS, PREPARE and TRIGGER on the Tascam pcmC*D*p node: snd_usx2y_pcm_open(), snd_usx2y_pcm_prepare() and snd_usx2y_pcm_trigger(). URB completion then calls i_usx2y_urb_complete() to usx2y_usbframe_complete() to usx2y_urb_play_prepare(). Pre-fix, open() only constrained PERIOD_TIME to 1-200 ms, so a buffer shorter than one URB was legal and that local size is what the single wrap overflows.\nAC:L - The attacker sets that undersized buffer and starts the stream with snd_usx2y_pcm_prepare() and snd_usx2y_pcm_trigger(). Capture completions then carry 43-50 frames per packet, the only range usx2y_urb_play_prepare() accepts, and default nrpacks of 4 makes their sum exceed the buffer. hwptr advances past buffer_size within a few URBs and the next length underflows, with no race or hardware fault.\nPR:L - snd_pcm_open() performs no capability check before snd_usx2y_pcm_open(), and snd_usx2y_pcm_trigger() only inspects substream state. Opening pcmC*D*p is granted by the device-node permission (audio group or the seat ACL), which an ordinary local user holds; CAP_SYS_ADMIN is not required.\nUI:N - The attacking process itself opens the PCM device, selects the buffer, and issues SNDRV_PCM_IOCTL_PREPARE plus SNDRV_PCM_TRIGGER_START. No other person has to plug in media, mount a filesystem, or start the stream.\nS:U - The bad memcpy stays inside the host kernel, reading past runtime->dma_area and writing past subs->tmpbuf. That is a local kernel privilege boundary, not a guest-to-host escape or an IOMMU crossing.\nC:H - Once subs->hwptr exceeds runtime->buffer_size, len = buffer_size - hwptr wraps because buffer_size is unsigned long and hwptr is int, and usx2y_urb_play_prepare() memcpy()s that negative length as a huge size_t from dma_area. The same conversion in usx2y_urb_capt_retire() was reported by KASAN as a read of 2^64-512 bytes.\nI:H - That underflowed length is the size written to subs->tmpbuf, which usx2y_urbs_allocate() limits to nr_of_packs()*maxpacksize, so the memcpy runs off the heap object and corrupts adjacent kernel memory.\nA:H - The unbounded memcpy faults the kernel. The published hit is a KASAN out-of-bounds access in i_usx2y_urb_complete() on the capture URB completion path, and the playback length underflow is the same class of oops once the copy leaves the mapped page."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/usx2y/usbusx2yaudio.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"eabdad84684dc5ad8ab7250ba98a95afd4172a4d","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"2ae93a0781fc6855e9e3f9e4dd1a23b55f24040f","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"8de4e8ea2b6b0648b3f7c765a9ebcfec4e23df9a","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"0fd6e89b6f1f1ad746aa487a3360176ebdd4ad48","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"44c6971a79efdb46cd5c9f492f0ad65aafe05add","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"5356d89f5e581dc207c7a607fe585d3e1cb2471c","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"824fdf771cb7cbe9ae50eaec588eaf1acee6da94","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"4cbb826b3b36df6c275454287ba1df4564a5370b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/usx2y/usbusx2yaudio.c"],"versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/eabdad84684dc5ad8ab7250ba98a95afd4172a4d"},{"url":"https://git.kernel.org/stable/c/2ae93a0781fc6855e9e3f9e4dd1a23b55f24040f"},{"url":"https://git.kernel.org/stable/c/8de4e8ea2b6b0648b3f7c765a9ebcfec4e23df9a"},{"url":"https://git.kernel.org/stable/c/0fd6e89b6f1f1ad746aa487a3360176ebdd4ad48"},{"url":"https://git.kernel.org/stable/c/44c6971a79efdb46cd5c9f492f0ad65aafe05add"},{"url":"https://git.kernel.org/stable/c/5356d89f5e581dc207c7a607fe585d3e1cb2471c"},{"url":"https://git.kernel.org/stable/c/824fdf771cb7cbe9ae50eaec588eaf1acee6da94"},{"url":"https://git.kernel.org/stable/c/4cbb826b3b36df6c275454287ba1df4564a5370b"}],"title":"ALSA: usx2y: Require a buffer of two URBs","x_generator":{"engine":"bippy-1.2.0"}}}}