NFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock (Linux Linux)

CVE-2026-89712
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: NFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock nfsd4_ssc_expire_umount() walks nn->nfsd_ssc_mount_list with list_for_each_entry_safe(ni, tmp, ...). For each expired entry it sets nsui_busy = true, drops nfsd_ssc_lock to run mntput() on the source vfsmount, then reacquires the lock to list_del + kfree the entry and continue iterating via the macro's saved tmp pointer. The nsui_busy flag protects the current ni from concurrent nfsd4_ssc_setup_dul() finders during the lock-drop window, but it does not pin tmp. Another nfsd RPC thread that fails its source- server mount and reaches nfsd4_ssc_cancel_dul() will, during that same window, take nfsd_ssc_lock, list_del + kfree its own ssc_umount item, and release the lock. If that item is the saved tmp of the expire walk, the next iteration dereferences a freed nfsd4_ssc_umount_item. Restart the walk from the head after the mntput() unlock window so no saved next pointer survives the lock-drop. The list is bounded by the number of active inter-server source mounts (typically small) and the expire delayed-work runs periodically rather than per-IO, so the restart is cheap.

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 a4bc287943f5695209ff36bdc89f17b48d68fae7 < 2b59029b8f24a99b5d844af2da3950d39d36eeea ; affected f4e44b393389c77958f7c58bf4415032b4cda15b < d9e151fea5ed706c1284adacabd869b0be745db2 ; affected f4e44b393389c77958f7c58bf4415032b4cda15b < 659ee3da073164e1e6e40dfcbc26eeed85845f93 ; affected f4e44b393389c77958f7c58bf4415032b4cda15b < 60680ae7243b22de3d09be990d8e23bcfc4af837 ; affected f4e44b393389c77958f7c58bf4415032b4cda15b < 77de363d9a1c8cd35f20482782c612cda085791a ; affected f4e44b393389c77958f7c58bf4415032b4cda15b < 4ed8d2317aef21cc2a9e5a55d6b59860b4b151a8
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 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