# CVE-2026-99611: ALSA: line6: Reject capture buffers smaller than two packets

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99611, UBUNTU-CVE-2026-99611, CGA-5586-8cg4-cfjq, CGA-7g4q-qcjv-8f3g, CGA-fjvg-jxv9-pp83, CGA-gpf2-cff4-vwg7, CGA-h4gj-r3j9-8j59, CGA-h9w8-xhfw-p45f, CGA-mv3r-x8rx-3vwc, CGA-qphh-7v6v-f69h, CGA-w87g-r8cr-qq5c, CGA-wmrh-w43m-r8pf, CGA-xv62-f6rj-mf7f, CGA-468w-j879-4464, CGA-48hh-q7xc-7m6q, CGA-72j8-cm2v-cg74, CGA-7c86-9vcw-c3fq, CGA-88v5-vmgc-3jq7, CGA-9h6c-gv46-96hw, CGA-cfmr-w8j4-h5h2, CGA-hwcr-f949-qgqq
- Record: https://cvemate.com/vulnerability/CVE-2026-99611 · JSON: https://cvemate.com/vulnerability/CVE-2026-99611/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

ALSA: line6: Reject capture buffers smaller than two packets

line6_capture_copy() splits the copy into the ALSA ring buffer once at
the buffer end and wraps pos_done once, which is only correct when one
packet holds at most buffer_size frames. The packet size comes from the
device's endpoint, and the per-device hw structs allow 64-byte periods
with periods_min 1, so a packet can be larger than the whole buffer.
audio_in_callback() logs an oversized packet and then copies it anyway.

The packet size is known at probe time, so constrain
SNDRV_PCM_HW_PARAM_BUFFER_BYTES in snd_line6_capture_open() to at least
twice the larger of the two endpoints' packet sizes. Two rather than
one, because pos_done advances by the packet and wraps once, so a buffer
of exactly one packet leaves the position unchanged after every packet.
hw_params then rejects a buffer that cannot hold two packets, and the
single wrap is valid for every configuration that gets through. Keep a
guard in line6_capture_copy() that drops an oversized packet with a
ratelimited error, for the case that should no longer be reachable.

Reproduced on 7.3-rc7 with a USB/IP device presenting the GuitarPort
interface layout and 1024-byte packets into a 128-byte buffer: ALSA
logged "invalid position: pos = 224, buffer size = 32" and the driver
logged "driver bug: len" on every following packet. With this patch a
1024-byte buffer is refused at hw_params, and a 2048-byte buffer streams
for 30 s with no report and with the position moving inside the buffer.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.187%, percentile 8.678%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 182)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.5-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/3e7f477a9e56b627739832e6cf9b682693a474a9>
- <https://git.kernel.org/stable/c/faf1f471319775e280d959ffbffaa44fd7e5f5b0>
- <https://git.kernel.org/stable/c/9885eaa2091335ed181c93f2b406604ee2bf2312>
- <https://git.kernel.org/stable/c/db51425c9eb038a8e40e09b837afde015ae9e3ec>
- <https://security-tracker.debian.org/tracker/CVE-2026-99611>
- <https://git.kernel.org/stable/c/e5593f7cc02ce02e414df6afa8fb22ab471b15da>
- <https://git.kernel.org/stable/c/31041d36272c74903c2edc79c709adacc3efc532>
- <https://git.kernel.org/stable/c/78cf1c93eaa13f1cd4ebdfdcc3a410f63590c539>
- <https://git.kernel.org/stable/c/ed4d8c52b322edf93113a6cd0234fe585d4d5b5e>
- <https://ubuntu.com/security/CVE-2026-99611>
- <https://www.cve.org/CVERecord?id=CVE-2026-99611>
- <https://git.kernel.org/linus/db51425c9eb038a8e40e09b837afde015ae9e3ec>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99611.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99611>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T03:57:35.834Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
