{"api_version":"1","generated_at":"2026-12-04T11:59:38+00:00","cve":"CVE-2026-99882","urls":{"html":"https://cve.report/CVE-2026-99882","api":"https://cve.report/api/cve/CVE-2026-99882.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99882","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99882"},"summary":{"title":"ALSA: usb-audio: Bound packet copies by the PCM buffer size","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:22","updated_at":"2026-11-30 14:20:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/06be918062adc1a5a76dc346803b136b20bdb5ae","name":"https://git.kernel.org/stable/c/06be918062adc1a5a76dc346803b136b20bdb5ae","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9b6f91aa3846ea1460f03e34e49249c104077668","name":"https://git.kernel.org/stable/c/9b6f91aa3846ea1460f03e34e49249c104077668","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/22247f5024684b29d071230b00bc19ae9869bc76","name":"https://git.kernel.org/stable/c/22247f5024684b29d071230b00bc19ae9869bc76","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/834ca8b916c768411693b62aaeb33f7ce39fe10e","name":"https://git.kernel.org/stable/c/834ca8b916c768411693b62aaeb33f7ce39fe10e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/304f5966eec2af8f82e883cbed7694ffd1eac9ff","name":"https://git.kernel.org/stable/c/304f5966eec2af8f82e883cbed7694ffd1eac9ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3112ea41836be0f97f5c42e0ef19261811f6de65","name":"https://git.kernel.org/stable/c/3112ea41836be0f97f5c42e0ef19261811f6de65","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/668186369809b69a724c8982d256a3a88f7d952b","name":"https://git.kernel.org/stable/c/668186369809b69a724c8982d256a3a88f7d952b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/84c6759990a10e71be2afd5ca0a53561579566ce","name":"https://git.kernel.org/stable/c/84c6759990a10e71be2afd5ca0a53561579566ce","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99882","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99882","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 668186369809b69a724c8982d256a3a88f7d952b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 84c6759990a10e71be2afd5ca0a53561579566ce git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 304f5966eec2af8f82e883cbed7694ffd1eac9ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 9b6f91aa3846ea1460f03e34e49249c104077668 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 3112ea41836be0f97f5c42e0ef19261811f6de65 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 834ca8b916c768411693b62aaeb33f7ce39fe10e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 22247f5024684b29d071230b00bc19ae9869bc76 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 06be918062adc1a5a76dc346803b136b20bdb5ae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/usb/pcm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"668186369809b69a724c8982d256a3a88f7d952b","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"84c6759990a10e71be2afd5ca0a53561579566ce","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"304f5966eec2af8f82e883cbed7694ffd1eac9ff","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"9b6f91aa3846ea1460f03e34e49249c104077668","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"3112ea41836be0f97f5c42e0ef19261811f6de65","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"834ca8b916c768411693b62aaeb33f7ce39fe10e","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"22247f5024684b29d071230b00bc19ae9869bc76","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"06be918062adc1a5a76dc346803b136b20bdb5ae","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/usb/pcm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:17:56.417Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99882","datePublished":"2026-11-30T13:17:56.417Z","dateReserved":"2026-09-25T10:25:14.441Z","dateUpdated":"2026-11-30T13:17:56.417Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:22","lastModifiedDate":"2026-11-30 14:20:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99882","Ordinal":"1","Title":"ALSA: usb-audio: Bound packet copies by the PCM buffer size","CVE":"CVE-2026-99882","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99882","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ALSA: usb-audio: Bound packet copies by the PCM buffer size"}]}}}