{"id":"CVE-2026-98086","state":"PUBLISHED","title":"ALSA: ump: do not touch legacy_rmidi before it exists","description":"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->parsed 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->legacy_rmidi->name. 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.","publishedAt":"2026-09-25T10:24:21.086Z","updatedAt":"2026-10-19T09:13:38.462Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"d6f9af093dc91dac8848a01e417b8109c651c0b2","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"1c8e01792adf91879322f1ad752f1814de8b7e7d","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"228075f31b141395233218712242913125ace4e0","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"a4cef20cd473e0640fefd38094d4baac0ec76ae3","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"adeee7187694719890aaffdc14b7e89cfd736f1d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/ump.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/ump.c"]}],"references":["https://git.kernel.org/stable/c/d6f9af093dc91dac8848a01e417b8109c651c0b2","https://git.kernel.org/stable/c/1c8e01792adf91879322f1ad752f1814de8b7e7d","https://git.kernel.org/stable/c/228075f31b141395233218712242913125ace4e0","https://git.kernel.org/stable/c/a4cef20cd473e0640fefd38094d4baac0ec76ae3","https://git.kernel.org/stable/c/adeee7187694719890aaffdc14b7e89cfd736f1d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98086.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98086","state":"PUBLISHED","datePublished":"2026-09-25T10:24:21.086Z","dateUpdated":"2026-10-19T09:13:38.462Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:19:56.075Z"},"containers":{"cna":{"title":"ALSA: ump: do not touch legacy_rmidi before it exists","descriptions":[{"lang":"en","value":"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->parsed 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->legacy_rmidi->name. 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"d6f9af093dc91dac8848a01e417b8109c651c0b2","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"1c8e01792adf91879322f1ad752f1814de8b7e7d","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"228075f31b141395233218712242913125ace4e0","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"a4cef20cd473e0640fefd38094d4baac0ec76ae3","versionType":"git"},{"version":"37e0e14128e0685267dc5c037bf655421a6ce2ea","status":"affected","lessThan":"adeee7187694719890aaffdc14b7e89cfd736f1d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/ump.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/ump.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d6f9af093dc91dac8848a01e417b8109c651c0b2"},{"url":"https://git.kernel.org/stable/c/1c8e01792adf91879322f1ad752f1814de8b7e7d"},{"url":"https://git.kernel.org/stable/c/228075f31b141395233218712242913125ace4e0"},{"url":"https://git.kernel.org/stable/c/a4cef20cd473e0640fefd38094d4baac0ec76ae3"},{"url":"https://git.kernel.org/stable/c/adeee7187694719890aaffdc14b7e89cfd736f1d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:13:38.462Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}