CVE-2026-90039: NFSD: Guard admin state-revocation walks with NFSD_NET_UP

Published Sep 16, 2026
·
Updated

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

NFSD: Guard admin state-revocation walks with NFSDNETUP

Writing to /proc/fs/nfsd/unlockfilesystem, or sending the NFSDCMDUNLOCKFILESYSTEM or NFSDCMDUNLOCKEXPORT netlink command, walks the NFSv4 client hash tables to revoke open state and cancel async COPY operations. All three handlers gate that walk on nn->nfsdserv, but a listener added via portlist or netlink listenerset sets nn->nfsdserv before any nfsd thread starts. nfsdstartupnet() has not yet allocated nn->confidhashtbl, so the walkers dereference a NULL table. A local administrator with CAPSYSADMIN can crash the kernel this way without ever starting the server.

nn->nfsdserv is set when the service is created, which precedes table allocation. NFSDNETUP instead brackets the window where the tables are live: set at the end of nfsdstartupnet() and cleared in nfsdshutdownnet() after they are freed, both under nfsdmutex. Gating the three unlock paths on NFSDNETUP fixes the startup-time NULL dereference while preserving the earlier post-shutdown use-after-free fix.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:33 AM
Data Sourced
via MITRE·10:33 AM
Description

Frequently Asked Questions

1

Who can trigger the crash?

A local administrator with CAP_SYS_ADMIN can trigger it. The issue can be reached without starting an nfsd server thread.

2

What configuration state is required for exploitation?

An NFSD service must have been created by adding a listener through portlist or the netlink listener_set path, so that nn->nfsd_serv is set before nfsd_startup_net() allocates the NFSv4 client hash table. The vulnerable window exists before NFSD_NET_UP is set.

3

Which interfaces can invoke the vulnerable state-revocation walk?

The walk can be invoked by writing to /proc/fs/nfsd/unlock_filesystem or by sending the NFSD_CMD_UNLOCK_FILESYSTEM or NFSD_CMD_UNLOCK_EXPORT netlink command.

4

What is the impact if the vulnerable sequence is triggered?

The unlock handling walks NFSv4 client state using an unallocated nn->conf_id_hashtbl and dereferences a NULL table, crashing the kernel.

5

How does the fix prevent the issue?

The fix gates all three unlock paths on NFSD_NET_UP rather than nn->nfsd_serv. NFSD_NET_UP is set only after startup allocates the required tables and is cleared after shutdown frees them.

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