CVE-2026-74501: ALSA: usb-audio: fix use-after-free in ump_to_endpoint()

Published Aug 15, 2026
·
Updated

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

ALSA: usb-audio: fix use-after-free in umptoendpoint()

createmidi2ump() registers a card-owned sndumpendpoint and stores a back-pointer to its per-interface sndusbmidi2ump object in ump->privatedata, but it never installs an ump->privatefree hook and never clears that pointer.

If a later step of sndusbmidiv2create() fails, its error path calls freeallmidi2umps(), which kfree()s the sndusbmidi2ump object while the already-registered endpoint keeps pointing at it. The created /dev/snd/umpCD node stays exposed, so the first operation of any UMP open, umptoendpoint(), dereferences the dangling ump->privatedata and reads rmidi->eps[dir] out of freed memory.

A malicious USB MIDI 2.0 device that makes creation fail after the endpoint is registered can thus trigger a slab use-after-free read on a subsequent open of the UMP node.

Clear the endpoint's back-pointer before freeing the object, and let umptoendpoint() tolerate a NULL privatedata so the open/close/trigger callbacks fail cleanly (their callers already handle a NULL endpoint) instead of dereferencing a stale pointer.

Discovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In the ALSA usb-audio code path, clear the created endpoint’s back-pointer to the per-interface snd_usb_midi2_ump object before freeing the snd_usb_midi2_ump, and ensure the callbacks/error paths fail cleanly without leaving a dangling pointer (so ump_to_endpoint() does not dereference freed memory).

    Linux kernel ALSA usb-audio (function ump_to_endpoint / snd_usb_midi_v2_create) Fix use-after-free by clearing endpoint back-pointer before freeing the snd_usb_midi2_ump object = Apply the resolution that clears the per-interface back-pointer and prevents stale dereference on open/close/trigger paths

Event History

Aug 15, 2026
CVE Published
via MITRE·12:27 PM
Data Sourced
via MITRE·12:27 PM
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-2026-74501?

CVE-2026-74501 has a risk severity rating of 33.

2

What type of vulnerability is CVE-2026-74501?

CVE-2026-74501 is classified as a Use After Free vulnerability.

3

How do I fix CVE-2026-74501?

To fix CVE-2026-74501, you should update the Linux kernel to the latest version where this vulnerability has been patched.

4

What impact does CVE-2026-74501 have on systems?

CVE-2026-74501 can potentially lead to application crashes or arbitrary code execution due to the use-after-free condition.

5

What software is affected by CVE-2026-74501?

CVE-2026-74501 affects the ALSA subsystem of the Linux kernel, particularly the usb-audio component.

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