CVE-2026-89712
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- osv-coords2 versions
< 5.10.270+ 1 more
- (no CPE)range: < 5.10.270
- (no CPE)range: < 7.2.7-1.1
Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/036c1b182f4da65363e79ec0ac276edc6b7296e5nvd
- git.kernel.org/stable/c/2b59029b8f24a99b5d844af2da3950d39d36eeeanvd
- git.kernel.org/stable/c/4ed8d2317aef21cc2a9e5a55d6b59860b4b151a8nvd
- git.kernel.org/stable/c/60680ae7243b22de3d09be990d8e23bcfc4af837nvd
- git.kernel.org/stable/c/659ee3da073164e1e6e40dfcbc26eeed85845f93nvd
- git.kernel.org/stable/c/7377fa964b8aaf47cb04e5efcc4c82d15e8c2ce9nvd
- git.kernel.org/stable/c/77de363d9a1c8cd35f20482782c612cda085791anvd
- git.kernel.org/stable/c/d9e151fea5ed706c1284adacabd869b0be745db2nvd
News mentions
0No linked articles in our index yet.