CVE-2026-98836

ALSA: line6: reject oversized playback packets

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: reject oversized playback packets Each playback URB is handed a slice of out.buffer that is exactly LINE6_ISO_PACKETS * max_packet_size_out bytes, sized from the OUT endpoint, but the number of bytes written into that slice is never compared against it. submit_audio_out_urb() takes the frame count from prev_fsize, which audio_in_callback() derived from the *IN* endpoint's received packet length, and rescales it with the playback frame size; when prev_fsize is still zero it synthesizes a length from the sample rate instead. On a device declaring a large IN wMaxPacketSize and a small OUT wMaxPacketSize, the resulting memcpy(), or the memset() when the playback stream is idle, runs past its slice and, as the reproducer below shows, beyond the allocation. usb_submit_urb() is not a backstop. max_packet_size_out comes from usb_maxpacket(), which returns only the low 11 bits of wMaxPacketSize, while USB core validates a high-speed isochronous length against that base scaled by usb_endpoint_maxp_mult(). A length of up to three times the allocated slice is therefore accepted, and even a rejected URB is only rejected after the write. Reject a packet that does not fit the slice the driver allocated for it. Clamping it instead would silently shorten the capture-derived rate feedback and desynchronize the two streams. BUG: KASAN: slab-out-of-bounds in submit_audio_out_urb (sound/usb/line6/playback.c:229) Write of size 1024 at addr ffff888100bbd400 by task kworker/1:2/5002 Workqueue: events line6_startup_work Call Trace: __asan_memcpy (mm/kasan/shadow.c:106) submit_audio_out_urb (sound/usb/line6/playback.c:229) line6_submit_audio_out_all_urbs (sound/usb/line6/playback.c:291) line6_stream_start (sound/usb/line6/pcm.c:194) line6_pcm_acquire (sound/usb/line6/pcm.c:337) line6_startup_work (sound/usb/line6/driver.c:728) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) The buggy address belongs to the object at ffff888100bbd400 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 0 bytes inside of allocated 256-byte region [ffff888100bbd400, ffff888100bbd500)

Key facts

Published
18 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.176% likely to be exploited in the next 30 days, higher than 7.249% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding 48c76820dd8858ce60a6e42519141ebcf3dfeebf (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding 7f31587e26e1d4735924bc324e7fa506d85de150 (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding e3b68b1d92f279e203923dc8bf45c8860e5b5985 (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding 933d8ac23388eb208ea195231d682dce0bec86ca (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding a84371be89c39ccc46c7af8b9eb15c448df9265f (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding 3f75da1e4ee699f6650d23d6897cf443b01856c7 (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding b78748424f29f07d310484b2b36afdececa74389 (affected)
  • 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 up to but excluding 61b0a5a114fa4552892da5c0ff2f42e63bf08c6b (affected)
LinuxLinux
  • Default status: affected
  • 4.9 (affected)
  • 0 up to but excluding 4.9 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References