CVE-2026-23078 ALSA: scarlett2: Fix buffer overflow in config retrieval
A buffer overflow in the Linux kernel's Scarlett2 audio driver allows local attackers to execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-23078?
CVE-2026-23078 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ALSA: scarlett2: Fix buffer overflow in config retrieval
The scarlett2_usb_get_config() function has a logic error in the endianness conversion code that can cause buffer overflows when count > 1.
The code checks `if (size == 2)` where `size` is the total buffer size in bytes, then loops `count` times treating each element as u16 (2 bytes). This causes the loop to access `count * 2` bytes when the buffer only has `size` bytes allocated.
Fix by checking the element size (config_item->size) instead of the total buffer size. This ensures the endianness conversion matches the actual element type.
Weakness: CWE-787
Which versions are affected by CVE-2026-23078?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-23078?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-23078 being exploited?
There is no known exploitation of CVE-2026-23078 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-77208, BELL-CVE-2026-23078, DEBIAN-CVE-2026-23078, GHSA-25gw-4v5m-94pp, ROOT-OS-DEBIAN-12-CVE-2026-23078, ROOT-OS-DEBIAN-13-CVE-2026-23078 and 3 more.