CVE-2026-98316
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 versions
Linux kernel versions
6.1.188,
6.6.157,
6.12.109,
6.18.50,
7.2.4,
5.10.270,
5.15.221,
7.3-rc1
and later are affected. Fixed in
6.1.189,
6.6.158,
6.12.112,
6.18.54,
7.2.8,
7.3-rc4
and their respective stable series.
References
6 totalFrequently asked questions
-
What is CVE-2026-98316?
CVE-2026-98316 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.1.188 onward and has been patched in 6.1.189, 6.6.158, 6.12.112 and others. CVE-2026-98316 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-98316?
Yes. CVE-2026-98316 has been patched. Fixed versions include 6.1.189, 6.6.158, 6.12.112 and others. If you are running Linux kernel 6.1.188 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-98316 actively exploited?
No. CVE-2026-98316 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.