CVE-2026-89972
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
In the Linux kernel, the following vulnerability has been resolved:
nvme: add missing SRCU grace period in error path
nvme_alloc_ns() error path at out_unlink_ns removes ns from the namespace head siblings list with list_del_rcu(&ns->siblings) but does not wait for SRCU readers before freeing the namespace struct. Multipath code iterates the head->list under srcu_read_lock() in nvme_find_path() and nvme_mpath_revalidate_paths(), so a concurrent reader can still hold a reference to ns when kfree(ns) runs.
The normal removal path in nvme_ns_remove() correctly calls synchronize_srcu(&ns->head->srcu) after list_del_rcu() to wait for in-progress readers. Add the same grace period in the error path.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | ed754e5deeb17f4e675c84e4b6c640cc7344e498 < d663944dbad81bb0e3635d7090db4713e6300858 | affected |
| Linux | Linux | ed754e5deeb17f4e675c84e4b6c640cc7344e498 < 76023560d60f10b4f808941163aa2975f1631683 | affected |
| Linux | Linux | ed754e5deeb17f4e675c84e4b6c640cc7344e498 < ef248d5de4469fb6bbaf8dbe0c4c47800080d648 | affected |
| Linux | Linux | 4.15 | affected |
| Linux | Linux | 0 < 4.15 | unaffected |
| Linux | Linux | 6.18.51 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.5 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/d663944dbad81bb0e3635d7090db4713e6300858
- https://git.kernel.org/stable/c/76023560d60f10b4f808941163aa2975f1631683
- https://git.kernel.org/stable/c/ef248d5de4469fb6bbaf8dbe0c4c47800080d648
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.