CVE-2026-23078

ALSA: scarlett2: Fix buffer overflow in config retrieval

State
Published
Severity
Not scored
Published
Feb 4, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ac34df733d2dfe3b553897a1e9e1a44414f09834 to before d5e80d1f97ae55bcea1426f551e4419245b41b9cAffected
  • ac34df733d2dfe3b553897a1e9e1a44414f09834 to before 51049f6e3f05d70660e2458ad3bb302a3721b751Affected
  • ac34df733d2dfe3b553897a1e9e1a44414f09834 to before 91a756d22f0482eac5bedb113c8922f90b254449Affected
  • ac34df733d2dfe3b553897a1e9e1a44414f09834 to before 27049f50be9f5ae3a62d272128ce0b381cb26a24Affected
  • ac34df733d2dfe3b553897a1e9e1a44414f09834 to before 31a3eba5c265a763260976674a22851e83128f6dAffected
  • ac34df733d2dfe3b553897a1e9e1a44414f09834 to before 6f5c69f72e50d51be3a8c028ae7eda42c82902cbAffected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.199 through 5.15.*Not affected
  • 6.1.162 through 6.1.*Not affected
  • 6.6.122 through 6.6.*Not affected
  • 6.12.68 through 6.12.*Not affected
  • 6.18.8 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.