CVE-2026-23078
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/02/2026
Last modified:
06/02/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ALSA: scarlett2: Fix buffer overflow in config retrieval<br />
<br />
The scarlett2_usb_get_config() function has a logic error in the<br />
endianness conversion code that can cause buffer overflows when<br />
count > 1.<br />
<br />
The code checks `if (size == 2)` where `size` is the total buffer size in<br />
bytes, then loops `count` times treating each element as u16 (2 bytes).<br />
This causes the loop to access `count * 2` bytes when the buffer only<br />
has `size` bytes allocated.<br />
<br />
Fix by checking the element size (config_item->size) instead of the<br />
total buffer size. This ensures the endianness conversion matches the<br />
actual element type.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24
- https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d
- https://git.kernel.org/stable/c/51049f6e3f05d70660e2458ad3bb302a3721b751
- https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb
- https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449
- https://git.kernel.org/stable/c/d5e80d1f97ae55bcea1426f551e4419245b41b9c



