# CVE-2026-100016: ALSA: compress: reject buffer geometry change on gapless next_track

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:06.352Z
- Modified: 2026-12-01T06:17:17.687Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9727b490e543de956b8ba356e2d5499097d0b7a2 before 6233b4879c0a71b00791f57964bc1fd2623309c1; from 9727b490e543de956b8ba356e2d5499097d0b7a2 before 04bb6a7e76313046a3f5bd05862f9ab4ac2b503e; from 9727b490e543de956b8ba356e2d5499097d0b7a2 before bda1fb7c15d9c7a293cc974d0325125ec577992a; from 9727b490e543de956b8ba356e2d5499097d0b7a2 before eadf0118ab295a5a2556388f13df6bec1615e556; from 9727b490e543de956b8ba356e2d5499097d0b7a2 before 82da1acad6fd60b6072dd5f3383e6a55efdd2ac7; 3.9 (not affected: before 3.9; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

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

## Sources

- CVE List: [CVE-2026-100016](https://www.cve.org/CVERecord?id=CVE-2026-100016), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-100016](https://nvd.nist.gov/vuln/detail/CVE-2026-100016), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-100016 · Whole record: https://cve.day/CVE-2026-100016.json · Rebuilt by cve.day 2026-12-01T06:32:14.138Z
