{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99882","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.441Z","datePublished":"2026-11-30T13:17:56.417Z","dateUpdated":"2026-11-30T13:17:56.417Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:17:56.417Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Bound packet copies by the PCM buffer size\n\nretire_capture_urb() and prepare_playback_urb() assume that one USB\npacket never carries more data than the whole ALSA ring buffer. Nothing\nenforces that: the packet size comes from the device (wMaxPacketSize,\nand curpacksize == maxpacksize when the class-specific endpoint\ndescriptor sets MaxPacketsOnly), while the PCM hardware constraints only\nrequire 64-byte periods, two periods and a period time of one data\ninterval. An 8 kHz mono U8 stream on a 128-byte buffer is legal, and a\nfull-speed device can send 1023-byte packets into it.\n\nOn the first oversized packet hwptr_done is wrapped once and stays\nbeyond buffer_bytes (895 for 1023 bytes into 128). On the next packet\nthe wrap arithmetic in the copy path computes\n\n    bytes1 = subs->buffer_bytes - oldptr\n\nwith oldptr > buffer_bytes, so bytes1 wraps to about 4 GB and memcpy()\nruns off the end of the URB buffer and of the vmalloc'd DMA buffer:\n\n  BUG: KASAN: slab-out-of-bounds in retire_capture_urb+0x251/0x870\n  Read of size 4294966529 at addr ffff88800c1e2800 by task vhci_rx/82\n\nand for playback, where copy_to_urb() has the same shape:\n\n  BUG: KASAN: vmalloc-out-of-bounds in copy_to_urb.isra.0+0x188/0x430\n  Read of size 4294966529 at addr ffffc9000004537f by task vhci_rx/79\n   prepare_playback_urb+0x98a/0x1fc0\n\nTruncate an oversized capture packet to the buffer size, and stop\nfilling a playback URB once it holds a whole buffer. With bytes <=\nbuffer_bytes the single wrap of hwptr_done and the two-part memcpy()\nin both copy paths stay inside the buffer. A device whose packets do\nnot fit the buffer at all was never going to play correctly anyway.\n\nReproduced on 7.3-rc7 with a USB/IP device (dummy_hcd cannot carry\nisochronous data) advertising a UAC1 endpoint with MaxPacketsOnly and\nwMaxPacketSize 1023, and a PCM client using period_size 64, periods 2."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/pcm.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"668186369809b69a724c8982d256a3a88f7d952b","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"84c6759990a10e71be2afd5ca0a53561579566ce","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"304f5966eec2af8f82e883cbed7694ffd1eac9ff","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"9b6f91aa3846ea1460f03e34e49249c104077668","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"3112ea41836be0f97f5c42e0ef19261811f6de65","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"834ca8b916c768411693b62aaeb33f7ce39fe10e","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"22247f5024684b29d071230b00bc19ae9869bc76","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"06be918062adc1a5a76dc346803b136b20bdb5ae","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/pcm.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.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","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.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/668186369809b69a724c8982d256a3a88f7d952b"},{"url":"https://git.kernel.org/stable/c/84c6759990a10e71be2afd5ca0a53561579566ce"},{"url":"https://git.kernel.org/stable/c/304f5966eec2af8f82e883cbed7694ffd1eac9ff"},{"url":"https://git.kernel.org/stable/c/9b6f91aa3846ea1460f03e34e49249c104077668"},{"url":"https://git.kernel.org/stable/c/3112ea41836be0f97f5c42e0ef19261811f6de65"},{"url":"https://git.kernel.org/stable/c/834ca8b916c768411693b62aaeb33f7ce39fe10e"},{"url":"https://git.kernel.org/stable/c/22247f5024684b29d071230b00bc19ae9869bc76"},{"url":"https://git.kernel.org/stable/c/06be918062adc1a5a76dc346803b136b20bdb5ae"}],"title":"ALSA: usb-audio: Bound packet copies by the PCM buffer size","x_generator":{"engine":"bippy-1.2.0"}}}}