{"id":"CVE-2026-98814","summary":"nvme: fix command effects log lifetime for multipath heads","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: fix command effects log lifetime for multipath heads\n\nKASAN reported a use-after-free when an I/O passthrough command was sent\nthrough a multipath namespace head after the controller path that first\ncreated the head had been removed:\n\n  BUG: KASAN: slab-use-after-free in nvme_command_effects+0x192/0x200 [nvme_core]\n  Read of size 4 at addr ffff888141b14400 by task nvme/19811\n  nvme_command_effects+0x192/0x200 [nvme_core]\n  nvme_cmd_allowed+0x7e/0x1b0 [nvme_core]\n  nvme_user_cmd.constprop.0+0x1b5/0x450 [nvme_core]\n  nvme_ns_head_chr_ioctl+0xf4/0x2a0 [nvme_core]\n\nMove the log cache to the subsystem, with one entry per command set. Both\ncontrollers and namespace heads hold subsystem references, keeping their\nlog pointers valid until subsystem release.","modified":"2026-10-19T02:46:05.800201481Z","published":"2026-10-18T15:49:01.538Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98814.json"},"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/351d1c47e45b2b35780d0548b1012d7242ba298d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72ece656abd4de8645a421fb482d7a11e6533a45"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98814.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98814"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"be93e87e780253780df9bb6ecc9bc1199b0d94c3"},{"fixed":"351d1c47e45b2b35780d0548b1012d7242ba298d"},{"fixed":"72ece656abd4de8645a421fb482d7a11e6533a45"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98814.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98814.json"}}],"schema_version":"1.9.0"}