{"id":"CVE-2026-98086","summary":"ALSA: ump: do not touch legacy_rmidi before it exists","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ump: do not touch legacy_rmidi before it exists\n\nsnd_ump_parse_endpoint() sets ump-\u003eparsed on every exit, including\nerror, before the caller attaches the legacy rawmidi device.\nump_handle_ep_name_msg() then treats parsed as \"legacy_rmidi is live\"\nand calls ump_legacy_set_rawmidi_name(), which snprintf()s into\nump-\u003elegacy_rmidi-\u003ename. If a UMP packet arrives in that window\n(IRQ path from snd_ump_receive), legacy_rmidi is still NULL\n(KASAN null-ptr-deref in snprintf).\n\nGuard the legacy helpers. parsed only means endpoint info was\nparsed, not that legacy_rmidi exists.","modified":"2026-09-26T03:48:32.475248304Z","published":"2026-09-25T10:24:21.086Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98086.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c8e01792adf91879322f1ad752f1814de8b7e7d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/228075f31b141395233218712242913125ace4e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4cef20cd473e0640fefd38094d4baac0ec76ae3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adeee7187694719890aaffdc14b7e89cfd736f1d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98086.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98086"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"37e0e14128e0685267dc5c037bf655421a6ce2ea"},{"fixed":"1c8e01792adf91879322f1ad752f1814de8b7e7d"},{"fixed":"228075f31b141395233218712242913125ace4e0"},{"fixed":"a4cef20cd473e0640fefd38094d4baac0ec76ae3"},{"fixed":"adeee7187694719890aaffdc14b7e89cfd736f1d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98086.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98086.json"}}],"schema_version":"1.9.0"}