CVE-2022-50229: Use-after-free in Linux ALSA BCD2000 probe error path
- Vendor
- Linux
CVE-2022-50229 is a use-after-free vulnerability in the Linux kernel ALSA BCD2000 USB audio driver. On the driver probe error path, if snd_card_register() fails, the driver frees the MIDI output USB Request Block before terminating it. A pending USB completion callback can then execute bcd2000_input_complete() and dereference the freed URB. The upstream fix terminates the URB with usb_kill_urb() before releasing it with usb_free_urb().
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A pending USB completion handler can access freed kernel memory, resulting in a kernel use-after-free condition. This can cause a kernel crash or denial of service; memory corruption consequences depend on kernel memory layout and exploitability of the stale-object access.
Mitigation
If you can’t patch tonight, do this now.
Until an updated kernel can be deployed, avoid attaching or enabling the Behringer BCD2000 USB audio device and prevent the snd_bcd2000 driver from loading where operationally feasible. This reduces exposure but is not a substitute for applying the kernel update.
Remediation
Patch, then assume compromise.
Install a Linux kernel update containing the ALSA BCD2000 fix that invokes usb_kill_urb() before usb_free_urb() on the probe failure path. Reboot into the updated kernel after installation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-50229 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2022-50229 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-50229?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2022-50229.
- Is there a patch for CVE-2022-50229?
- Install a Linux kernel update containing the ALSA BCD2000 fix that invokes usb_kill_urb() before usb_free_urb() on the probe failure path. Reboot into the updated kernel after installation.
- What products are affected by CVE-2022-50229?
- Linux Kernel.
- How severe is CVE-2022-50229?
- CVE-2022-50229 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.30% (15th percentile) as of Sep 25, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.