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

Published Dec 24, 2025
·
Updated

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 allocmidiurbs() that is called at MIDI 2.0 / UMP device are supposed to be handled at the caller side by invoking freemidiurbs(). However, freemidiurbs() loops only for ep->numurbs entries, and since ep->numentries wasn't updated yet at the allocation / init error in allocmidiurbs(), this entry won't be released.

The intention of freemidiurbs() is to release the whole elements, so change the loop size to NUMURBS to scan over all elements for fixing the missed releases.

Also, the call of freemidiurbs() is missing at sndusbmidiv2open(). Although it'll be released later at reopen/close or disconnection, it's better to release immediately at the error path.

Affected Software

1 affected component
Linux ALSA usb-audio

Event History

Dec 24, 2025
CVE Published
via MITRE·10:55 AM
Data Sourced
via MITRE·10:55 AM
Description
Data Sourced
via NVD·11:15 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-54022?

CVE-2023-54022 has been classified with a severity level indicating it involves potential memory leaks.

2

How do I fix CVE-2023-54022?

To fix CVE-2023-54022, ensure your Linux kernel is updated to the latest stable version that includes the patch.

3

What systems are affected by CVE-2023-54022?

CVE-2023-54022 affects the ALSA usb-audio subsystem within the Linux kernel.

4

What are the potential impacts of CVE-2023-54022?

The potential impacts of CVE-2023-54022 primarily include memory leaks that could affect system performance.

5

When was CVE-2023-54022 disclosed?

CVE-2023-54022 was disclosed in 2023 as part of the ongoing security improvements for the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203