EN
FREN
CVE-2026-99318, ALSA: bcd2000: Fix use-after-free of MIDI URBs on file close
-score not published

CVE-2026-99318 : Linux

CVE-2026-99318 · published on November 18, 2026 at 08:42 · updated on November 18, 2026 at 08:42

9days since publication
linux

What this vulnerability allows, plainly. Privilege escalation, with no account at all, from the internet. The attacker gains rights they did not have.

In practice, for a business:

  • an ordinary account becomes an administrator account
  • access to orders and data of every other account
  • logs wiped, so no immediate evidence

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2026-99318 vulnerability ?

In the Linux kernel, the following vulnerability has been resolved: ALSA: bcd2000: Fix use-after-free of MIDI URBs on file close bcd2000_disconnect() calls snd_card_disconnect(), which only prevents new opens, and then frees the MIDI URBs. A rawmidi file that was already open can still be closed afterwards, and its close callback, bcd2000_midi_output_close(), calls usb_kill_urb() on midi_out_urb. The URB pointers are cleared on disconnect and their accesses are serialized with midi_lock, but bcd2000_midi_output_close() reads midi_out_urb without that lock. The check can therefore pass just before the pointer is cleared, and usb_kill_urb() then runs on the URB that has already been freed: BUG: KASAN: slab-use-after-free in usb_kill_urb+0x74/0x80 Read of size 8 at addr ffff8880078e7d40 usb_kill_urb bcd2000_midi_output_close close_substream rawmidi_release_priv snd_rawmidi_release Allocated by: usb_alloc_urb <- bcd2000_init_midi <- bcd2000_probe Freed by: usb_free_urb <- bcd2000_midi_free <- bcd2000_disconnect Take the lock in bcd2000_midi_output_close() and reference the URB with usb_get_urb() before releasing it. The URB then stays valid until usb_put_urb() after usb_kill_urb() has returned, even if a disconnect frees it in the meantime. usb_kill_urb() itself cannot run under midi_lock, as the completion handler takes the same lock.

Just before this one, two listings for the same software were published: CVE-2026-99804 (2026-11-20), then CVE-2026-99803 (2026-11-20).

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2026-99318 vulnerability ?

  • Linux, jusqu'aux versions 791c259be56d05f90f7642df337f209c108003fa, 752eea15d0e67a468e484c1f166cdba694ba6de0, a4c306eb3ba35a1e7201e25aef7e0537da609e72, f6c7bb1f0799591a62be75b9bcf84245b4f208b7 et 3.16 incluses et à partir de la version 47a22290d581277be70e8a597824a4985d39e83

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2026-99318 vulnerability ?

No main domain of our estate uses this software, or we have not seen it yet.

The CVE-2026-99318 vulnerability affects Linux up to versions 791c259be56d05f90f7642df337f209c108003fa, 752eea15d0e67a468e484c1f166cdba694ba6de0, a4c306eb3ba35a1e7201e25aef7e0537da609e72 et f6c7bb1f0799591a62be75b9bcf84245b4f208b7 inclusive. We do not find this software in the estate we monitor. Our readings cover websites and their components. Routers, connected devices and firmware are absent, since they publish no externally visible version. We therefore cannot quantify the exposure of this vulnerability, and we refrain from estimating it. The flaw was published on 18 November 2026. It was updated on 18 November 2026. To fix it, Linux must be updated beyond version 791c259be56d05f90f7642df337f209c108003fa: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 18 924 flaws on this software since the census began, 8 800 of them in 2026, the oldest dating from 10 January 2015. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Linux.

How to fix the CVE-2026-99318 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2026-99318 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 8 references published for this flaw, 8 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Other vulnerabilities in the same module

Continue