# CVE-2026-99714: nvme: Do not drop the cdev reference twice when cdev\_device\_add() fails

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.16% (percentile 2, 2026-11-28)
- **Published:** 2026-11-20T05:50:53.082Z
- **Modified:** 2026-11-20T06:18:07.677Z

## Who should check

- Anyone running Linux \>= 9952f3882ecba709092379b71e02b09762b26f96, \< 45d0c2d7d338ae1606984ed92d254ca0efcef921; \>= 9952f3882ecba709092379b71e02b09762b26f96, \< 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03; 98b09ad7934482e64db4b4477d91e3bbf43adf4c; \>= 7.2.10, \< 7.3
- Anyone running Linux 7.3

## Description

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

nvme: Do not drop the cdev reference twice when cdev\_device\_add() fails

Since commit 9952f3882ecb ("nvme: fix cdev lifetime"),
nvme\_add\_ns\_cdev() and nvme\_add\_ns\_head\_cdev() take a reference to the
namespace (or namespace head) before calling nvme\_cdev\_add(), to be
dropped by the char device's release, nvme\_cdev\_rel(), and drop it
themselves when nvme\_cdev\_add() fails. But when cdev\_device\_add()
fails, nvme\_cdev\_add() has already put the device, and nvme\_cdev\_rel()
has already dropped that reference: the caller drops it a second time.

With one allocation failure injected into cdev\_device\_add() for a
namespace on an NVMe over loop controller, deleting the controller
gives, with native multipath:

  BUG: KASAN: slab-use-after-free in nvme\_put\_ns\_head+0x21/0x140
  Write of size 4 at addr ff1100000a4ea078 by task init/1
   nvme\_put\_ns\_head
   nvme\_put\_ns
   nvme\_remove\_namespaces
   nvme\_do\_delete\_ctrl
   nvme\_delete\_ctrl\_sync
   nvme\_sysfs\_delete
  Freed by task 1:
   kfree
   nvme\_ns\_remove
   nvme\_remove\_namespaces
  refcount\_t: underflow; use-after-free.

Take the reference in nvme\_cdev\_add() instead, right before
cdev\_device\_add(), and let the callers neither take nor drop it. Add
nvme\_is\_ns\_cdev() for the check that nvme\_cdev\_rel() and nvme\_cdev\_add()
now share.

## Affected and fixed versions

- Linux: \>= 9952f3882ecba709092379b71e02b09762b26f96, \< 45d0c2d7d338ae1606984ed92d254ca0efcef921; \>= 9952f3882ecba709092379b71e02b09762b26f96, \< 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03; 98b09ad7934482e64db4b4477d91e3bbf43adf4c; \>= 7.2.10, \< 7.3 (cvelist)
- Linux: 7.3 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99714. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99714.md
Affected: Linux >= 9952f3882ecba709092379b71e02b09762b26f96, < 45d0c2d7d338ae1606984ed92d254ca0efcef921; >= 9952f3882ecba709092379b71e02b09762b26f96, < 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03; 98b09ad7934482e64db4b4477d91e3bbf43adf4c; >= 7.2.10, < 7.3; Linux 7.3
Fixed in: Linux 45d0c2d7d338ae1606984ed92d254ca0efcef921, Linux 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03, Linux 7.3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99714 being exploited?

There is no confirmed exploitation: CVE-2026-99714 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99714?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99714?

Linux \>= 9952f3882ecba709092379b71e02b09762b26f96, \< 45d0c2d7d338ae1606984ed92d254ca0efcef921; \>= 9952f3882ecba709092379b71e02b09762b26f96, \< 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03; 98b09ad7934482e64db4b4477d91e3bbf43adf4c; \>= 7.2.10, \< 7.3; Linux 7.3.

### Is there a fix for CVE-2026-99714?

Yes. Fixed in Linux 45d0c2d7d338ae1606984ed92d254ca0efcef921, Linux 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03, Linux 7.3. Upgrade Linux to 7.3 or later.

### How do I check if I'm affected by CVE-2026-99714?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/45d0c2d7d338ae1606984ed92d254ca0efcef921>
- other: <https://git.kernel.org/stable/c/7dfe79db5615df8d37ae7de6d3ec099b71bf3e03>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99714>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99714> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99714>
