Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.8CVE-2026-100016

ALSA: compress: reject buffer geometry change on gapless next_track

Published 30/11/2026 · Updated 02/12/2026 · 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.

Affected products and versions

Linux Linux7ea9ee0064281ef630e038f8dd2f6e8f4030a696 – < 6233b4879c0a71b00791f57964bc1fd2623309c1 · 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 – < 04bb6a7e76313046a3f5bd05862f9ab4ac2b503e · 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 – < bda1fb7c15d9c7a293cc974d0325125ec577992a · 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 – < eadf0118ab295a5a2556388f13df6bec1615e556 · 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 – < 82da1acad6fd60b6072dd5f3383e6a55efdd2ac7Fixed in: 6233b4879c0a71b00791f57964bc1fd2623309c1 · 04bb6a7e76313046a3f5bd05862f9ab4ac2b503e · bda1fb7c15d9c7a293cc974d0325125ec577992a · eadf0118ab295a5a2556388f13df6bec1615e556 · 82da1acad6fd60b6072dd5f3383e6a55efdd2ac7
Linux Linux6.5Fixed in: 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.