PT-2025-26155 · Linux+4 · Linux Kernel+4

Published

2023-05-09

·

Updated

2025-09-12

·

CVE-2022-50229

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A use-after-free (UAF) bug has been identified in the Linux kernel's ALSA (Advanced Linux Sound Architecture) component, specifically in the bcd2000 driver. This issue occurs when the driver fails to register a sound card during the probing process, leading to the premature freeing of the midi out urb resource before it is properly terminated. This can cause a UAF error, as evidenced by logs indicating a KASAN (Kernel Address Sanitizer) bug. The error is related to the bcd2000 input complete function.
Recommendations To resolve this issue, add usb kill urb() before usb free urb() in the affected code path. This ensures that the USB urb (urban) is properly killed before being freed, preventing the use-after-free bug.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CESA-2023_2951
CVE-2022-50229
OESA-2025-1820
RHSA-2023:2458
RHSA-2023:2951
RHSA-2023_2458
RHSA-2023_2951
RHSA-2025:17109
RHSA-2025:17161
SUSE-SU-2025:02264-1
SUSE-SU-2025:02308-1
SUSE-SU-2025:02320-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:02322-1
SUSE-SU-2025:02537-1
SUSE-SU-2025:03204-1
SUSE-SU-2025:2264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025_02308-1
SUSE-SU-2025_02537-1
SUSE-SU-2025_03204-1

Affected Products

Astra Linux
Centos
Linux Kernel
Red Hat
Suse