CVE-2022-50229: ALSA: bcd2000: Fix a UAF bug on the error path of probing
Vulnerability summary
CVE-2022-50229 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.9% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 7Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: bcd2000: Fix a UAF bug on the error path of probing When the driver fails in snd_card_register() at probe time, it will free the 'bcd2k->midi_out_urb' before killing it, which may cause a UAF bug. The following log can reveal it: [ 50.727020] BUG: KASAN: use-after-free in bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000] [ 50.727623] Read of size 8 at addr ffff88810fab0e88 by task swapper/4/0 [ 50.729530] Call Trace: [ 50.732899] bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000] Fix this by adding usb_kill_urb() before usb_free_urb().
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu111 products
- linuxAll versions (No fix recorded) | < 4.15.0-197.208 | < 5.4.0-132.148 | < 5.15.0-53.59
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1143.155 | < 5.4.0-1089.97 | < 5.15.0-1023.27
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace | ≥ b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109 | ≥ b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0 | ≥ b47a22290d581277be70e8a597824a4985d39e83, < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db | ≥ b47a22290d581277be70e8a597824a4985d39e83, < 348620464a5c127399ac09b266f494f393661952 | ≥ b47a22290d581277be70e8a597824a4985d39e83, < 64ca7f50ad96c2c65ae390b954925a36eabe04aa | ≥ b47a22290d581277be70e8a597824a4985d39e83, < 1d6a246cf97c380f2da76591f03019dd9c9599c3 | ≥ b47a22290d581277be70e8a597824a4985d39e83, < b0d4af0a4763ddc02344789ef2a281c494bc330d | ≥ b47a22290d581277be70e8a597824a4985d39e83, < ffb2759df7efbc00187bfd9d1072434a13a54139 | 3.16
- linux_kernel≥ 3.16, < 4.9.326 | ≥ 4.10, < 4.14.291 | ≥ 4.15, < 4.19.256 | ≥ 4.20, < 5.4.211 | ≥ 5.5, < 5.10.137 | ≥ 5.11, < 5.15.61 | ≥ 5.16, < 5.18.18 | ≥ 5.19, < 5.19.2
Debian1 product
- linux< 6.0.2-1
3 vendors · 114 products