Skip to main content
Network Thinking Solutions Logo

CVE-2022-50229

Linux kernel: ALSA: bcd2000: Fix a UAF bug on the error path of probing

All CVEs
CVE-2022-50229Published 6/18/2025

Linux kernel: ALSA: bcd2000: Fix a UAF bug on the error path of probing

Vendor advisory
CVSS7.8High

Overview

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().

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.16, < 4.9.326

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.137

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < a718eba7e458e2f40531be3c6b6a0028ca7fcace

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < 4fc41f7ebb7efca282f1740ea934d16f33c1d109

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < 5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < 05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < 348620464a5c127399ac09b266f494f393661952

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < 64ca7f50ad96c2c65ae390b954925a36eabe04aa

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < 1d6a246cf97c380f2da76591f03019dd9c9599c3

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < b0d4af0a4763ddc02344789ef2a281c494bc330d

Verify advisory

Source
Linux
Linux
≥ b47a22290d581277be70e8a597824a4985d39e83, < ffb2759df7efbc00187bfd9d1072434a13a54139

Verify advisory

Source
Linux
Linux
3.16

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.