# CVE-2026-80829: ALSA: usb-audio: fix OOB write in snd\_usbmidi\_novation\_output()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-28)
- **Published:** 2026-09-04T15:54:33.981Z
- **Modified:** 2026-10-19T09:17:17.987Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 558fc4485ecc704edfe7876d6cebae4738ff7ef8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9c8212436631b0063cb021e9f58df438e3db84d0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e9c00d7533f99aa9833c4b598f47e3b3202fdb9a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 94e4562fcc81badd1d467ddfb88c27e4fae974c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7639ec9755d3ec0ec8cd7c0fdd2c3d3997434870; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 91919b3b99ab7ce3d7dbb39fcf7c6c742a663c0c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7f00dbddb51f4f74325cdc7c3f6b19fb3392481a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1074c2306901b44ebcb83855583c6776e1e392ea; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1035a8f63bae28e498b0e7b5ac91d749844a7158
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: fix OOB write in snd\_usbmidi\_novation\_output()

snd\_usbmidi\_novation\_output() lays out a two-byte header at
transfer\_buffer\[0..1\] and passes &transfer\_buffer\[2\] together with a
length of ep-\>max\_transfer - 2 to snd\_rawmidi\_transmit():

	count = snd\_rawmidi\_transmit(ep-\>ports\[0\].substream,
				     &transfer\_buffer\[2\],
				     ep-\>max\_transfer - 2);

ep-\>max\_transfer comes from the output endpoint's wMaxPacketSize via
usb\_maxpacket(). A malformed or malicious device can advertise a bulk
OUT endpoint with a wMaxPacketSize of 1 - the USB core only clamps this
value downwards - so ep-\>max\_transfer becomes 1 and the count argument
becomes -1.

snd\_rawmidi\_transmit() passes the negative count on to
\_\_snd\_rawmidi\_transmit\_peek(), where "if (count1 \> count) count1 = count"
leaves count1 negative; get\_aligned\_size() keeps it negative for a
byte-stream substream, so the following memcpy(buffer, ..., count1) runs
with a (size\_t)-1 length and writes far past the transfer buffer, which
was allocated with usb\_alloc\_coherent(ep-\>max\_transfer).

This is the same class of bug that was fixed for snd\_usbmidi\_akai\_output()
in commit 0970274613fb ("ALSA: usb-audio: fix OOB write in
snd\_usbmidi\_akai\_output()"); the novation output routine was left
unguarded. Bail out when the endpoint cannot hold the two-byte header
plus at least one payload byte.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 558fc4485ecc704edfe7876d6cebae4738ff7ef8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9c8212436631b0063cb021e9f58df438e3db84d0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e9c00d7533f99aa9833c4b598f47e3b3202fdb9a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 94e4562fcc81badd1d467ddfb88c27e4fae974c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7639ec9755d3ec0ec8cd7c0fdd2c3d3997434870; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 91919b3b99ab7ce3d7dbb39fcf7c6c742a663c0c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7f00dbddb51f4f74325cdc7c3f6b19fb3392481a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1074c2306901b44ebcb83855583c6776e1e392ea; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1035a8f63bae28e498b0e7b5ac91d749844a7158 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 1035a8f63bae28e498b0e7b5ac91d749844a7158 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-80829. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80829.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 558fc4485ecc704edfe7876d6cebae4738ff7ef8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9c8212436631b0063cb021e9f58df438e3db84d0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e9c00d7533f99aa9833c4b598f47e3b3202fdb9a; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 558fc4485ecc704edfe7876d6cebae4738ff7ef8, Linux 9c8212436631b0063cb021e9f58df438e3db84d0, Linux 94e4562fcc81badd1d467ddfb88c27e4fae974c2, Linux 7639ec9755d3ec0ec8cd7c0fdd2c3d3997434870, Linux 91919b3b99ab7ce3d7dbb39fcf7c6c742a663c0c, Linux 7f00dbddb51f4f74325cdc7c3f6b19fb3392481a, Linux 1074c…

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-80829 being exploited?

There is no confirmed exploitation: CVE-2026-80829 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-80829?

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 558fc4485ecc704edfe7876d6cebae4738ff7ef8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9c8212436631b0063cb021e9f58df438e3db84d0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e9c00d7533f99aa9833c4b598f47e3b3202fdb9a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 94e4562fcc81badd1d467ddfb88c27e4fae974c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7639ec9755d3ec0ec8cd7c0fdd2c3d3997434870; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 91919b3b99ab7ce3d7dbb39fcf7c6c742a663c0c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7f00dbddb51f4f74325cdc7c3f6b19fb3392481a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1074c2306901b44ebcb83855583c6776e1e392ea; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1035a8f63bae28e498b0e7b5ac91d749844a7158; Linux 2.6.12.

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

Yes. Fixed in Linux 558fc4485ecc704edfe7876d6cebae4738ff7ef8, Linux 9c8212436631b0063cb021e9f58df438e3db84d0, Linux 94e4562fcc81badd1d467ddfb88c27e4fae974c2, Linux 7639ec9755d3ec0ec8cd7c0fdd2c3d3997434870, Linux 91919b3b99ab7ce3d7dbb39fcf7c6c742a663c0c, Linux 7f00dbddb51f4f74325cdc7c3f6b19fb3392481a, Linux 1074c2306901b44ebcb83855583c6776e1e392ea, Linux 1035a8f63bae28e498b0e7b5ac91d749844a7158. Upgrade Linux to 1035a8f63bae28e498b0e7b5ac91d749844a7158 or later.

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

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

- other: <https://git.kernel.org/stable/c/558fc4485ecc704edfe7876d6cebae4738ff7ef8>
- other: <https://git.kernel.org/stable/c/9c8212436631b0063cb021e9f58df438e3db84d0>
- other: <https://git.kernel.org/stable/c/e9c00d7533f99aa9833c4b598f47e3b3202fdb9a>
- other: <https://git.kernel.org/stable/c/94e4562fcc81badd1d467ddfb88c27e4fae974c2>
- other: <https://git.kernel.org/stable/c/7639ec9755d3ec0ec8cd7c0fdd2c3d3997434870>
- other: <https://git.kernel.org/stable/c/91919b3b99ab7ce3d7dbb39fcf7c6c742a663c0c>
- other: <https://git.kernel.org/stable/c/7f00dbddb51f4f74325cdc7c3f6b19fb3392481a>
- other: <https://git.kernel.org/stable/c/1074c2306901b44ebcb83855583c6776e1e392ea>
- other: <https://git.kernel.org/stable/c/1035a8f63bae28e498b0e7b5ac91d749844a7158>

## 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-80829>

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