← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel ALSA Line6 Capture Copy Breaks When the Buffer Holds Fewer Than Two Packets

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99611

Key Details

CVECVE-2026-99611
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99611
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99611
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.