Linux kernelのALSA line6ドライバーに脆弱性、バッファー溢れで任意のコードを実行されるおそれ
Summary
Linux kernelのALSA line6ドライバーで、パケットサイズより小さいキャプチャーバッファーを受け付けてしまう脆弱性が見つかりました。2026年11月20日に公表され、CVSSは7.8です。影響するのは6.12.118より前の6.12系、6.18.64より前の6.18系、7.3.5より前の7.3系などで、修正版の6.12.118、6.18.64、7.3.5以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux kernelのALSA line6ドライバーで、パケットサイズより小さいキャプチャーバッファーを受け付けてしまう脆弱性が見つかりました。2026年11月20日に公表され、CVSSは7.8です。影響するのは6.12.118より前の6.12系、6.18.64より前の6.18系、7.3.5より前の7.3系などで、修正版の6.12.118、6.18.64、7.3.5以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 2.6.30, < 5.10.275→ 5.10.275 ≥ 5.11.0, < 5.15.226→ 5.15.226 ≥ 5.16.0, < 6.1.193→ 6.1.193 ≥ 6.2.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.118→ 6.12.118 ≥ 6.13.0, < 6.18.64→ 6.18.64 ≥ 6.19.0, < 7.3.5→ 7.3.5 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.118 6.18.64 7.3.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99611 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99611 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99611 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
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…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com