{"api_version":"1","generated_at":"2026-12-04T11:59:40+00:00","cve":"CVE-2026-99881","urls":{"html":"https://cve.report/CVE-2026-99881","api":"https://cve.report/api/cve/CVE-2026-99881.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99881","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99881"},"summary":{"title":"ALSA: ua101: Bound packet copies by the PCM buffer size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ua101: Bound packet copies by the PCM buffer size\n\ncopy_capture_data() and copy_playback_data() wrap the ring buffer\nposition once and split the memcpy() in two at the buffer end, which is\nonly correct when one packet holds at most buffer_size frames. The\ncapture packet size is the device's (actual_length up to wMaxPacketSize,\ndivided by 3 * bNrChannels from its own descriptor), the playback packet\nsize is taken from the capture packets, and set_stream_hw() lets the\nPCM client pick period_bytes_min 1, periods_min 2 and a period time of\n1.5 packet intervals: 9 frames at 44.1 kHz high speed, an 18-frame\nbuffer. A device sending 672-byte mono 24-bit packets delivers 224\nframes per packet.\n\nAfter the first packet buffer_pos is 206 and stays beyond buffer_size.\nOn the next packet frames1 = buffer_size - buffer_pos wraps and memcpy()\nruns away:\n\n  snd-ua101 2-1:1.0: invalid position: , pos = 206, buffer size = 18,\nperiod size = 9\n  BUG: KASAN: slab-out-of-bounds in capture_urb_complete+0x9eb/0xcb0\n  Read of size 4294966732 at addr ffff88800d73e7e0 by task vhci_rx/81\n\nand for playback:\n\n  BUG: KASAN: vmalloc-out-of-bounds in playback_work+0x789/0xac0\n  Read of size 4294966732 at addr ffffc9000002626a by task kworker/0:1H/80\n\nClamp the capture copy to buffer_size. On playback, copy at most one\nbuffer and fill the rest of the packet with silence, so the URB length,\nthe delay accounting and the data sent stay consistent. With that bound\nthe single wrap and both memcpy() halves stay inside the buffer. A\ndevice whose packets do not fit the buffer never played correctly\nanyway.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the UA-101\ninterface layout and a 672-byte isochronous endpoint.","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/4dad0c670b8b521429166f33835c6def728f0f59","name":"https://git.kernel.org/stable/c/4dad0c670b8b521429166f33835c6def728f0f59","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2a66353afb99f52451fd6e4ad86292695b33e221","name":"https://git.kernel.org/stable/c/2a66353afb99f52451fd6e4ad86292695b33e221","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/493a77a9f20fca07ca5654f61c1b03bef035df25","name":"https://git.kernel.org/stable/c/493a77a9f20fca07ca5654f61c1b03bef035df25","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/526d39cd04fb14506ee486b60177189b3eafb997","name":"https://git.kernel.org/stable/c/526d39cd04fb14506ee486b60177189b3eafb997","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99881","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99881","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63978ab3e3e963db28093b53bb4598f2702e1ad7 526d39cd04fb14506ee486b60177189b3eafb997 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63978ab3e3e963db28093b53bb4598f2702e1ad7 4dad0c670b8b521429166f33835c6def728f0f59 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63978ab3e3e963db28093b53bb4598f2702e1ad7 2a66353afb99f52451fd6e4ad86292695b33e221 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63978ab3e3e963db28093b53bb4598f2702e1ad7 493a77a9f20fca07ca5654f61c1b03bef035df25 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.34","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.34 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 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/misc/ua101.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"526d39cd04fb14506ee486b60177189b3eafb997","status":"affected","version":"63978ab3e3e963db28093b53bb4598f2702e1ad7","versionType":"git"},{"lessThan":"4dad0c670b8b521429166f33835c6def728f0f59","status":"affected","version":"63978ab3e3e963db28093b53bb4598f2702e1ad7","versionType":"git"},{"lessThan":"2a66353afb99f52451fd6e4ad86292695b33e221","status":"affected","version":"63978ab3e3e963db28093b53bb4598f2702e1ad7","versionType":"git"},{"lessThan":"493a77a9f20fca07ca5654f61c1b03bef035df25","status":"affected","version":"63978ab3e3e963db28093b53bb4598f2702e1ad7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/usb/misc/ua101.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.34"},{"lessThan":"2.6.34","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","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":"6.12.120","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.34","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ua101: Bound packet copies by the PCM buffer size\n\ncopy_capture_data() and copy_playback_data() wrap the ring buffer\nposition once and split the memcpy() in two at the buffer end, which is\nonly correct when one packet holds at most buffer_size frames. The\ncapture packet size is the device's (actual_length up to wMaxPacketSize,\ndivided by 3 * bNrChannels from its own descriptor), the playback packet\nsize is taken from the capture packets, and set_stream_hw() lets the\nPCM client pick period_bytes_min 1, periods_min 2 and a period time of\n1.5 packet intervals: 9 frames at 44.1 kHz high speed, an 18-frame\nbuffer. A device sending 672-byte mono 24-bit packets delivers 224\nframes per packet.\n\nAfter the first packet buffer_pos is 206 and stays beyond buffer_size.\nOn the next packet frames1 = buffer_size - buffer_pos wraps and memcpy()\nruns away:\n\n  snd-ua101 2-1:1.0: invalid position: , pos = 206, buffer size = 18,\nperiod size = 9\n  BUG: KASAN: slab-out-of-bounds in capture_urb_complete+0x9eb/0xcb0\n  Read of size 4294966732 at addr ffff88800d73e7e0 by task vhci_rx/81\n\nand for playback:\n\n  BUG: KASAN: vmalloc-out-of-bounds in playback_work+0x789/0xac0\n  Read of size 4294966732 at addr ffffc9000002626a by task kworker/0:1H/80\n\nClamp the capture copy to buffer_size. On playback, copy at most one\nbuffer and fill the rest of the packet with silence, so the URB length,\nthe delay accounting and the data sent stay consistent. With that bound\nthe single wrap and both memcpy() halves stay inside the buffer. A\ndevice whose packets do not fit the buffer never played correctly\nanyway.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the UA-101\ninterface layout and a 672-byte isochronous endpoint."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:17:55.853Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/526d39cd04fb14506ee486b60177189b3eafb997"},{"url":"https://git.kernel.org/stable/c/4dad0c670b8b521429166f33835c6def728f0f59"},{"url":"https://git.kernel.org/stable/c/2a66353afb99f52451fd6e4ad86292695b33e221"},{"url":"https://git.kernel.org/stable/c/493a77a9f20fca07ca5654f61c1b03bef035df25"}],"title":"ALSA: ua101: 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-99881","datePublished":"2026-11-30T13:17:55.853Z","dateReserved":"2026-09-25T10:25:14.441Z","dateUpdated":"2026-11-30T13:17:55.853Z","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":"99881","Ordinal":"1","Title":"ALSA: ua101: Bound packet copies by the PCM buffer size","CVE":"CVE-2026-99881","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99881","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ua101: Bound packet copies by the PCM buffer size\n\ncopy_capture_data() and copy_playback_data() wrap the ring buffer\nposition once and split the memcpy() in two at the buffer end, which is\nonly correct when one packet holds at most buffer_size frames. The\ncapture packet size is the device's (actual_length up to wMaxPacketSize,\ndivided by 3 * bNrChannels from its own descriptor), the playback packet\nsize is taken from the capture packets, and set_stream_hw() lets the\nPCM client pick period_bytes_min 1, periods_min 2 and a period time of\n1.5 packet intervals: 9 frames at 44.1 kHz high speed, an 18-frame\nbuffer. A device sending 672-byte mono 24-bit packets delivers 224\nframes per packet.\n\nAfter the first packet buffer_pos is 206 and stays beyond buffer_size.\nOn the next packet frames1 = buffer_size - buffer_pos wraps and memcpy()\nruns away:\n\n  snd-ua101 2-1:1.0: invalid position: , pos = 206, buffer size = 18,\nperiod size = 9\n  BUG: KASAN: slab-out-of-bounds in capture_urb_complete+0x9eb/0xcb0\n  Read of size 4294966732 at addr ffff88800d73e7e0 by task vhci_rx/81\n\nand for playback:\n\n  BUG: KASAN: vmalloc-out-of-bounds in playback_work+0x789/0xac0\n  Read of size 4294966732 at addr ffffc9000002626a by task kworker/0:1H/80\n\nClamp the capture copy to buffer_size. On playback, copy at most one\nbuffer and fill the rest of the packet with silence, so the URB length,\nthe delay accounting and the data sent stay consistent. With that bound\nthe single wrap and both memcpy() halves stay inside the buffer. A\ndevice whose packets do not fit the buffer never played correctly\nanyway.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the UA-101\ninterface layout and a 672-byte isochronous endpoint.","Type":"Description","Title":"ALSA: ua101: Bound packet copies by the PCM buffer size"}]}}}