CVEvulnerability

CVE-2026-23078

7.8 HIGH Published 2026-02-04 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-02-04
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

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.

Affected configurations

• linux linux kernel (>= 5.14 < 5.15.199) • linux linux kernel (>= 5.16 < 6.1.162) • linux linux kernel (>= 6.2 < 6.6.122) • linux linux kernel (>= 6.7 < 6.12.68) • linux linux kernel (>= 6.13 < 6.18.8) • linux linux kernel 6.19

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References