CVE-2026-98316

ALSA: bcd2000: Fix race between rawmidi and disconnect

No CVSS score yet EPSS 0.18%

Published 6 Oct 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-98316

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98316 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.62% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9af08677aa57debaca5b57c8045c52a83d3dd376, before c3f37100d0a5a6f8a4c590b696c7b9d58b006068
affected from 5a77febac6faf6da40fbb4555f703eeb91b58130, before 9a0f09d80cd54a4e9825e00e4aae5e0e121ef095
affected from 3c00004f134fc819f9d9e202c6a64acde0a1f8d0, before 3b824930259d54f5047ce6b5c97bd20db2fc2b98
affected from 6c07aad8a7c9ef8ebc4d03a964b882123a349a2e, before c83d6b0a65f7b71bbabcc91c045dfbffdff6ae76
affected from eb482a06791d6168beb8c78cc904ac5a5ed96a55, before 0a7ecf52cb59ed77ec525deb52c496ea8fba10b1
affected from 7df3194bdb7479cad9199889655a566a2c0c1d1b, before 812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0
affected from b06ebc7fe25a6af4a9f6e4a3d4236a4178ad4b01, before 9c8b6eff6e7505c128b615d9a1364ef66fa5c18e
affected from 459d3a64766f5ca2f1886daeaf24582831a5f5ab, before 221253723dc58bb901c3f27a7659823e63fc598c
Other versions: unaffected
Linux
affected from 5.10.270, before 5.10.275
affected from 5.15.221, before 5.15.226
affected from 6.1.188, before 6.1.189
affected from 6.6.157, before 6.6.158
affected from 6.12.109, before 6.12.112
affected from 6.18.50, before 6.18.54
affected from 7.2.4, before 7.2.8
Other versions: unaffected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98316 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98316

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98316
trivy image --scanners vuln IMAGE | grep CVE-2026-98316

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98316 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.