{"id":"CVE-2026-89712","aliases":["CVE-2026-89712"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock\n\nnfsd4_ssc_expire_umount() walks nn->nfsd_ssc_mount_list with\nlist_for_each_entry_safe(ni, tmp, ...).  For each expired entry it\nsets nsui_busy = true, drops nfsd_ssc_lock to run mntput() on the\nsource vfsmount, then reacquires the lock to list_del + kfree the\nentry and continue iterating via the macro's saved tmp pointer.\n\nThe nsui_busy flag protects the current ni from concurrent\nnfsd4_ssc_setup_dul() finders during the lock-drop window, but it\ndoes not pin tmp.  Another nfsd RPC thread that fails its source-\nserver mount and reaches nfsd4_ssc_cancel_dul() will, during that\nsame window, take nfsd_ssc_lock, list_del + kfree its own ssc_umount\nitem, and release the lock.  If that item is the saved tmp of the\nexpire walk, the next iteration dereferences a freed\nnfsd4_ssc_umount_item.\n\nRestart the walk from the head after the mntput() unlock window so\nno saved next pointer survives the lock-drop.  The list is bounded\nby the number of active inter-server source mounts (typically small)\nand the expire delayed-work runs periodically rather than per-IO,\nso the restart is cheap.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock\n\nnfsd4_ssc_expire_umount() walks nn->nfsd_ssc_mount_list with\nlist_for_each_entry_safe(ni, tmp, ...).  For each expired entry it\nsets nsui_busy = true, drops nfsd_ssc_lock to run mntput() on the\nsource vfsmount, then reacquires the lock to list_del + kfree the\nentry and continue iterating via the macro's saved tmp pointer.\n\nThe nsui_busy flag protects the current ni from concurrent\nnfsd4_ssc_setup_dul() finders during the lock-drop window, but it\ndoes not pin tmp.  Another nfsd RPC thread that fails its source-\nserver mount and reaches nfsd4_ssc_cancel_dul() will, during that\nsame window, take nfsd_ssc_lock, list_del + kfree its own ssc_umount\nitem, and release the lock.  If that item is the saved tmp of the\nexpire walk, the next iteration dereferences a freed\nnfsd4_ssc_umount_item.\n\nRestart the walk from the head after the mntput() unlock window so\nno saved next pointer survives the lock-drop.  The list is bounded\nby the number of active inter-server source mounts (typically small)\nand the expire delayed-work runs periodically rather than per-IO,\nso the restart is cheap.","source":"cvelist"}],"published":"2026-09-11T19:46:27.018Z","modified":"2026-10-19T09:18:10.103Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a4bc287943f5695209ff36bdc89f17b48d68fae7","fixed":"2b59029b8f24a99b5d844af2da3950d39d36eeea","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"d9e151fea5ed706c1284adacabd869b0be745db2","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"659ee3da073164e1e6e40dfcbc26eeed85845f93","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"60680ae7243b22de3d09be990d8e23bcfc4af837","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"77de363d9a1c8cd35f20482782c612cda085791a","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"4ed8d2317aef21cc2a9e5a55d6b59860b4b151a8","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"7377fa964b8aaf47cb04e5efcc4c82d15e8c2ce9","status":"affected"},{"type":"git","introduced":"f4e44b393389c77958f7c58bf4415032b4cda15b","fixed":"036c1b182f4da65363e79ec0ac276edc6b7296e5","status":"affected"},{"type":"semver","introduced":"5.10.220","fixed":"5.10.270","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2b59029b8f24a99b5d844af2da3950d39d36eeea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9e151fea5ed706c1284adacabd869b0be745db2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/659ee3da073164e1e6e40dfcbc26eeed85845f93","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60680ae7243b22de3d09be990d8e23bcfc4af837","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77de363d9a1c8cd35f20482782c612cda085791a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ed8d2317aef21cc2a9e5a55d6b59860b4b151a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7377fa964b8aaf47cb04e5efcc4c82d15e8c2ce9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/036c1b182f4da65363e79ec0ac276edc6b7296e5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89712","url":"https://www.cve.org/CVERecord?id=CVE-2026-89712","licence":"CVE Terms of Use","modified":"2026-10-19T08:51:25.202Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89712","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89712","licence":"Public domain","modified":"2026-10-19T09:18:10.103Z"}],"updatedAt":"2026-11-25T22:59:38.123Z","epss":{"score":0.00714,"percentile":0.54927,"date":"2026-12-02T12:00:21.000Z"}}