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-100016

published high CVSS 3.1 · 7.8

ALSA: compress: reject buffer geometry change on gapless next_track

Published
30 Nov 2026, 13:23:06 UTC
Updated
01 Dec 2026, 05:39:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9727b490e543de956b8ba356e2d5499097d0b7a2 to < 6233b4879c0a71b00791f57964bc1fd2623309c1 · 9727b490e543de956b8ba356e2d5499097d0b7a2 to < 04bb6a7e76313046a3f5bd05862f9ab4ac2b503e · 9727b490e543de956b8ba356e2d5499097d0b7a2 to < bda1fb7c15d9c7a293cc974d0325125ec577992a · 9727b490e543de956b8ba356e2d5499097d0b7a2 to < eadf0118ab295a5a2556388f13df6bec1615e556 · 9727b490e543de956b8ba356e2d5499097d0b7a2 to < 82da1acad6fd60b6072dd5f3383e6a55efdd2ac7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.9 (affected) · 0 to < 3.9 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 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

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: compress: reject buffer geometry change on gapless next_track snd_compr_set_params() is invoked from the gapless next_track re-entry path, which calls snd_compr_allocate_buffer() again and lets buffer_size change while total_bytes_available and total_bytes_transferred still hold values computed for the previous buffer. snd_compr_calc_avail() then derives an avail/count value from those stale counters against the new buffer_size, and snd_compr_write_data() copy_from_user()s that many bytes into the new, potentially smaller buffer, overflowing it with user-controlled length and content. The buffer is set up once, with the initial SET_PARAMS, and neither the core nor the DSP expects it to change for a gapless track transition. Do not call snd_compr_allocate_buffer() on the next_track path and reject a request that changes the buffer geometry, so that the codec parameters that the driver receives match the buffer in use.

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.

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 bad geometry comes from the local user's second SNDRV_COMPRESS_SET_PARAMS ioctl after SNDRV_COMPRESS_NEXT_TRACK on /dev/snd/comprCxDy. It reaches snd_compr_set_params() and then snd_compr_allocate_buffer(), and the overflow fires on the next write() of that fd. No remote or physical input is involved. AC:L - This assumes a board whose Qualcomm q6asm/q6apm compress DAI accepts SND_COMPR_TRIGGER_NEXT_TRACK (e.g. db845c, rb5, msm8916). On it, the attacker runs SET_PARAMS (large), write, START, SET_METADATA, NEXT_TRACK, then SET_PARAMS (tiny). The stale total_bytes_available/transferred counters exceed the new buffer_size, so the u64 subtraction in snd_compr_calc_avail() wraps. Every step is the attacker's own. PR:L - snd_compr_open() and snd_compr_ioctl() have no capable() check. Access is gated only by the comprC*D* node permissions (audio group or the logind uaccess ACL for the seat user). That makes it a low-privileged local user, not root, and user namespaces give no extra reach. UI:N - The attacker opens the device, drives the gapless state machine and issues the overflowing write() on their own file descriptor. No other user or administrator has to do anything. S:U - The overflow corrupts kernel memory next to the compress DMA buffer in the same kernel that enforces the attacker's privileges. This is conventional local privilege escalation with no VM, TEE or IOMMU boundary crossed. C:H - Because avail wraps, q6asm_compr_copy()/q6apm_compr_copy() copy_from_user() the full write() count into prtd->dma_buffer.area with no clamp. That is an out-of-bounds write past the 8 MiB buffer, with length and bytes chosen by the attacker, which can be used to corrupt neighbouring kernel objects and build read primitives. I:H - The second copy_from_user() writes count minus copy attacker-chosen bytes from the start of the DMA buffer, so an oversized write() runs linearly past its end. This is an unbounded heap-style overflow usable for control-flow hijack or privilege escalation. A:H - Running past the DMA allocation into a vmap guard page, or tripping a hardened-usercopy abort, oopses the kernel. On copy-less drivers each NEXT_TRACK re-entry also leaks the old kmalloc'd buffer that snd_compr_allocate_buffer() replaces.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9727b490e543de956b8ba356e2d5499097d0b7a2 to < 6233b4879c0a71b00791f57964bc1fd2623309c1 (affected · git)9727b490e543de956b8ba356e2d5499097d0b7a2 to < 04bb6a7e76313046a3f5bd05862f9ab4ac2b503e (affected · git)9727b490e543de956b8ba356e2d5499097d0b7a2 to < bda1fb7c15d9c7a293cc974d0325125ec577992a (affected · git)9727b490e543de956b8ba356e2d5499097d0b7a2 to < eadf0118ab295a5a2556388f13df6bec1615e556 (affected · git)9727b490e543de956b8ba356e2d5499097d0b7a2 to < 82da1acad6fd60b6072dd5f3383e6a55efdd2ac7 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.9 (affected)0 to < 3.9 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 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

5

Provider assertions

1

Linux · cna

ALSA: compress: reject buffer geometry change on gapless next_track

Provenance

Schema
5.2
Searchable
yes
Content hash
66260171f495f133826b9fb0f5d57bca0f8a6e2f8d854ce42dc06fd7d8e74ee3
Ingested
01 Dec 2026, 05:47:22 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