# CVE-2026-98814: nvme: fix command effects log lifetime for multipath heads

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-18T15:49:01.538Z
- Modified: 2026-10-19T10:19:45.467Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvme: fix command effects log lifetime for multipath heads

KASAN reported a use-after-free when an I/O passthrough command was sent
through a multipath namespace head after the controller path that first
created the head had been removed:

  BUG: KASAN: slab-use-after-free in nvme_command_effects+0x192/0x200 [nvme_core]
  Read of size 4 at addr ffff888141b14400 by task nvme/19811
  nvme_command_effects+0x192/0x200 [nvme_core]
  nvme_cmd_allowed+0x7e/0x1b0 [nvme_core]
  nvme_user_cmd.constprop.0+0x1b5/0x450 [nvme_core]
  nvme_ns_head_chr_ioctl+0xf4/0x2a0 [nvme_core]

Move the log cache to the subsystem, with one entry per command set. Both
controllers and namespace heads hold subsystem references, keeping their
log pointers valid until subsystem release.

(As written by CVE List.)

## Affected

- Linux Linux: from be93e87e780253780df9bb6ecc9bc1199b0d94c3 before 351d1c47e45b2b35780d0548b1012d7242ba298d; from be93e87e780253780df9bb6ecc9bc1199b0d94c3 before 72ece656abd4de8645a421fb482d7a11e6533a45; 5.9 (not affected: before 5.9; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/351d1c47e45b2b35780d0548b1012d7242ba298d>
- <https://git.kernel.org/stable/c/72ece656abd4de8645a421fb482d7a11e6533a45>

## Sources

- CVE List: [CVE-2026-98814](https://www.cve.org/CVERecord?id=CVE-2026-98814), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98814](https://nvd.nist.gov/vuln/detail/CVE-2026-98814), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98814 · Whole record: https://cve.day/CVE-2026-98814.json · Rebuilt by cve.day 2026-11-25T22:59:45.312Z
