# CVE-2026-23078: ALSA: scarlett2: Fix buffer overflow in config retrieval

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-04 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2026-23078, DEBIAN-CVE-2026-23078
- Record: https://cvemate.com/vulnerability/CVE-2026-23078 · JSON: https://cvemate.com/vulnerability/CVE-2026-23078/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.197%, percentile 9.854%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.8-1
- ubuntu linux (Ubuntu): \< 5.15.0-176.186 \| \< 6.8.0-117.117 \| All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1105.112 \| \< 6.8.0-1055.58 \| All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1105.112~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1057.60~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1105.112+fips1 \| \< 6.8.0-1055.58+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1110.119 \| \< 6.8.0-1056.62
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 39)

- <https://git.kernel.org/stable/c/d5e80d1f97ae55bcea1426f551e4419245b41b9c>
- <https://git.kernel.org/stable/c/51049f6e3f05d70660e2458ad3bb302a3721b751>
- <https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449>
- <https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24>
- <https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d>
- <https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb>
- <https://ubuntu.com/security/CVE-2026-23078>
- <https://www.cve.org/CVERecord?id=CVE-2026-23078>
- <https://git.kernel.org/linus/6f5c69f72e50d51be3a8c028ae7eda42c82902cb>
- <https://ubuntu.com/security/notices/USN-8162-1>
- <https://ubuntu.com/security/notices/USN-8180-1>
- <https://ubuntu.com/security/notices/USN-8180-2>
- <https://ubuntu.com/security/notices/USN-8186-1>
- <https://ubuntu.com/security/notices/USN-8187-1>
- <https://ubuntu.com/security/notices/USN-8188-1>
- <https://ubuntu.com/security/notices/USN-8180-3>
- <https://ubuntu.com/security/notices/USN-8180-4>
- <https://ubuntu.com/security/notices/USN-8180-5>
- <https://ubuntu.com/security/notices/USN-8243-1>
- <https://ubuntu.com/security/notices/USN-8180-6>

---

Data as of 2026-12-05T04:59:32.931Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
