CVE Catalog

CVE-2026-98086

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, in the ALSA ump subsystem, snd_ump_parse_endpoint() sets ump->parsed on every exit, including error, before the caller attaches the legacy rawmidi device. ump_handle_ep_name_msg() then treats parsed as "legacy_rmidi is live" and calls ump_legacy_set_rawmidi_name(), which snprintf()s into ump->legacy_rmidi->name. If a UMP packet arrives in that window (IRQ path from snd_ump_receive), legacy_rmidi is still NULL, causing a null-ptr-deref in snprintf.

Risk Assessment

A null pointer dereference (KASAN null-ptr-deref) may occur, leading to a kernel crash and system unavailability.

Recommendation

Update the Linux kernel to a version with the fix that guards the legacy helpers — parsed only means endpoint info was parsed, not that legacy_rmidi exists.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: do not touch legacy_rmidi before it exists snd_ump_parse_endpoint() sets ump->parsed on every exit, including error, before the caller attaches the legacy rawmidi device. ump_handle_ep_name_msg() then treats parsed as "legacy_rmidi is live" and calls ump_legacy_set_rawmidi_name(), which snprintf()s into ump->legacy_rmidi->name. If a UMP packet arrives in that window (IRQ path from snd_ump_receive), legacy_rmidi is still NULL (KASAN null-ptr-deref in snprintf). Guard the legacy helpers. parsed only means endpoint info was parsed, not that legacy_rmidi exists.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS