ALSA: line6: reject oversized playback packets
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) Writ
CVE-2026-98836
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98836
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7a0f55aeeb8f1fa32a119d34ddfefc6100936692",
"lessThan": "933d8ac23388eb208ea195231d682dce0bec86ca",
"versionType": "git"
},
{
"status": "affected",
"version": "7a0f55aeeb8f1fa32a119d34ddfefc6100936692",
"lessThan": "a84371be89c39ccc46c7af8b9eb15c448df9265f",
"versionType": "git"
},
{
"status": "affected",
"version": "7a0f55aeeb8f1fa32a119d34ddfefc6100936692",
"lessThan": "3f75da1e4ee699f6650d23d6897cf443b01856c7",
"versionType": "git"
},
{
"status": "affected",
"version": "7a0f55aeeb8f1fa32a119d34ddfefc6100936692",
"lessThan": "b78748424f29f07d310484b2b36afdececa74389",
"versionType": "git"
},
{
"status": "affected",
"version": "7a0f55aeeb8f1fa32a119d34ddfefc6100936692",
"lessThan": "61b0a5a114fa4552892da5c0ff2f42e63bf08c6b",
"versionType": "git"
}
],
"programFiles": [
"sound/usb/line6/playback.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.9"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.9",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"sound/usb/line6/playback.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98836
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48998 · Revision 1
- Added to Heist Feed
- Publisher date