{"id":"CVE-2026-98814","state":"PUBLISHED","title":"nvme: fix command effects log lifetime for multipath heads","description":"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.","publishedAt":"2026-10-18T15:49:01.538Z","updatedAt":"2026-10-19T09:26:07.427Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"be93e87e780253780df9bb6ecc9bc1199b0d94c3","status":"affected","lessThan":"351d1c47e45b2b35780d0548b1012d7242ba298d","versionType":"git"},{"version":"be93e87e780253780df9bb6ecc9bc1199b0d94c3","status":"affected","lessThan":"72ece656abd4de8645a421fb482d7a11e6533a45","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/host/core.c","drivers/nvme/host/nvme.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.9","versionType":"semver"},{"version":"7.2.10","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":["drivers/nvme/host/core.c","drivers/nvme/host/nvme.h"]}],"references":["https://git.kernel.org/stable/c/351d1c47e45b2b35780d0548b1012d7242ba298d","https://git.kernel.org/stable/c/72ece656abd4de8645a421fb482d7a11e6533a45"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98814.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98814","state":"PUBLISHED","datePublished":"2026-10-18T15:49:01.538Z","dateUpdated":"2026-10-19T09:26:07.427Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.371Z"},"containers":{"cna":{"title":"nvme: fix command effects log lifetime for multipath heads","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"be93e87e780253780df9bb6ecc9bc1199b0d94c3","status":"affected","lessThan":"351d1c47e45b2b35780d0548b1012d7242ba298d","versionType":"git"},{"version":"be93e87e780253780df9bb6ecc9bc1199b0d94c3","status":"affected","lessThan":"72ece656abd4de8645a421fb482d7a11e6533a45","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/host/core.c","drivers/nvme/host/nvme.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.9","versionType":"semver"},{"version":"7.2.10","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":["drivers/nvme/host/core.c","drivers/nvme/host/nvme.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/351d1c47e45b2b35780d0548b1012d7242ba298d"},{"url":"https://git.kernel.org/stable/c/72ece656abd4de8645a421fb482d7a11e6533a45"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:26:07.427Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}