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

Published Sep 11, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

NFSD: restart sscexpireumount walk after dropping nfsdssclock

nfsd4sscexpireumount() walks nn->nfsdsscmountlist with listforeachentrysafe(ni, tmp, ...). For each expired entry it sets nsuibusy = true, drops nfsdssclock to run mntput() on the source vfsmount, then reacquires the lock to listdel + kfree the entry and continue iterating via the macro's saved tmp pointer.

The nsuibusy flag protects the current ni from concurrent nfsd4sscsetupdul() finders during the lock-drop window, but it does not pin tmp. Another nfsd RPC thread that fails its source- server mount and reaches nfsd4ssccanceldul() will, during that same window, take nfsdssclock, listdel + kfree its own sscumount item, and release the lock. If that item is the saved tmp of the expire walk, the next iteration dereferences a freed nfsd4sscumountitem.

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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel NFSD to a version that resolves this vulnerability.

    Patch NFSD: restart ssc_expire_umount walk after dropping nfsd_ssc_lock

Event History

Sep 11, 2026
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems are exposed when NFSD has active inter-server source mounts tracked in the source-server mount list. The affected list is bounded by the number of those active mounts, which is typically small.

2

What race is required to trigger the use-after-free?

While the periodic expiration worker drops nfsd_ssc_lock to run mntput() for an expired entry, another NFSD RPC thread must cancel a failed source-server mount. If that cancellation removes and frees the expiration walk's saved next list item, the worker can dereference the freed item when it resumes.

3

Is the vulnerable path executed for every I/O operation?

No. The expiration work runs periodically rather than once per I/O operation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203