Menu

Star on GitHub · 3.2k

CVE-2023-54022

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential memory leaks at error path for UMP open The allocation and initialization errors at alloc_midi_u…

Published Dec 24, 2025EPSS 0.17%

Overview

CVE-2023-54022 is a known-severity vulnerability. It was published on December 24, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: Fix potential memory leaks at error path for UMP open

The allocation and initialization errors at alloc_midi_urbs() that is

called at MIDI 2.0 / UMP device are supposed to be handled at the

caller side by invoking free_midi_urbs(). However, free_midi_urbs()

loops only for ep->num_urbs entries, and since ep->num_entries wasn't

updated yet at the allocation / init error in alloc_midi_urbs(), this

entry won't be released.

The intention of free_midi_urbs() is to release the whole elements, so

change the loop size to NUM_URBS to scan over all elements for fixing

the missed releases.

Also, the call of free_midi_urbs() is missing at

snd_usb_midi_v2_open(). Although it'll be released later at

reopen/close or disconnection, it's better to release immediately at

the error path.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-54022?

CVE-2023-54022 is a known-severity vulnerability. It was published on December 24, 2025.

How severe is CVE-2023-54022?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2023-54022?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-54022?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-54022 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.