CVE-2026-99271: ALSA: line6: Clear prev_fbuf on capture buffer release

Published Nov 7, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ALSA: line6: Clear prevfbuf on capture buffer release

A KASAN slab-use-after-free read was reported in submitaudioouturb() when generating an impulse test signal:

BUG: KASAN: slab-use-after-free in createimpulsetestsignal sound/usb/line6/playback.c:76 [inline] BUG: KASAN: slab-use-after-free in submitaudioouturb+0x1848/0x1b20 sound/usb/line6/playback.c:249 Read of size 2 at addr ffff888008d74870 by task syz.2.3214/7785

Allocated by task 11: kmemcacheallocnoprof+0x2f0/0x390 mm/slub.c:4144 line6bufferacquire+0x1a1/0x220 sound/usb/line6/pcm.c:158 line6pcmacquire+0xb6/0x230 sound/usb/line6/pcm.c:329 line6startupwork+0x3c/0x50 sound/usb/line6/driver.c:728

Freed by task 7785: kfree+0xf8/0x390 mm/slub.c:6566 line6bufferrelease sound/usb/line6/pcm.c:176 [inline] line6bufferrelease+0xa5/0xf0 sound/usb/line6/pcm.c:170 line6pcmrelease sound/usb/line6/pcm.c:305 [inline] line6pcmrelease+0x5a/0x80 sound/usb/line6/pcm.c:313 sndtoneportmonitorput+0x11b/0x190 sound/usb/line6/toneport.c:183

line6pcm->prevfbuf points into the capture PCM stream buffer (line6pcm->in.buffer), which is updated during audioincallback() to feed rate synchronization, software monitoring, and impulse test signal generation on playback side.

When all capture streams are closed, line6bufferrelease() frees pstr->buffer with kfree(). However, it does not clear line6pcm->prevfbuf. If playback is subsequently started (e.g. via impulse test signal volume control sndline6impulsevolumeput()), submitaudioouturb() dereferences the stale pointer line6pcm->prevfbuf under in.lock, resulting in a slab-use-after-free read.

Clear prevfbuf and prevfsize in line6bufferrelease() when releasing the capture stream buffer under in.lock, ensuring that no stale buffer pointer can be accessed by submitaudioouturb().

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In line6_buffer_release(), clear line6pcm->prev_fbuf and line6pcm->prev_fsize when releasing the capture stream buffer under in.lock, preventing submit_audio_out_urb() from dereferencing a stale buffer pointer.

Event History

Nov 7, 2026
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
Description
Data Sourced
via NVD·02:17 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203