CVE-2022-50229
ALSA: bcd2000: Fix a UAF bug on the error path of probing
- Published
- Updated
- Reserved
- Assigned by
- Linux
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().
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected b47a22290d581277be70e8a597824a4985d39e83 – < a718eba7e458e2f40531be3c6b6a0028ca7fcace
- affected b47a22290d581277be70e8a597824a4985d39e83 – < 4fc41f7ebb7efca282f1740ea934d16f33c1d109
- affected b47a22290d581277be70e8a597824a4985d39e83 – < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0
- affected b47a22290d581277be70e8a597824a4985d39e83 – < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db
- affected b47a22290d581277be70e8a597824a4985d39e83 – < 348620464a5c127399ac09b266f494f393661952
- affected b47a22290d581277be70e8a597824a4985d39e83 – < 64ca7f50ad96c2c65ae390b954925a36eabe04aa
- affected b47a22290d581277be70e8a597824a4985d39e83 – < 1d6a246cf97c380f2da76591f03019dd9c9599c3
- affected b47a22290d581277be70e8a597824a4985d39e83 – < b0d4af0a4763ddc02344789ef2a281c494bc330d
- affected b47a22290d581277be70e8a597824a4985d39e83 – < ffb2759df7efbc00187bfd9d1072434a13a54139
- affected 3.16
- unaffected < 3.16
- unaffected 4.9.326 – ≤ 4.9.*
- unaffected 4.14.291 – ≤ 4.14.*
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.137 – ≤ 5.10.*
- unaffected 5.15.61 – ≤ 5.15.*
- unaffected 5.18.18 – ≤ 5.18.*
- unaffected 5.19.2 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (9)
- https://git.kernel.org/stable/c/a718eba7e458e2f40531be3c6b6a0028ca7fcace (opens in a new tab)
- https://git.kernel.org/stable/c/4fc41f7ebb7efca282f1740ea934d16f33c1d109 (opens in a new tab)
- https://git.kernel.org/stable/c/5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0 (opens in a new tab)
- https://git.kernel.org/stable/c/05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db (opens in a new tab)
- https://git.kernel.org/stable/c/348620464a5c127399ac09b266f494f393661952 (opens in a new tab)
- https://git.kernel.org/stable/c/64ca7f50ad96c2c65ae390b954925a36eabe04aa (opens in a new tab)
- https://git.kernel.org/stable/c/1d6a246cf97c380f2da76591f03019dd9c9599c3 (opens in a new tab)
- https://git.kernel.org/stable/c/b0d4af0a4763ddc02344789ef2a281c494bc330d (opens in a new tab)
- https://git.kernel.org/stable/c/ffb2759df7efbc00187bfd9d1072434a13a54139 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50229)Record last updated .