# CVE-2026-74682: ALSA: usb-audio: fix OOB write on Type II inbound URBs

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-22T15:32:49.527Z
- **Modified:** 2026-11-06T17:19:54.510Z

## Who should check

- Anyone running Linux \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 6af5f29af7711233ae68d3b25c15d67478468900; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< f1fbb50b99311b35c2e85cc70341d62082dca4b5; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 137bf034740e5a2734794908d0aff1e0bd7cee6e; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 6607f85242577f33d4540a0d1f4a6137f5367058; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< ca22c94bdfc22c564ca2e11c87ba4d17ebeaaa9a; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 0a235379825e1a6194e43861ee6658e5fc35686d; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< d3ed4e6321bb453757044cb9e5ecb30a33f04903; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 69ee44e1a23be62318189dc4b37fa4ad94053269
- Anyone running Linux 3.5

## Description

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

ALSA: usb-audio: fix OOB write on Type II inbound URBs

data\_ep\_set\_params() sizes each URB transfer buffer before it adds the
Format Type II transfer delimiter:

	u-\>packets = urb\_packs;
	u-\>buffer\_size = maxsize \* u-\>packets;

	if (fmt-\>fmt\_type == UAC\_FORMAT\_TYPE\_II)
		u-\>packets++; /\* for transfer delimiter \*/
	u-\>urb = usb\_alloc\_urb(u-\>packets, GFP\_KERNEL);

buffer\_size is computed from the pre-increment packet count and never
recomputed, so for a Type II endpoint the buffer is one packet short of
the packet count the URB is built with.

prepare\_inbound\_urb() then lays out one iso frame per packet and never
consults buffer\_size:

	offs = 0;
	for (i = 0; i \< urb\_ctx-\>packets; i++) {
		urb-\>iso\_frame\_desc\[i\].offset = offs;
		urb-\>iso\_frame\_desc\[i\].length = ep-\>curpacksize;
		offs += ep-\>curpacksize;
	}

	urb-\>transfer\_buffer\_length = offs;
	urb-\>number\_of\_packets = urb\_ctx-\>packets;

The last descriptor therefore points one packet past the end of the
transfer buffer, where the host controller writes device data on every
inbound transfer.  prepare\_silent\_urb() and prepare\_playback\_urb() bound
their fill loops by ctx-\>buffer\_size, so only capture is affected.

fmt\_type comes from the device's audio streaming descriptors, so any
device advertising a Type II capture format hits this once userspace sets
hw\_params on the stream.

KASAN on 7.2.0-rc5 (arm64) with a dummy\_hcd/raw-gadget device, one report
per inbound transfer:

  BUG: KASAN: slab-out-of-bounds in dummy\_timer
  Write of size 64 at addr ffff0000186171c0 by task cons02/166
   \_\_asan\_memcpy
   dummy\_timer
   hrtimer\_run\_softirq
  Allocated by task 166:
   usb\_alloc\_coherent
   snd\_usb\_endpoint\_set\_params
  The buggy address is located 0 bytes to the right of
   allocated 64-byte region \[ffff000018617180, ffff0000186171c0)

Compute buffer\_size after the delimiter packet has been accounted for,
and bound the fill loop by buffer\_size, as prepare\_silent\_urb() already
does on the outbound side.  This grows every Type II URB allocation by
one maxsize packet.

Discovered by XBOW, triaged by Baul Lee \<baul.lee@xbow.com\>

## Affected and fixed versions

- Linux: \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 6af5f29af7711233ae68d3b25c15d67478468900; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< f1fbb50b99311b35c2e85cc70341d62082dca4b5; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 137bf034740e5a2734794908d0aff1e0bd7cee6e; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 6607f85242577f33d4540a0d1f4a6137f5367058; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< ca22c94bdfc22c564ca2e11c87ba4d17ebeaaa9a; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 0a235379825e1a6194e43861ee6658e5fc35686d; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< d3ed4e6321bb453757044cb9e5ecb30a33f04903; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 69ee44e1a23be62318189dc4b37fa4ad94053269 (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-74682.md
Affected: Linux >= 8fdff6a319e7dac757c558bd283dc4577e68cde7, < 6af5f29af7711233ae68d3b25c15d67478468900; >= 8fdff6a319e7dac757c558bd283dc4577e68cde7, < f1fbb50b99311b35c2e85cc70341d62082dca4b5; >= 8fdff6a319e7dac757c558bd283dc4577e68cde7, < 137bf034740e5a2734794908d0aff1e0bd7cee6e; >= 8fdff6a319e7dac757c558b…
Fixed in: Linux 6af5f29af7711233ae68d3b25c15d67478468900, Linux 137bf034740e5a2734794908d0aff1e0bd7cee6e, Linux 6607f85242577f33d4540a0d1f4a6137f5367058, Linux 0a235379825e1a6194e43861ee6658e5fc35686d, Linux 69ee44e1a23be62318189dc4b37fa4ad94053269

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 6af5f29af7711233ae68d3b25c15d67478468900; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< f1fbb50b99311b35c2e85cc70341d62082dca4b5; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 137bf034740e5a2734794908d0aff1e0bd7cee6e; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 6607f85242577f33d4540a0d1f4a6137f5367058; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< ca22c94bdfc22c564ca2e11c87ba4d17ebeaaa9a; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 0a235379825e1a6194e43861ee6658e5fc35686d; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< d3ed4e6321bb453757044cb9e5ecb30a33f04903; \>= 8fdff6a319e7dac757c558bd283dc4577e68cde7, \< 69ee44e1a23be62318189dc4b37fa4ad94053269; Linux 3.5.

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

Yes. Fixed in Linux 6af5f29af7711233ae68d3b25c15d67478468900, Linux 137bf034740e5a2734794908d0aff1e0bd7cee6e, Linux 6607f85242577f33d4540a0d1f4a6137f5367058, Linux 0a235379825e1a6194e43861ee6658e5fc35686d, Linux 69ee44e1a23be62318189dc4b37fa4ad94053269. Upgrade Linux to 69ee44e1a23be62318189dc4b37fa4ad94053269 or later.

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

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/6af5f29af7711233ae68d3b25c15d67478468900>
- other: <https://git.kernel.org/stable/c/f1fbb50b99311b35c2e85cc70341d62082dca4b5>
- other: <https://git.kernel.org/stable/c/137bf034740e5a2734794908d0aff1e0bd7cee6e>
- other: <https://git.kernel.org/stable/c/6607f85242577f33d4540a0d1f4a6137f5367058>
- other: <https://git.kernel.org/stable/c/ca22c94bdfc22c564ca2e11c87ba4d17ebeaaa9a>
- other: <https://git.kernel.org/stable/c/0a235379825e1a6194e43861ee6658e5fc35686d>
- other: <https://git.kernel.org/stable/c/d3ed4e6321bb453757044cb9e5ecb30a33f04903>
- other: <https://git.kernel.org/stable/c/69ee44e1a23be62318189dc4b37fa4ad94053269>

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

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