Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99611

ALSA: line6: Reject capture buffers smaller than two packets

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-12-04 20:27 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 705ececd1c60d0f5d6ef2a719008847883516970 to < e5593f7cc02ce02e414df6afa8fb22ab471b15da; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < 31041d36272c74903c2edc79c709adacc3efc532; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < 78cf1c93eaa13f1cd4ebdfdcc3a410f63590c539; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < ed4d8c52b322edf93113a6cd0234fe585d4d5b5e; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < 3e7f477a9e56b627739832e6cf9b682693a474a9; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < faf1f471319775e280d959ffbffaa44fd7e5f5b0; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < 9885eaa2091335ed181c93f2b406604ee2bf2312; affected: 705ececd1c60d0f5d6ef2a719008847883516970 to < db51425c9eb038a8e40e09b837afde015ae9e3ecSee vendor advisory
LinuxLinuxaffected: 2.6.30; unaffected: 0 to < 2.6.30; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed