CVE-2026-23078

ALSA: scarlett2: Fix buffer overflow in config retrieval

published February 4, 2026

CVSS
—
EPSS
0%
Percentile
5.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.7th percentile
Published
2026-02-04T16:08Z
EPSS history
Timeline
  • 04 FEB 16:08Z
    ALSA: scarlett2: Fix buffer overflow in config retrieval
    cvelistv5