Linux kernel buffer overflow in ALSA compress via gapless track switch
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Specific setups only
Summary
In the Linux kernel's ALSA compress audio code, a gapless track transition can reallocate the buffer while stale byte counters are still in use, letting a write copy more data than the new buffer can hold. An attacker who can drive that audio path could overflow kernel memory with controlled content.
Written by a model
Original 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.
Who should check
Teams running Linux kernels with ALSA compress offload on Qualcomm boards (db845c, rb5, msm8916) using q6asm/q6apm compress DAI
“This assumes a board whose Qualcomm q6asm/q6apm compress DAI accepts SND_COMPR_TRIGGER_NEXT_TRACK”
What to do
Check whether your setup matches what the bug needs.
The gapless next_track re-entry path calls snd_compr_set_params(), which reallocates the buffer A board whose Qualcomm q6asm/q6apm compress DAI accepts SND_COMPR_TRIGGER_NEXT_TRACK (e.g. db845c, rb5, msm8916)Workaround: The facts give no workaround. The trigger is the gapless next_track path on Qualcomm q6asm/q6apm compress DAIs, so limiting gapless next-track use on those boards would avoid that path, though the facts do not confirm this as an official workaround.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-100016 (ALSA: compress: reject buffer geometry change on gapless next_track), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-100016 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 3.9
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- The gapless next_track re-entry path calls snd_compr_set_params(), which reallocates the buffer (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6233b4879c0a71b00791f57964bc1fd2623309c1)
- A board whose Qualcomm q6asm/q6apm compress DAI accepts SND_COMPR_TRIGGER_NEXT_TRACK (e.g. db845c, rb5, msm8916) (source: https://www.cve.org/CVERecord?id=CVE-2026-100016)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-100016 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-100016 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/6233b4879c0a71b00791f57964bc1fd2623309c1
- https://git.kernel.org/stable/c/04bb6a7e76313046a3f5bd05862f9ab4ac2b503e
- https://git.kernel.org/stable/c/bda1fb7c15d9c7a293cc974d0325125ec577992a
- https://git.kernel.org/stable/c/eadf0118ab295a5a2556388f13df6bec1615e556
- https://git.kernel.org/stable/c/82da1acad6fd60b6072dd5f3383e6a55efdd2ac7
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6233b4879c0a71b00791f57964bc1fd2623309c1
- https://www.cve.org/CVERecord?id=CVE-2026-100016
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-100016
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-100016"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux3.9
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7.8/10CVSS 7.8
- No patch5/5No patch listed yet
What would change the score
- Would score about 88 if added to CISA KEV
- Would score about 83 if CISA's SSVC rates exploitation active
- Would score about 48 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 7
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-100016 |
| Record | NVD · CVE-2026-100016 |
| Other links 5 | |
| Link | git.kernel.org · stable/c/6233b4879c0a71b00791f57964bc1fd2623309c1 |
| Link | git.kernel.org · stable/c/04bb6a7e76313046a3f5bd05862f9ab4ac2b503e |
| Link | git.kernel.org · stable/c/bda1fb7c15d9c7a293cc974d0325125ec577992a |
| Link | git.kernel.org · stable/c/eadf0118ab295a5a2556388f13df6bec1615e556 |
| Link | git.kernel.org · stable/c/82da1acad6fd60b6072dd5f3383e6a55efdd2ac7 |
Questions about CVE-2026-100016
Is CVE-2026-100016 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The gapless next_track re-entry path calls snd_compr_set_params(), which reallocates the buffer. The advisory says this can write past the DMA buffer with attacker-chosen length and content, corrupting neighbouring kernel objects and enabling read primitives that can lead to privilege escalation.
Source: git.kernel.org, cve.org
Which versions are affected by CVE-2026-100016?
Linux: version 3.9.
Source: cve.now feed data
Am I affected, and how do I check?
The issue applies to boards whose Qualcomm q6asm/q6apm compress DAI accepts SND_COMPR_TRIGGER_NEXT_TRACK, for example db845c, rb5, and msm8916. No affected version range is listed, so a reader can check the kernel version with uname -r and whether the board's compress DAI accepts the next-track trigger.
Source: git.kernel.org, cve.org
How do I fix CVE-2026-100016?
The checked facts name no fixed version and no patch ids, so no upgrade target can be given. Check the Linux kernel's stable advisories or the board vendor for a fix covering this change.
Source: git.kernel.org, cve.org
What if there's no patch?
The facts give no workaround. The trigger is the gapless next_track path on Qualcomm q6asm/q6apm compress DAIs, so limiting gapless next-track use on those boards would avoid that path, though the facts do not confirm this as an official workaround.
Source: git.kernel.org, cve.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.