Bug 2541202 (CVE-2026-98086) - CVE-2026-98086 kernel: ALSA: ump: do not touch legacy_rmidi before it exists
Summary: CVE-2026-98086 kernel: ALSA: ump: do not touch legacy_rmidi before it exists
Keywords:
Status: NEW
Alias: CVE-2026-98086
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 11:00 UTC by OSIDB Bzimport
Modified: 2026-10-21 12:30 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 11:00:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.