CVE-2026-23208: ALSA: usb-audio: Prevent excessive number of frames
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb-audio: Prevent excessive number of frames
In this case, the user constructed the parameters with maxpacksize 40 for rate 22050 / pps 1000, and packsize[0] 22 packsize[1] 23. The buffer size for each data URB is maxpacksize packets, which in this example is 40 6 = 240; When the user performs a write operation to send audio data into the ALSA PCM playback stream, the calculated number of frames is packsize[0] packets = 264, which exceeds the allocated URB buffer size, triggering the out-of-bounds (OOB) issue reported by syzbot [1].
Added a check for the number of single data URB frames when calculating the number of frames to prevent [1].
[1] BUG: KASAN: slab-out-of-bounds in copytourb+0x261/0x460 sound/usb/pcm.c:1487 Write of size 264 at addr ffff88804337e800 by task syz.0.17/5506 Call Trace: copytourb+0x261/0x460 sound/usb/pcm.c:1487 prepareplaybackurb+0x953/0x13d0 sound/usb/pcm.c:1611 prepareoutboundurb+0x377/0xc50 sound/usb/endpoint.c:333
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23208?
The severity of CVE-2026-23208 is classified as medium due to its potential impact on system stability.
How do I fix CVE-2026-23208?
To fix CVE-2026-23208, it is recommended to update the Linux kernel to the latest stable version that includes the security patch.
Which systems are affected by CVE-2026-23208?
CVE-2026-23208 affects Linux kernel versions that utilize the ALSA usb-audio subsystem.
What kind of vulnerability is CVE-2026-23208?
CVE-2026-23208 is a vulnerability related to excessive processing of audio frames in the ALSA subsystem, which may lead to system performance issues.
Is there a known exploit for CVE-2026-23208?
As of now, there are no publicly known exploits for CVE-2026-23208, but the vulnerability remains a potential risk if not addressed.