U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-50229 Detail

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


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db kernel.org
https://git.kernel.org/stable/c/1d6a246cf97c380f2da76591f03019dd9c9599c3 kernel.org
https://git.kernel.org/stable/c/348620464a5c127399ac09b266f494f393661952 kernel.org
https://git.kernel.org/stable/c/4fc41f7ebb7efca282f1740ea934d16f33c1d109 kernel.org
https://git.kernel.org/stable/c/5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0 kernel.org
https://git.kernel.org/stable/c/64ca7f50ad96c2c65ae390b954925a36eabe04aa kernel.org
https://git.kernel.org/stable/c/a718eba7e458e2f40531be3c6b6a0028ca7fcace kernel.org
https://git.kernel.org/stable/c/b0d4af0a4763ddc02344789ef2a281c494bc330d kernel.org
https://git.kernel.org/stable/c/ffb2759df7efbc00187bfd9d1072434a13a54139 kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-50229
NVD Published Date:
06/18/2025
NVD Last Modified:
06/18/2025
Source:
kernel.org