# CVE-2026-89712: NFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-02)
- Published: 2026-09-11T19:46:27.018Z
- Modified: 2026-10-19T09:18:10.103Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a4bc287943f5695209ff36bdc89f17b48d68fae7 before 2b59029b8f24a99b5d844af2da3950d39d36eeea; from f4e44b393389c77958f7c58bf4415032b4cda15b before d9e151fea5ed706c1284adacabd869b0be745db2; from f4e44b393389c77958f7c58bf4415032b4cda15b before 659ee3da073164e1e6e40dfcbc26eeed85845f93; from f4e44b393389c77958f7c58bf4415032b4cda15b before 60680ae7243b22de3d09be990d8e23bcfc4af837; from f4e44b393389c77958f7c58bf4415032b4cda15b before 77de363d9a1c8cd35f20482782c612cda085791a; from f4e44b393389c77958f7c58bf4415032b4cda15b before 4ed8d2317aef21cc2a9e5a55d6b59860b4b151a8; from f4e44b393389c77958f7c58bf4415032b4cda15b before 7377fa964b8aaf47cb04e5efcc4c82d15e8c2ce9; from f4e44b393389c77958f7c58bf4415032b4cda15b before 036c1b182f4da65363e79ec0ac276edc6b7296e5; from 5.10.220 before 5.10.270; 5.14 (not affected: before 5.14; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/2b59029b8f24a99b5d844af2da3950d39d36eeea>
- <https://git.kernel.org/stable/c/d9e151fea5ed706c1284adacabd869b0be745db2>
- <https://git.kernel.org/stable/c/659ee3da073164e1e6e40dfcbc26eeed85845f93>
- <https://git.kernel.org/stable/c/60680ae7243b22de3d09be990d8e23bcfc4af837>
- <https://git.kernel.org/stable/c/77de363d9a1c8cd35f20482782c612cda085791a>
- <https://git.kernel.org/stable/c/4ed8d2317aef21cc2a9e5a55d6b59860b4b151a8>
- <https://git.kernel.org/stable/c/7377fa964b8aaf47cb04e5efcc4c82d15e8c2ce9>
- <https://git.kernel.org/stable/c/036c1b182f4da65363e79ec0ac276edc6b7296e5>

## Sources

- CVE List: [CVE-2026-89712](https://www.cve.org/CVERecord?id=CVE-2026-89712), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89712](https://nvd.nist.gov/vuln/detail/CVE-2026-89712), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89712 · Whole record: https://cve.day/CVE-2026-89712.json · Rebuilt by cve.day 2026-11-25T22:59:38.123Z
