# CVE-2026-80971: ALSA: bcd2000: clear the URB pointers on disconnect

> 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, CNA) `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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:42:34.441Z
- **Modified:** 2026-10-19T09:17:28.960Z

## Who should check

- Anyone running Linux \>= b47a22290d581277be70e8a597824a4985d39e83, \< 9af08677aa57debaca5b57c8045c52a83d3dd376; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 5a77febac6faf6da40fbb4555f703eeb91b58130; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 3c00004f134fc819f9d9e202c6a64acde0a1f8d0; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e; \>= b47a22290d581277be70e8a597824a4985d39e83, \< eb482a06791d6168beb8c78cc904ac5a5ed96a55; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 7df3194bdb7479cad9199889655a566a2c0c1d1b; \>= b47a22290d581277be70e8a597824a4985d39e83, \< b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 459d3a64766f5ca2f1886daeaf24582831a5f5ab
- Anyone running Linux 3.16

## Description

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

ALSA: bcd2000: clear the URB pointers on disconnect

bcd2000\_free\_usb\_related\_resources() frees both URBs and leaves the
pointers behind:

	usb\_kill\_urb(bcd2k-\>midi\_out\_urb);
	usb\_kill\_urb(bcd2k-\>midi\_in\_urb);

	usb\_free\_urb(bcd2k-\>midi\_out\_urb);
	usb\_free\_urb(bcd2k-\>midi\_in\_urb);

The rawmidi device outlives that call.  A substream that is still open
when the device is unplugged reaches bcd2000\_midi\_send() from the
trigger path on close.  That function writes to the freed URB and then
hands it to the USB core:

	bcd2k-\>midi\_out\_urb-\>transfer\_buffer\_length = BUFSIZE;
	...
	ret = usb\_submit\_urb(bcd2k-\>midi\_out\_urb, GFP\_ATOMIC);

usb\_kill\_urb() does not stop a later submission either, so a submit that
races the disconnect can requeue the URB after it has been reaped.
midi\_in\_urb is exposed the same way: bcd2000\_input\_complete() resubmits
it from the completion handler.

KASAN on 7.2.0-rc5 (arm64):

  BUG: KASAN: slab-use-after-free in bcd2000\_midi\_send \[snd\_bcd2000\]
  Write of size 4 at addr ffff00001827d388 by task bpoc/168
   \_\_asan\_store4
   bcd2000\_midi\_send \[snd\_bcd2000\]
   bcd2000\_midi\_output\_trigger \[snd\_bcd2000\]
   snd\_rawmidi\_kernel\_write1
   close\_substream.part.0
  Freed by task 168:
   usb\_free\_urb
   bcd2000\_disconnect \[snd\_bcd2000\]

  BUG: KASAN: slab-use-after-free in usb\_submit\_urb
  Read of size 8 at addr ffff00001827d3b8 by task bpoc/168

Clear both pointers after freeing and test them on the paths that can
still run.  Poison the URBs before freeing them: usb\_poison\_urb() waits
for a running completion handler and rejects any later submission, so
after it returns the input path is quiesced and only the rawmidi trigger
path can still reach bcd2000\_midi\_send().  No unpoison is needed; the
URBs are freed on the next line.

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

## Affected and fixed versions

- Linux: \>= b47a22290d581277be70e8a597824a4985d39e83, \< 9af08677aa57debaca5b57c8045c52a83d3dd376; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 5a77febac6faf6da40fbb4555f703eeb91b58130; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 3c00004f134fc819f9d9e202c6a64acde0a1f8d0; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e; \>= b47a22290d581277be70e8a597824a4985d39e83, \< eb482a06791d6168beb8c78cc904ac5a5ed96a55; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 7df3194bdb7479cad9199889655a566a2c0c1d1b; \>= b47a22290d581277be70e8a597824a4985d39e83, \< b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 459d3a64766f5ca2f1886daeaf24582831a5f5ab (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-80971.md
Affected: Linux >= b47a22290d581277be70e8a597824a4985d39e83, < 9af08677aa57debaca5b57c8045c52a83d3dd376; >= b47a22290d581277be70e8a597824a4985d39e83, < 5a77febac6faf6da40fbb4555f703eeb91b58130; >= b47a22290d581277be70e8a597824a4985d39e83, < 3c00004f134fc819f9d9e202c6a64acde0a1f8d0; >= b47a22290d581277be70e8a…
Fixed in: Linux 9af08677aa57debaca5b57c8045c52a83d3dd376, Linux 5a77febac6faf6da40fbb4555f703eeb91b58130, Linux 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, Linux 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e, Linux 7df3194bdb7479cad9199889655a566a2c0c1d1b, Linux 459d3a64766f5ca2f1886daeaf24582831a5f5ab

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

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

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

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

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

Linux \>= b47a22290d581277be70e8a597824a4985d39e83, \< 9af08677aa57debaca5b57c8045c52a83d3dd376; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 5a77febac6faf6da40fbb4555f703eeb91b58130; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 3c00004f134fc819f9d9e202c6a64acde0a1f8d0; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e; \>= b47a22290d581277be70e8a597824a4985d39e83, \< eb482a06791d6168beb8c78cc904ac5a5ed96a55; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 7df3194bdb7479cad9199889655a566a2c0c1d1b; \>= b47a22290d581277be70e8a597824a4985d39e83, \< b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01; \>= b47a22290d581277be70e8a597824a4985d39e83, \< 459d3a64766f5ca2f1886daeaf24582831a5f5ab; Linux 3.16.

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

Yes. Fixed in Linux 9af08677aa57debaca5b57c8045c52a83d3dd376, Linux 5a77febac6faf6da40fbb4555f703eeb91b58130, Linux 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, Linux 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e, Linux 7df3194bdb7479cad9199889655a566a2c0c1d1b, Linux 459d3a64766f5ca2f1886daeaf24582831a5f5ab. Upgrade Linux to 459d3a64766f5ca2f1886daeaf24582831a5f5ab or later.

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

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/9af08677aa57debaca5b57c8045c52a83d3dd376>
- other: <https://git.kernel.org/stable/c/5a77febac6faf6da40fbb4555f703eeb91b58130>
- other: <https://git.kernel.org/stable/c/3c00004f134fc819f9d9e202c6a64acde0a1f8d0>
- other: <https://git.kernel.org/stable/c/6c07aad8a7c9ef8ebc4d03a964b882123a349a2e>
- other: <https://git.kernel.org/stable/c/eb482a06791d6168beb8c78cc904ac5a5ed96a55>
- other: <https://git.kernel.org/stable/c/7df3194bdb7479cad9199889655a566a2c0c1d1b>
- other: <https://git.kernel.org/stable/c/b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01>
- other: <https://git.kernel.org/stable/c/459d3a64766f5ca2f1886daeaf24582831a5f5ab>

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

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