CVE-2026-99714
Last modified
CVE-2026-99714 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 9952f3882ecba709092379b71e02b09762b26f96, < 45d0c2d7d338ae1606984ed92d254ca0efcef921; >= 9952f3882ecba709092379b71e02b09762b26f96, < 7dfe79db5615df8d37ae7de6d3ec099b71bf3e03; 98b09ad7934482e64db4b4477d91e3bbf43adf4c; >= 7.2.10, < 7.3 |
| Linux | Linux | 7.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99714?
How severe is CVE-2026-99714?
How do I fix CVE-2026-99714?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99709In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9971Inappropriate implementation in iOS in Google Chrome on iOS …5.4
- CVE-2026-99710In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99711In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99712In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99713In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99715In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-99716In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99717In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99718In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99719In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9972Uninitialized Use in Gamepad in Google Chrome on Mac prior t…8.3
Are you affected by CVE-2026-99714?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
