{"id":"CVE-2026-100016","aliases":["CVE-2026-100016"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: compress: reject buffer geometry change on gapless next_track","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: compress: reject buffer geometry change on gapless next_track\n\nsnd_compr_set_params() is invoked from the gapless next_track\nre-entry path, which calls snd_compr_allocate_buffer() again and lets\nbuffer_size change while total_bytes_available and\ntotal_bytes_transferred still hold values computed for the previous\nbuffer. snd_compr_calc_avail() then derives an avail/count value from\nthose stale counters against the new buffer_size, and\nsnd_compr_write_data() copy_from_user()s that many bytes into the\nnew, potentially smaller buffer, overflowing it with user-controlled\nlength and content.\n\nThe buffer is set up once, with the initial SET_PARAMS, and neither the\ncore nor the DSP expects it to change for a gapless track transition.\nDo not call snd_compr_allocate_buffer() on the next_track path and\nreject a request that changes the buffer geometry, so that the codec\nparameters that the driver receives match the buffer in use.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: compress: reject buffer geometry change on gapless next_track\n\nsnd_compr_set_params() is invoked from the gapless next_track\nre-entry path, which calls snd_compr_allocate_buffer() again and lets\nbuffer_size change while total_bytes_available and\ntotal_bytes_transferred still hold values computed for the previous\nbuffer. snd_compr_calc_avail() then derives an avail/count value from\nthose stale counters against the new buffer_size, and\nsnd_compr_write_data() copy_from_user()s that many bytes into the\nnew, potentially smaller buffer, overflowing it with user-controlled\nlength and content.\n\nThe buffer is set up once, with the initial SET_PARAMS, and neither the\ncore nor the DSP expects it to change for a gapless track transition.\nDo not call snd_compr_allocate_buffer() on the next_track path and\nreject a request that changes the buffer geometry, so that the codec\nparameters that the driver receives match the buffer in use.","source":"cvelist"}],"published":"2026-11-30T13:23:06.352Z","modified":"2026-12-01T06:17:17.687Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9727b490e543de956b8ba356e2d5499097d0b7a2","fixed":"6233b4879c0a71b00791f57964bc1fd2623309c1","status":"affected"},{"type":"git","introduced":"9727b490e543de956b8ba356e2d5499097d0b7a2","fixed":"04bb6a7e76313046a3f5bd05862f9ab4ac2b503e","status":"affected"},{"type":"git","introduced":"9727b490e543de956b8ba356e2d5499097d0b7a2","fixed":"bda1fb7c15d9c7a293cc974d0325125ec577992a","status":"affected"},{"type":"git","introduced":"9727b490e543de956b8ba356e2d5499097d0b7a2","fixed":"eadf0118ab295a5a2556388f13df6bec1615e556","status":"affected"},{"type":"git","introduced":"9727b490e543de956b8ba356e2d5499097d0b7a2","fixed":"82da1acad6fd60b6072dd5f3383e6a55efdd2ac7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6233b4879c0a71b00791f57964bc1fd2623309c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04bb6a7e76313046a3f5bd05862f9ab4ac2b503e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bda1fb7c15d9c7a293cc974d0325125ec577992a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eadf0118ab295a5a2556388f13df6bec1615e556","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82da1acad6fd60b6072dd5f3383e6a55efdd2ac7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100016","url":"https://www.cve.org/CVERecord?id=CVE-2026-100016","licence":"CVE Terms of Use","modified":"2026-12-01T05:39:35.176Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100016","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100016","licence":"Public domain","modified":"2026-12-01T06:17:17.687Z"}],"updatedAt":"2026-12-01T06:32:14.138Z","epss":{"score":0.00175,"percentile":0.07353,"date":"2026-12-01T12:00:22.000Z"}}