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-2025-40269

published high CVSS 3.1 · 7.8

ALSA: usb-audio: Fix potential overflow of PCM transfer buffer

Published
06 Dec 2025, 21:50:50 UTC
Updated
05 Aug 2026, 12:09:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux02c56650f3c118d3752122996d96173d26bb13aa to < 480a1490c595a242f27493a4544b3efb21b29f6a · 5ef30e443e6d3654cccecec99cf481a69a0a6d3b to < ab0b5e92fc36ee82c1bd01fe896d0f775ed5de41 · 99703c921864a318e3e8aae74fde071b1ff35bea to < 282aba56713bbc58155716b55ca7222b2d9cf3c8 · 2d50acd7dbd0682a56968ad9551341d7fc5b6eaf to < c4dc012b027c9eb101583011089dea14d744e314 · aba41867dd66939d336fdf604e4d73b805d8039f to < e0ed5a36fb3ab9e7b9ee45cd17f09f6d5f594360 · d288dc74f8cf95cb7ae0aaf245b7128627a49bf3 to < d67dde02049e632ba58d3c44a164a74b6a737154 · f0bd62b64016508938df9babe47f65c2c727d25c to < 6a5da3fa80affc948923f20a4e086177f505e86e · f0bd62b64016508938df9babe47f65c2c727d25c to < 217d47255a2ec8b246f2725f5db9ac3f1d4109d7 · f0bd62b64016508938df9babe47f65c2c727d25c to < ef592bf2232a2daa9fffa8881881fc9957ea56e9 · f0bd62b64016508938df9babe47f65c2c727d25c to < ece3b981bb6620e47fac826a2156c090b1a936a0 · f0bd62b64016508938df9babe47f65c2c727d25c to < 98e9d5e33bda8db875cc1a4fe99c192658e45ab6 · f0bd62b64016508938df9babe47f65c2c727d25c to < d2c04f20ccc6c0d219e6d3038bab45bc66a178ad · f0bd62b64016508938df9babe47f65c2c727d25c to < 05a1fc5efdd8560f34a3af39c9cf1e1526cc3ddf · 4.4.229 to < 4.4.230 · 4.9.229 to < 4.9.230 · 4.14.186 to < 4.14.188 · 4.19.130 to < 4.19.132 · 5.4.49 to < 5.4.51 · 5.7.6 to < 5.7.8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 4.4.230 through 4.4.* (unaffected · semver) · 4.9.230 through 4.9.* (unaffected · semver) · 4.14.188 through 4.14.* (unaffected · semver) · 4.19.132 through 4.19.* (unaffected · semver) · 5.4.51 through 5.4.* (unaffected · semver) · 5.7.8 through 5.7.* (unaffected · semver) · 5.10.247 through 5.10.* (unaffected · semver) · 5.15.197 through 5.15.* (unaffected · semver) · 6.1.159 through 6.1.* (unaffected · semver) · 6.6.117 through 6.6.* (unaffected · semver) · 6.12.59 through 6.12.* (unaffected · semver) · 6.17.9 through 6.17.* (unaffected · semver) · 6.18 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
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.38.1.el10_1 ALSA-2026:2721
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.38.1.el10_1 ALSA-2026:2721
AlmaLinux 8 bpftool Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.104.1.rt7.445.el8_10 ALSA-2026:2378
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 perf Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.104.1.el8_10 ALSA-2026:2264
AlmaLinux 9 kernel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential overflow of PCM transfer buffer The PCM stream data in USB-audio driver is transferred over USB URB packet buffers, and each packet size is determined dynamically. The packet sizes are limited by some factors such as wMaxPacketSize USB descriptor. OTOH, in the current code, the actually used packet sizes are determined only by the rate and the PPS, which may be bigger than the size limit above. This results in a buffer overflow, as reported by syzbot. Basically when the limit is smaller than the calculated packet size, it implies that something is wrong, most likely a weird USB descriptor. So the best option would be just to return an error at the parameter setup time before doing any further operations. This patch introduces such a sanity check, and returns -EINVAL when the packet size is greater than maxpacksize. The comparison with ep->packsize[1] alone should suffice since it's always equal or greater than ep->packsize[0].

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

