{"id":"CVE-2026-99271","aliases":["CVE-2026-99271"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: line6: Clear prev_fbuf on capture buffer release","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: line6: Clear prev_fbuf on capture buffer release\n\nA KASAN slab-use-after-free read was reported in submit_audio_out_urb()\nwhen generating an impulse test signal:\n\n  BUG: KASAN: slab-use-after-free in create_impulse_test_signal sound/usb/line6/playback.c:76 [inline]\n  BUG: KASAN: slab-use-after-free in submit_audio_out_urb+0x1848/0x1b20 sound/usb/line6/playback.c:249\n  Read of size 2 at addr ffff888008d74870 by task syz.2.3214/7785\n\n  Allocated by task 11:\n   kmem_cache_alloc_noprof+0x2f0/0x390 mm/slub.c:4144\n   line6_buffer_acquire+0x1a1/0x220 sound/usb/line6/pcm.c:158\n   line6_pcm_acquire+0xb6/0x230 sound/usb/line6/pcm.c:329\n   line6_startup_work+0x3c/0x50 sound/usb/line6/driver.c:728\n\n  Freed by task 7785:\n   kfree+0xf8/0x390 mm/slub.c:6566\n   line6_buffer_release sound/usb/line6/pcm.c:176 [inline]\n   line6_buffer_release+0xa5/0xf0 sound/usb/line6/pcm.c:170\n   __line6_pcm_release sound/usb/line6/pcm.c:305 [inline]\n   line6_pcm_release+0x5a/0x80 sound/usb/line6/pcm.c:313\n   snd_toneport_monitor_put+0x11b/0x190 sound/usb/line6/toneport.c:183\n\nline6pcm->prev_fbuf points into the capture PCM stream buffer\n(line6pcm->in.buffer), which is updated during audio_in_callback() to\nfeed rate synchronization, software monitoring, and impulse test signal\ngeneration on playback side.\n\nWhen all capture streams are closed, line6_buffer_release() frees\npstr->buffer with kfree().  However, it does not clear line6pcm->prev_fbuf.\nIf playback is subsequently started (e.g. via impulse test signal\nvolume control snd_line6_impulse_volume_put()), submit_audio_out_urb()\ndereferences the stale pointer line6pcm->prev_fbuf under in.lock,\nresulting in a slab-use-after-free read.\n\nClear prev_fbuf and prev_fsize in line6_buffer_release() when releasing\nthe capture stream buffer under in.lock, ensuring that no stale buffer\npointer can be accessed by submit_audio_out_urb().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: line6: Clear prev_fbuf on capture buffer release\n\nA KASAN slab-use-after-free read was reported in submit_audio_out_urb()\nwhen generating an impulse test signal:\n\n  BUG: KASAN: slab-use-after-free in create_impulse_test_signal sound/usb/line6/playback.c:76 [inline]\n  BUG: KASAN: slab-use-after-free in submit_audio_out_urb+0x1848/0x1b20 sound/usb/line6/playback.c:249\n  Read of size 2 at addr ffff888008d74870 by task syz.2.3214/7785\n\n  Allocated by task 11:\n   kmem_cache_alloc_noprof+0x2f0/0x390 mm/slub.c:4144\n   line6_buffer_acquire+0x1a1/0x220 sound/usb/line6/pcm.c:158\n   line6_pcm_acquire+0xb6/0x230 sound/usb/line6/pcm.c:329\n   line6_startup_work+0x3c/0x50 sound/usb/line6/driver.c:728\n\n  Freed by task 7785:\n   kfree+0xf8/0x390 mm/slub.c:6566\n   line6_buffer_release sound/usb/line6/pcm.c:176 [inline]\n   line6_buffer_release+0xa5/0xf0 sound/usb/line6/pcm.c:170\n   __line6_pcm_release sound/usb/line6/pcm.c:305 [inline]\n   line6_pcm_release+0x5a/0x80 sound/usb/line6/pcm.c:313\n   snd_toneport_monitor_put+0x11b/0x190 sound/usb/line6/toneport.c:183\n\nline6pcm->prev_fbuf points into the capture PCM stream buffer\n(line6pcm->in.buffer), which is updated during audio_in_callback() to\nfeed rate synchronization, software monitoring, and impulse test signal\ngeneration on playback side.\n\nWhen all capture streams are closed, line6_buffer_release() frees\npstr->buffer with kfree().  However, it does not clear line6pcm->prev_fbuf.\nIf playback is subsequently started (e.g. via impulse test signal\nvolume control snd_line6_impulse_volume_put()), submit_audio_out_urb()\ndereferences the stale pointer line6pcm->prev_fbuf under in.lock,\nresulting in a slab-use-after-free read.\n\nClear prev_fbuf and prev_fsize in line6_buffer_release() when releasing\nthe capture stream buffer under in.lock, ensuring that no stale buffer\npointer can be accessed by submit_audio_out_urb().","source":"cvelist"}],"published":"2026-11-07T14:08:45.047Z","modified":"2026-11-23T08:17:32.057Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"4bdaa0a9269c09dbed21e3e66bbe566d4f354512","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"72cb60d5b535a6a8a2693e0e446fae1cfc16ce50","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"20a1465ee42601f299781c0d24b6d1b30feb74d3","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"beb5b8043a42dcac47421be48ca47597389bd2e4","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"d063975ed22cdc2cb609a9828e5f658448193606","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"862d9268f40a6e10cef24eb226e738fb69ce8aa7","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"22c82f33ff0b68d37041adf1dea5533a5863cd31","status":"affected"},{"type":"git","introduced":"63e20df1e5b2ef8d871ecbdb6c038d554ed1ca74","fixed":"aa118c8f61d59387961d58ffae831c5259a9f222","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4bdaa0a9269c09dbed21e3e66bbe566d4f354512","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72cb60d5b535a6a8a2693e0e446fae1cfc16ce50","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20a1465ee42601f299781c0d24b6d1b30feb74d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/beb5b8043a42dcac47421be48ca47597389bd2e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d063975ed22cdc2cb609a9828e5f658448193606","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/862d9268f40a6e10cef24eb226e738fb69ce8aa7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22c82f33ff0b68d37041adf1dea5533a5863cd31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa118c8f61d59387961d58ffae831c5259a9f222","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99271","url":"https://www.cve.org/CVERecord?id=CVE-2026-99271","licence":"CVE Terms of Use","modified":"2026-11-23T08:00:45.830Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99271","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99271","licence":"Public domain","modified":"2026-11-23T08:17:32.057Z"}],"updatedAt":"2026-11-25T22:59:49.449Z","epss":{"score":0.00208,"percentile":0.1162,"date":"2026-12-01T12:00:22.000Z"}}