Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99882

published

ALSA: usb-audio: Bound packet copies by the PCM buffer size

Published
30 Nov 2026, 13:17:56 UTC
Updated
30 Nov 2026, 13:17:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 668186369809b69a724c8982d256a3a88f7d952b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 84c6759990a10e71be2afd5ca0a53561579566ce · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 304f5966eec2af8f82e883cbed7694ffd1eac9ff · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9b6f91aa3846ea1460f03e34e49249c104077668 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3112ea41836be0f97f5c42e0ef19261811f6de65 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 834ca8b916c768411693b62aaeb33f7ce39fe10e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 22247f5024684b29d071230b00bc19ae9869bc76 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 06be918062adc1a5a76dc346803b136b20bdb5ae · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound packet copies by the PCM buffer size retire_capture_urb() and prepare_playback_urb() assume that one USB packet never carries more data than the whole ALSA ring buffer. Nothing enforces that: the packet size comes from the device (wMaxPacketSize, and curpacksize == maxpacksize when the class-specific endpoint descriptor sets MaxPacketsOnly), while the PCM hardware constraints only require 64-byte periods, two periods and a period time of one data interval. An 8 kHz mono U8 stream on a 128-byte buffer is legal, and a full-speed device can send 1023-byte packets into it. On the first oversized packet hwptr_done is wrapped once and stays beyond buffer_bytes (895 for 1023 bytes into 128). On the next packet the wrap arithmetic in the copy path computes bytes1 = subs->buffer_bytes - oldptr with oldptr > buffer_bytes, so bytes1 wraps to about 4 GB and memcpy() runs off the end of the URB buffer and of the vmalloc'd DMA buffer: BUG: KASAN: slab-out-of-bounds in retire_capture_urb+0x251/0x870 Read of size 4294966529 at addr ffff88800c1e2800 by task vhci_rx/82 and for playback, where copy_to_urb() has the same shape: BUG: KASAN: vmalloc-out-of-bounds in copy_to_urb.isra.0+0x188/0x430 Read of size 4294966529 at addr ffffc9000004537f by task vhci_rx/79 prepare_playback_urb+0x98a/0x1fc0 Truncate an oversized capture packet to the buffer size, and stop filling a playback URB once it holds a whole buffer. With bytes <= buffer_bytes the single wrap of hwptr_done and the two-part memcpy() in both copy paths stay inside the buffer. A device whose packets do not fit the buffer at all was never going to play correctly anyway. Reproduced on 7.3-rc7 with a USB/IP device (dummy_hcd cannot carry isochronous data) advertising a UAC1 endpoint with MaxPacketsOnly and wMaxPacketSize 1023, and a PCM client using period_size 64, periods 2.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 668186369809b69a724c8982d256a3a88f7d952b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 84c6759990a10e71be2afd5ca0a53561579566ce (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 304f5966eec2af8f82e883cbed7694ffd1eac9ff (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9b6f91aa3846ea1460f03e34e49249c104077668 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3112ea41836be0f97f5c42e0ef19261811f6de65 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 834ca8b916c768411693b62aaeb33f7ce39fe10e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 22247f5024684b29d071230b00bc19ae9869bc76 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 06be918062adc1a5a76dc346803b136b20bdb5ae (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ALSA: usb-audio: Bound packet copies by the PCM buffer size

Provenance

Schema
5.2
Searchable
yes
Content hash
7444536d8e8f3541d6e5d95f5b4063f1122f2c19df990b0fd70c394bf091ee44
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected