nvme: add missing SRCU grace period in error path (Linux Linux)

CVE-2026-89972
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.71 % · percentile 54 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected ed754e5deeb17f4e675c84e4b6c640cc7344e498 < 037e71058e8a59568db72015d4386f54e54dff77 ; affected ed754e5deeb17f4e675c84e4b6c640cc7344e498 < 7f180cef9f3421ece85c43bfdc326ce5875845bb ; affected ed754e5deeb17f4e675c84e4b6c640cc7344e498 < da710ec2a70a85de73afd4f7869b234fd9ede49e ; affected ed754e5deeb17f4e675c84e4b6c640cc7344e498 < 3868476cd39161f18720582df17a1b621e805b5d ; affected ed754e5deeb17f4e675c84e4b6c640cc7344e498 < 0d4735418512ef825176726eaaa8bd6a35f6b46d ; affected ed754e5deeb17f4e675c84e4b6c640cc7344e498 < d663944dbad81bb0e3635d7090db4713e6300858
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD