CVE-2022-50229
ALSA: bcd2000: Fix a UAF bug on the error path of probing
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace; >= b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109; >= b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0; >= b47a22290d581277be70e8a597824a4985d39e83, < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db; >= b47a22290d581277be70e8a597824a4985d39e83, < 348620464a5c127399ac09b266f494f393661952; >= b47a22290d581277be70e8a597824a4985d39e83, < 64ca7f50ad96c2c65ae390b954925a36eabe04aa; >= b47a22290d581277be70e8a597824a4985d39e83, < 1d6a246cf97c380f2da76591f03019dd9c9599c3; >= b47a22290d581277be70e8a597824a4985d39e83, < b0d4af0a4763ddc02344789ef2a281c494bc330d; >= b47a22290d581277be70e8a597824a4985d39e83, < ffb2759df7efbc00187bfd9d1072434a13a54139
- Anyone running Linux 3.16
Vulnerability facts
- Affected
- Linux >= b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace; >= b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109; >= b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0; >= b47a22290d581277be70e8a597824a4985d39e83, < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db; >= b47a22290d581277be70e8a597824a4985d39e83, < 348620464a5c127399ac09b266f494f393661952; >= b47a22290d581277be70e8a597824a4985d39e83, < 64ca7f50ad96c2c65ae390b954925a36eabe04aa; >= b47a22290d581277be70e8a597824a4985d39e83, < 1d6a246cf97c380f2da76591f03019dd9c9599c3; >= b47a22290d581277be70e8a597824a4985d39e83, < b0d4af0a4763ddc02344789ef2a281c494bc330d; >= b47a22290d581277be70e8a597824a4985d39e83, < ffb2759df7efbc00187bfd9d1072434a13a54139; Linux 3.16
- Fixed in
- Linux 4fc41f7ebb7efca282f1740ea934d16f33c1d109, Linux 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0, Linux 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db, Linux 348620464a5c127399ac09b266f494f393661952, Linux 64ca7f50ad96c2c65ae390b954925a36eabe04aa, Linux 1d6a246cf97c380f2da76591f03019dd9c9599c3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
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().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace; >= b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109; >= b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0; >= b47a22290d581277be70e8a597824a4985d39e83, < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db; >= b47a22290d581277be70e8a597824a4985d39e83, < 348620464a5c127399ac09b266f494f393661952; >= b47a22290d581277be70e8a597824a4985d39e83, < 64ca7f50ad96c2c65ae390b954925a36eabe04aa; >= b47a22290d581277be70e8a597824a4985d39e83, < 1d6a246cf97c380f2da76591f03019dd9c9599c3; >= b47a22290d581277be70e8a597824a4985d39e83, < b0d4af0a4763ddc02344789ef2a281c494bc330d; >= b47a22290d581277be70e8a597824a4985d39e83, < ffb2759df7efbc00187bfd9d1072434a13a54139 | — | cvelist |
| Linux | 3.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50229. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50229.md Affected: Linux >= b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace; >= b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109; >= b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0; >= b47a22290d581277be70e8a… Fixed in: Linux 4fc41f7ebb7efca282f1740ea934d16f33c1d109, Linux 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0, Linux 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db, Linux 348620464a5c127399ac09b266f494f393661952, Linux 64ca7f50ad96c2c65ae390b954925a36eabe04aa, Linux 1d6a246cf97c380f2da76591f03019dd9c9599c3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/a718eba7e458e2f40531be3c6b6a0028ca7fcace
- https://git.kernel.org/stable/c/4fc41f7ebb7efca282f1740ea934d16f33c1d109
- https://git.kernel.org/stable/c/5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0
- https://git.kernel.org/stable/c/05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db
- https://git.kernel.org/stable/c/348620464a5c127399ac09b266f494f393661952
- https://git.kernel.org/stable/c/64ca7f50ad96c2c65ae390b954925a36eabe04aa
- https://git.kernel.org/stable/c/1d6a246cf97c380f2da76591f03019dd9c9599c3
- https://git.kernel.org/stable/c/b0d4af0a4763ddc02344789ef2a281c494bc330d
- https://git.kernel.org/stable/c/ffb2759df7efbc00187bfd9d1072434a13a54139
FAQ
Is CVE-2022-50229 being exploited?
There is no confirmed exploitation: CVE-2022-50229 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50229?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50229?
Linux >= b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace; >= b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109; >= b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0; >= b47a22290d581277be70e8a597824a4985d39e83, < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db; >= b47a22290d581277be70e8a597824a4985d39e83, < 348620464a5c127399ac09b266f494f393661952; >= b47a22290d581277be70e8a597824a4985d39e83, < 64ca7f50ad96c2c65ae390b954925a36eabe04aa; >= b47a22290d581277be70e8a597824a4985d39e83, < 1d6a246cf97c380f2da76591f03019dd9c9599c3; >= b47a22290d581277be70e8a597824a4985d39e83, < b0d4af0a4763ddc02344789ef2a281c494bc330d; >= b47a22290d581277be70e8a597824a4985d39e83, < ffb2759df7efbc00187bfd9d1072434a13a54139; Linux 3.16.
Is there a fix for CVE-2022-50229?
Yes. Fixed in Linux 4fc41f7ebb7efca282f1740ea934d16f33c1d109, Linux 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0, Linux 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db, Linux 348620464a5c127399ac09b266f494f393661952, Linux 64ca7f50ad96c2c65ae390b954925a36eabe04aa, Linux 1d6a246cf97c380f2da76591f03019dd9c9599c3. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50229?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.