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

Status: published. Published: 2026-11-20. Updated: 2026-11-22.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 705ececd1c60d0f5d6ef2a719008847883516970; < 3e7f477a9e56b627739832e6cf9b682693a474a9 (affected, git); ≥ 705ececd1c60d0f5d6ef2a719008847883516970; < faf1f471319775e280d959ffbffaa44fd7e5f5b0 (affected, git); ≥ 705ececd1c60d0f5d6ef2a719008847883516970; < 9885eaa2091335ed181c93f2b406604ee2bf2312 (affected, git); ≥ 705ececd1c60d0f5d6ef2a719008847883516970; < db51425c9eb038a8e40e09b837afde015ae9e3ec (affected, git). Source: CNA: Linux
- Linux / Linux: 2.6.30 (affected); ≥ 0; < 2.6.30 (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: Linux

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

- CISA KEV: No listing in collected sources

- EPSS: 0.20% as of 2026-11-21; percentile 9.92%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/3e7f477a9e56b627739832e6cf9b682693a474a9 (CNA: Linux)

- https://git.kernel.org/stable/c/faf1f471319775e280d959ffbffaa44fd7e5f5b0 (CNA: Linux)

- https://git.kernel.org/stable/c/9885eaa2091335ed181c93f2b406604ee2bf2312 (CNA: Linux)

- https://git.kernel.org/stable/c/db51425c9eb038a8e40e09b837afde015ae9e3ec (CNA: Linux)

- https://git.kernel.org/stable/c/3e7f477a9e56b627739832e6cf9b682693a474a9 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/9885eaa2091335ed181c93f2b406604ee2bf2312 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/db51425c9eb038a8e40e09b837afde015ae9e3ec (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/faf1f471319775e280d959ffbffaa44fd7e5f5b0 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99611; retrieved 2026-11-22; source updated 2026-11-22

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99611; retrieved 2026-11-22; source updated 2026-11-22

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99611; retrieved 2026-11-22; source updated Not reported

Revision: 21fb771ac6b987070259f8b46a312129219d8841a7528e32a98e4563bceea208

Canonical: https://y2.dev/cve/CVE-2026-99611

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.