CVE-2022-50229

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
18/06/2025
Last modified:
19/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ALSA: bcd2000: Fix a UAF bug on the error path of probing<br /> <br /> When the driver fails in snd_card_register() at probe time, it will free<br /> the &amp;#39;bcd2k-&gt;midi_out_urb&amp;#39; before killing it, which may cause a UAF bug.<br /> <br /> The following log can reveal it:<br /> <br /> [ 50.727020] BUG: KASAN: use-after-free in bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000]<br /> [ 50.727623] Read of size 8 at addr ffff88810fab0e88 by task swapper/4/0<br /> [ 50.729530] Call Trace:<br /> [ 50.732899] bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000]<br /> <br /> Fix this by adding usb_kill_urb() before usb_free_urb().

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.16 (including) 4.9.326 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.10 (including) 4.14.291 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.15 (including) 4.19.256 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.211 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.137 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.61 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.18.18 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.19 (including) 5.19.2 (excluding)