ALSA: ump: do not touch legacy_rmidi before it exists
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.111, 6.18.53, 6.6.158, 7.2.7
- CVEs
- CVE-2026-98086
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:23 UTC · Revision 1
Source evidence
ALSA: ump: do not touch legacy_rmidi before it exists
core-osv · Original sourcePublished 25 Sept 2026, 10:24 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.
osv:CVE-2026-98086
Kernel
Fixed versions: 6.6.158, 6.12.111, 6.18.53, 7.2.7
Complete source record
{
"id": "751df1bb97bef140a6ff34c5646c0a9dea1f9b4658f326c54c5646b456da184a",
"url": "https://osv.dev/vulnerability/CVE-2026-98086",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALSA: ump: do not touch legacy_rmidi before it exists",
"summary": "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.",
"evidence": "osv:CVE-2026-98086",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.111",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.53",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98086",
"aliases": [
"CVE-2026-98086"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "37e0e14128e0685267dc5c037bf655421a6ce2ea"
},
{
"fixed": "d6f9af093dc91dac8848a01e417b8109c651c0b2"
},
{
"fixed": "1c8e01792adf91879322f1ad752f1814de8b7e7d"
},
{
"fixed": "228075f31b141395233218712242913125ace4e0"
},
{
"fixed": "a4cef20cd473e0640fefd38094d4baac0ec76ae3"
},
{
"fixed": "adeee7187694719890aaffdc14b7e89cfd736f1d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98086.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98086.json"
}
}
],
"modified": "2026-10-28T02:30:23.364555225Z",
"provider": "osv",
"references": [
"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",
"https://git.kernel.org/stable/c/d6f9af093dc91dac8848a01e417b8109c651c0b2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98086.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98086",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98086.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98086",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 489796,
"published_at": "2026-09-25T10:24:21.086+00:00"
}