# CVE-2026-98316: ALSA: bcd2000: Fix race between rawmidi and disconnect

> 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-28)
- **Published:** 2026-10-06T08:46:11.528Z
- **Modified:** 2026-11-23T08:17:25.660Z

## Who should check

- Anyone running Linux \>= 9af08677aa57debaca5b57c8045c52a83d3dd376, \< c3f37100d0a5a6f8a4c590b696c7b9d58b006068; \>= 5a77febac6faf6da40fbb4555f703eeb91b58130, \< 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095; \>= 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, \< 3b824930259d54f5047ce6b5c97bd20db2fc2b98; \>= 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e, \< c83d6b0a65f7b71bbabcc91c045dfbffdff6ae76; \>= eb482a06791d6168beb8c78cc904ac5a5ed96a55, \< 0a7ecf52cb59ed77ec525deb52c496ea8fba10b1; \>= 7df3194bdb7479cad9199889655a566a2c0c1d1b, \< 812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0; \>= b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01, \< 9c8b6eff6e7505c128b615d9a1364ef66fa5c18e; \>= 459d3a64766f5ca2f1886daeaf24582831a5f5ab, \< 221253723dc58bb901c3f27a7659823e63fc598c
- Anyone running Linux \>= 5.10.270, \< 5.10.275; \>= 5.15.221, \< 5.15.226; \>= 6.1.188, \< 6.1.189; \>= 6.6.157, \< 6.6.158; \>= 6.12.109, \< 6.12.112; \>= 6.18.50, \< 6.18.54; \>= 7.2.4, \< 7.2.8

## Description

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

ALSA: bcd2000: Fix race between rawmidi and disconnect

Although we tried to fix the potential UAF issues at USB disconnect on
bcd2000 driver, there is still an overlooked case -- namely, when a
rawmidi trigger callback has been already running at USB disconnect
handling, the in-flight function (e.g. bcd2000\_midi\_send()) could
still access the URB, because the previous URB NULL-check & clearance
was considered only for the URB complete callbacks, but not about the
parallel rawmidi operations.

For addressing the race, this patch introduced a new spinlock that
covers each rawmidi operation as well as the rawmidi handling in the
complete callback.  The URB is cleared with the lock, so it guarantees
that the pending rawmidi task already finished or a NULL check is
effective.

## Affected and fixed versions

- Linux: \>= 9af08677aa57debaca5b57c8045c52a83d3dd376, \< c3f37100d0a5a6f8a4c590b696c7b9d58b006068; \>= 5a77febac6faf6da40fbb4555f703eeb91b58130, \< 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095; \>= 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, \< 3b824930259d54f5047ce6b5c97bd20db2fc2b98; \>= 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e, \< c83d6b0a65f7b71bbabcc91c045dfbffdff6ae76; \>= eb482a06791d6168beb8c78cc904ac5a5ed96a55, \< 0a7ecf52cb59ed77ec525deb52c496ea8fba10b1; \>= 7df3194bdb7479cad9199889655a566a2c0c1d1b, \< 812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0; \>= b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01, \< 9c8b6eff6e7505c128b615d9a1364ef66fa5c18e; \>= 459d3a64766f5ca2f1886daeaf24582831a5f5ab, \< 221253723dc58bb901c3f27a7659823e63fc598c (cvelist)
- Linux: \>= 5.10.270, \< 5.10.275; \>= 5.15.221, \< 5.15.226; \>= 6.1.188, \< 6.1.189; \>= 6.6.157, \< 6.6.158; \>= 6.12.109, \< 6.12.112; \>= 6.18.50, \< 6.18.54; \>= 7.2.4, \< 7.2.8 (cvelist)

## Mitigation

- Upgrade Linux to 221253723dc58bb901c3f27a7659823e63fc598c or later.
- Upgrade Linux to 7.2.8 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-98316. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98316.md
Affected: Linux >= 9af08677aa57debaca5b57c8045c52a83d3dd376, < c3f37100d0a5a6f8a4c590b696c7b9d58b006068; >= 5a77febac6faf6da40fbb4555f703eeb91b58130, < 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095; >= 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, < 3b824930259d54f5047ce6b5c97bd20db2fc2b98; >= 6c07aad8a7c9ef8ebc4d03a…
Fixed in: Linux 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095, Linux 3b824930259d54f5047ce6b5c97bd20db2fc2b98, Linux 0a7ecf52cb59ed77ec525deb52c496ea8fba10b1, Linux 812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0, Linux 9c8b6eff6e7505c128b615d9a1364ef66fa5c18e, Linux 221253723dc58bb901c3f27a7659823e63fc598c, Linux 5.10.…

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

There is no confirmed exploitation: CVE-2026-98316 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 9af08677aa57debaca5b57c8045c52a83d3dd376, \< c3f37100d0a5a6f8a4c590b696c7b9d58b006068; \>= 5a77febac6faf6da40fbb4555f703eeb91b58130, \< 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095; \>= 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, \< 3b824930259d54f5047ce6b5c97bd20db2fc2b98; \>= 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e, \< c83d6b0a65f7b71bbabcc91c045dfbffdff6ae76; \>= eb482a06791d6168beb8c78cc904ac5a5ed96a55, \< 0a7ecf52cb59ed77ec525deb52c496ea8fba10b1; \>= 7df3194bdb7479cad9199889655a566a2c0c1d1b, \< 812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0; \>= b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01, \< 9c8b6eff6e7505c128b615d9a1364ef66fa5c18e; \>= 459d3a64766f5ca2f1886daeaf24582831a5f5ab, \< 221253723dc58bb901c3f27a7659823e63fc598c; Linux \>= 5.10.270, \< 5.10.275; \>= 5.15.221, \< 5.15.226; \>= 6.1.188, \< 6.1.189; \>= 6.6.157, \< 6.6.158; \>= 6.12.109, \< 6.12.112; \>= 6.18.50, \< 6.18.54; \>= 7.2.4, \< 7.2.8.

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

Yes. Fixed in Linux 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095, Linux 3b824930259d54f5047ce6b5c97bd20db2fc2b98, Linux 0a7ecf52cb59ed77ec525deb52c496ea8fba10b1, Linux 812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0, Linux 9c8b6eff6e7505c128b615d9a1364ef66fa5c18e, Linux 221253723dc58bb901c3f27a7659823e63fc598c, Linux 5.10.275, Linux 5.15.226, Linux 6.1.189, Linux 6.6.158, Linux 6.12.112, Linux 6.18.54, Linux 7.2.8. Upgrade Linux to 221253723dc58bb901c3f27a7659823e63fc598c or later. Upgrade Linux to 7.2.8 or later.

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

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/c3f37100d0a5a6f8a4c590b696c7b9d58b006068>
- other: <https://git.kernel.org/stable/c/9a0f09d80cd54a4e9825e00e4aae5e0e121ef095>
- other: <https://git.kernel.org/stable/c/3b824930259d54f5047ce6b5c97bd20db2fc2b98>
- other: <https://git.kernel.org/stable/c/c83d6b0a65f7b71bbabcc91c045dfbffdff6ae76>
- other: <https://git.kernel.org/stable/c/0a7ecf52cb59ed77ec525deb52c496ea8fba10b1>
- other: <https://git.kernel.org/stable/c/812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0>
- other: <https://git.kernel.org/stable/c/9c8b6eff6e7505c128b615d9a1364ef66fa5c18e>
- other: <https://git.kernel.org/stable/c/221253723dc58bb901c3f27a7659823e63fc598c>

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

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