Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99611

published high CVSS 3.1 · 7.8

ALSA: line6: Reject capture buffers smaller than two packets

Published
20 Nov 2026, 05:49:34 UTC
Updated
23 Nov 2026, 08:05:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux705ececd1c60d0f5d6ef2a719008847883516970 to < e5593f7cc02ce02e414df6afa8fb22ab471b15da · 705ececd1c60d0f5d6ef2a719008847883516970 to < 31041d36272c74903c2edc79c709adacc3efc532 · 705ececd1c60d0f5d6ef2a719008847883516970 to < 78cf1c93eaa13f1cd4ebdfdcc3a410f63590c539 · 705ececd1c60d0f5d6ef2a719008847883516970 to < ed4d8c52b322edf93113a6cd0234fe585d4d5b5e · 705ececd1c60d0f5d6ef2a719008847883516970 to < 3e7f477a9e56b627739832e6cf9b682693a474a9 · 705ececd1c60d0f5d6ef2a719008847883516970 to < faf1f471319775e280d959ffbffaa44fd7e5f5b0 · 705ececd1c60d0f5d6ef2a719008847883516970 to < 9885eaa2091335ed181c93f2b406604ee2bf2312 · 705ececd1c60d0f5d6ef2a719008847883516970 to < db51425c9eb038a8e40e09b837afde015ae9e3ec · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - snd_pcm_open_substream() calls snd_line6_capture_open(), and SNDRV_PCM_IOCTL_HW_PARAMS accepts a one-period buffer at capture_hw.period_bytes_min (64, periods_min 1) because that open did not constrain BUFFER_BYTES. audio_in_callback() then hands the isochronous actual_length to line6_capture_copy(). AC:L - The caller issues SNDRV_PCM_TRIGGER_START so submit_audio_in_urb() runs. podx3 capture is 8 channels times bytes_per_channel (24 bytes/frame) at 48000 Hz, and submit_audio_out_urb() steps that rate by intervals_per_second 8000 (6 frames, 144 bytes). That actual_length exceeds a one-period buffer near period_bytes_min, so the first completion's single subtract leaves in.pos_done above runtime->buffer_size. PR:L - snd_line6_capture_ops performs no capability check. Opening the PCM device node, which a logged-in session user or audio-group member can do, is enough to issue hw_params and trigger. UI:N - That user opens the capture substream, sets the small buffer, and starts it. The isochronous completions are generated by the URBs they submitted. S:U - The faulty memcpy and the resulting fault are in the host kernel address space that owns this line6 PCM runtime. C:H - line6_capture_copy() assigns buffer_size - in.pos_done to signed int len. After in.pos_done passes 2^31 frames, len becomes a large positive int and memcpy reads len*bytes_per_frame bytes from the URB pointer fbuf, far past the isochronous packet. I:H - The same memcpy destination is runtime->dma_area + in.pos_done*bytes_per_frame. Past 2^31 frames that offset is gigabytes beyond the PAGE_ALIGN'd PCM allocation, and the signed length product wraps, so the size_t copy is not limited to the ring. A:H - snd_line6_pointer() returns that out-of-range in.pos_done, and every later packet logs unratelimited dev_err("driver bug: len") from the URB callback. When len turns positive the wild memcpy faults in kernel context.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 705ececd1c60d0f5d6ef2a719008847883516970 to < e5593f7cc02ce02e414df6afa8fb22ab471b15da (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < 31041d36272c74903c2edc79c709adacc3efc532 (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < 78cf1c93eaa13f1cd4ebdfdcc3a410f63590c539 (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < ed4d8c52b322edf93113a6cd0234fe585d4d5b5e (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < 3e7f477a9e56b627739832e6cf9b682693a474a9 (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < faf1f471319775e280d959ffbffaa44fd7e5f5b0 (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < 9885eaa2091335ed181c93f2b406604ee2bf2312 (affected · git)705ececd1c60d0f5d6ef2a719008847883516970 to < db51425c9eb038a8e40e09b837afde015ae9e3ec (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ALSA: line6: Reject capture buffers smaller than two packets

Provenance

Schema
5.2
Searchable
yes
Content hash
1cbe931e9bb2bf6a03082f0530ae2f59ce96f348c795806c7d28a22f70f207f0
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected