Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C5D13CF20A for ; Sun, 18 Oct 2026 16:22:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340576; cv=none; b=cnXp9PKyiVAFpXqqJrnIeQ63xGx0SuYa7wlO4TLapTUm5EQ54W3x/5RQp1F3yWSignBJ5rP7swOAu8Az2N08S3TW0lxNl8gviQQjnRNAfBBCa43jQOl4Y4CFo24ttqSoXmIHQrGnnFEqnBnp19OSzg74eyXKeDSoVZDk/BDXyj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340576; c=relaxed/simple; bh=xByQop6KCR+UceJV4k4IkUMeBmG4vW8M6zlxZ3fqGhU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k0RLua3+L3H70eotgebbLCOJ8UTxl8RNlfCubXGry2bSL/2jlOBFXVYUaauBByLoYHnVZllbplNomtiSxfrJWbcINzvHQCOGGL+HlIX1UUknwevbenIrTPJi5dkFHg63H7UZk+Aq+70T5NXY8ioEEZrJrjD51uHSu9iv3A9HPyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uqGHpc+2; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uqGHpc+2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC96D1F000C4; Sun, 18 Oct 2026 16:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340575; bh=Nuie68thArB5slyTDZLn39US3dTsC2l7p6dw3H/9rYA=; h=From:To:Cc:Subject:Date:Reply-To; b=uqGHpc+2LBptT8/BusMLwhH/KiewkUreDurbfaIIW0RSTbBtxRGkYDaLegDR0ZFn1 x389MvOsR9cgXURVKLSJflZPWwJ34JuBQJFTR+j5JgtuXa7UsbVFLX+im3nBhutC4t SSexF00WqvtZCmVqNzuC+uIkh6FJsdQdDZMoU5EI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98836: ALSA: line6: reject oversized playback packets Date: Sun, 18 Oct 2026 17:46:51 +0200 Message-ID: <2026101831-CVE-2026-98836-09c6@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4570; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5zyjadXWkR3iRbWuZxlD5bcf4ziar2XCfJ9vicX667w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXsY3fj+dNPWXsF1CkfvBO7vUjkjoiUhvX1wW9HH+A ZH4a5nWHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR73iGubLcSbN3mHd/bUq+ MScq2jv/60OJIoZ5urqCHrpT7D2dw5h4Z1e+U9sQKP0QAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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) The Linux kernel CVE team has assigned CVE-2026-98836 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 and fixed in 6.12.113 with commit a84371be89c39ccc46c7af8b9eb15c448df9265f Issue introduced in 4.9 with commit 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 and fixed in 6.18.56 with commit 3f75da1e4ee699f6650d23d6897cf443b01856c7 Issue introduced in 4.9 with commit 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 and fixed in 7.2.10 with commit b78748424f29f07d310484b2b36afdececa74389 Issue introduced in 4.9 with commit 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 and fixed in 7.3-rc6 with commit 61b0a5a114fa4552892da5c0ff2f42e63bf08c6b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98836 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: sound/usb/line6/playback.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a84371be89c39ccc46c7af8b9eb15c448df9265f https://git.kernel.org/stable/c/3f75da1e4ee699f6650d23d6897cf443b01856c7 https://git.kernel.org/stable/c/b78748424f29f07d310484b2b36afdececa74389 https://git.kernel.org/stable/c/61b0a5a114fa4552892da5c0ff2f42e63bf08c6b