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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-02-04T16:08:03.283Z
- **Modified:** 2026-11-05T22:18:01.430Z

## Who should check

- Anyone running Linux \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< d5e80d1f97ae55bcea1426f551e4419245b41b9c; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 51049f6e3f05d70660e2458ad3bb302a3721b751; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 91a756d22f0482eac5bedb113c8922f90b254449; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 27049f50be9f5ae3a62d272128ce0b381cb26a24; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 31a3eba5c265a763260976674a22851e83128f6d; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 6f5c69f72e50d51be3a8c028ae7eda42c82902cb
- Anyone running Linux 5.14

## 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 and fixed versions

- Linux: \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< d5e80d1f97ae55bcea1426f551e4419245b41b9c; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 51049f6e3f05d70660e2458ad3bb302a3721b751; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 91a756d22f0482eac5bedb113c8922f90b254449; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 27049f50be9f5ae3a62d272128ce0b381cb26a24; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 31a3eba5c265a763260976674a22851e83128f6d; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 6f5c69f72e50d51be3a8c028ae7eda42c82902cb (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 6f5c69f72e50d51be3a8c028ae7eda42c82902cb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23078. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23078.md
Affected: Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834, < d5e80d1f97ae55bcea1426f551e4419245b41b9c; >= ac34df733d2dfe3b553897a1e9e1a44414f09834, < 51049f6e3f05d70660e2458ad3bb302a3721b751; >= ac34df733d2dfe3b553897a1e9e1a44414f09834, < 91a756d22f0482eac5bedb113c8922f90b254449; >= ac34df733d2dfe3b553897a…
Fixed in: Linux 51049f6e3f05d70660e2458ad3bb302a3721b751, Linux 91a756d22f0482eac5bedb113c8922f90b254449, Linux 27049f50be9f5ae3a62d272128ce0b381cb26a24, Linux 31a3eba5c265a763260976674a22851e83128f6d, Linux 6f5c69f72e50d51be3a8c028ae7eda42c82902cb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23078 being exploited?

There is no confirmed exploitation: CVE-2026-23078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23078?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23078?

Linux \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< d5e80d1f97ae55bcea1426f551e4419245b41b9c; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 51049f6e3f05d70660e2458ad3bb302a3721b751; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 91a756d22f0482eac5bedb113c8922f90b254449; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 27049f50be9f5ae3a62d272128ce0b381cb26a24; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 31a3eba5c265a763260976674a22851e83128f6d; \>= ac34df733d2dfe3b553897a1e9e1a44414f09834, \< 6f5c69f72e50d51be3a8c028ae7eda42c82902cb; Linux 5.14.

### Is there a fix for CVE-2026-23078?

Yes. Fixed in Linux 51049f6e3f05d70660e2458ad3bb302a3721b751, Linux 91a756d22f0482eac5bedb113c8922f90b254449, Linux 27049f50be9f5ae3a62d272128ce0b381cb26a24, Linux 31a3eba5c265a763260976674a22851e83128f6d, Linux 6f5c69f72e50d51be3a8c028ae7eda42c82902cb. Upgrade Linux to 6f5c69f72e50d51be3a8c028ae7eda42c82902cb or later.

### How do I check if I'm affected by CVE-2026-23078?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d5e80d1f97ae55bcea1426f551e4419245b41b9c>
- patch: <https://git.kernel.org/stable/c/51049f6e3f05d70660e2458ad3bb302a3721b751>
- patch: <https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449>
- patch: <https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24>
- patch: <https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d>
- patch: <https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23078>

HTML: <https://flawdb.com/CVE-2026-23078> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23078>