68

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The overflow is driven by locally-supplied `hw_params` (rate/format/channels) written via ioctl on `/dev/snd/pcmC*D*p` plus PCM data the attacker writes into the mmap'd buffer, on any system with a USB audio endpoint present (USB headsets/DACs/webcam mics are ubiquitous on desktops, Android, kiosks and embedded systems). Although a malformed descriptor is one way to reach it, no physical interaction is required for a local attacker on a machine with an attached USB audio device. AC:L - The attacker deterministically chooses the rate and sample format that make `packsize[1] * stride` exceed the `wMaxPacketSize`-derived buffer, then triggers the copy by starting playback — no race, no memory-layout guessing, and the condition is fully reproducible on every URB submission. PR:L - Only access to the ALSA PCM device node is required, which is granted to the logged-in session user via logind ACLs or membership in the `audio` group; no CAP_SYS_ADMIN or root is needed. UI:N - The attacking process performs open/hw_params/prepare/write entirely on its own; no victim action is needed, and on desktop/Android systems PipeWire/AudioFlinger will even drive the stream automatically on hotplug. S:U - The corruption stays within the kernel's own memory and the USB host controller's DMA-coherent pool, managed by the same security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - The oversized `iso_frame_desc` lengths cause the host controller to DMA kernel memory beyond the allocated coherent buffer out to the USB device, disclosing adjacent kernel heap contents to the attacker; heap corruption can also be leveraged for broader arbitrary read. I:H - `copy_to_urb()` memcpy's an attacker-controlled length of attacker-controlled PCM bytes past the end of the coherent URB buffer, giving a heap out-of-bounds write with controlled content — a primitive suitable for corrupting adjacent objects and hijacking control flow. A:H - Overrunning the DMA-coherent transfer buffer corrupts neighbouring kernel/DMA-pool memory and reliably produces an oops or panic, as observed in the syzbot report and the related bugzilla crash reports.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 02c56650f3c118d3752122996d96173d26bb13aa to < 480a1490c595a242f27493a4544b3efb21b29f6a (affected · git)5ef30e443e6d3654cccecec99cf481a69a0a6d3b to < ab0b5e92fc36ee82c1bd01fe896d0f775ed5de41 (affected · git)99703c921864a318e3e8aae74fde071b1ff35bea to < 282aba56713bbc58155716b55ca7222b2d9cf3c8 (affected · git)2d50acd7dbd0682a56968ad9551341d7fc5b6eaf to < c4dc012b027c9eb101583011089dea14d744e314 (affected · git)aba41867dd66939d336fdf604e4d73b805d8039f to < e0ed5a36fb3ab9e7b9ee45cd17f09f6d5f594360 (affected · git)d288dc74f8cf95cb7ae0aaf245b7128627a49bf3 to < d67dde02049e632ba58d3c44a164a74b6a737154 (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < 6a5da3fa80affc948923f20a4e086177f505e86e (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < 217d47255a2ec8b246f2725f5db9ac3f1d4109d7 (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < ef592bf2232a2daa9fffa8881881fc9957ea56e9 (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < ece3b981bb6620e47fac826a2156c090b1a936a0 (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < 98e9d5e33bda8db875cc1a4fe99c192658e45ab6 (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < d2c04f20ccc6c0d219e6d3038bab45bc66a178ad (affected · git)f0bd62b64016508938df9babe47f65c2c727d25c to < 05a1fc5efdd8560f34a3af39c9cf1e1526cc3ddf (affected · git)4.4.229 to < 4.4.230 (affected · semver)4.9.229 to < 4.9.230 (affected · semver)4.14.186 to < 4.14.188 (affected · semver)4.19.130 to < 4.19.132 (affected · semver)5.4.49 to < 5.4.51 (affected · semver)5.7.6 to < 5.7.8 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)4.4.230 through 4.4.* (unaffected · semver)4.9.230 through 4.9.* (unaffected · semver)4.14.188 through 4.14.* (unaffected · semver)4.19.132 through 4.19.* (unaffected · semver)5.4.51 through 5.4.* (unaffected · semver)5.7.8 through 5.7.* (unaffected · semver)5.10.247 through 5.10.* (unaffected · semver)5.15.197 through 5.15.* (unaffected · semver)6.1.159 through 6.1.* (unaffected · semver)6.6.117 through 6.6.* (unaffected · semver)6.12.59 through 6.12.* (unaffected · semver)6.17.9 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

13

Provider assertions

2

Linux · cna

ALSA: usb-audio: Fix potential overflow of PCM transfer buffer

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8aab8cbd3cf7dee62066c8ecf2ee7ce6251e60c6bd58baf08a3639f58c9d2b59
Ingested
23 Sep 2026, 08:48:04 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