{"id":"CVE-2026-90039","aliases":["CVE-2026-90039"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: Guard admin state-revocation walks with NFSD_NET_UP","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Guard admin state-revocation walks with NFSD_NET_UP\n\nWriting to /proc/fs/nfsd/unlock_filesystem, or sending the\nNFSD_CMD_UNLOCK_FILESYSTEM or NFSD_CMD_UNLOCK_EXPORT netlink command,\nwalks the NFSv4 client hash tables to revoke open state and cancel\nasync COPY operations.  All three handlers gate that walk on\nnn->nfsd_serv, but a listener added via portlist or netlink\nlistener_set sets nn->nfsd_serv before any nfsd thread starts.\nnfsd_startup_net() has not yet allocated nn->conf_id_hashtbl, so the\nwalkers dereference a NULL table.  A local administrator with\nCAP_SYS_ADMIN can crash the kernel this way without ever starting the\nserver.\n\nnn->nfsd_serv is set when the service is created, which precedes\ntable allocation.  NFSD_NET_UP instead brackets the window where the\ntables are live: set at the end of nfsd_startup_net() and cleared in\nnfsd_shutdown_net() after they are freed, both under nfsd_mutex.\nGating the three unlock paths on NFSD_NET_UP fixes the startup-time\nNULL dereference while preserving the earlier post-shutdown\nuse-after-free fix.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Guard admin state-revocation walks with NFSD_NET_UP\n\nWriting to /proc/fs/nfsd/unlock_filesystem, or sending the\nNFSD_CMD_UNLOCK_FILESYSTEM or NFSD_CMD_UNLOCK_EXPORT netlink command,\nwalks the NFSv4 client hash tables to revoke open state and cancel\nasync COPY operations.  All three handlers gate that walk on\nnn->nfsd_serv, but a listener added via portlist or netlink\nlistener_set sets nn->nfsd_serv before any nfsd thread starts.\nnfsd_startup_net() has not yet allocated nn->conf_id_hashtbl, so the\nwalkers dereference a NULL table.  A local administrator with\nCAP_SYS_ADMIN can crash the kernel this way without ever starting the\nserver.\n\nnn->nfsd_serv is set when the service is created, which precedes\ntable allocation.  NFSD_NET_UP instead brackets the window where the\ntables are live: set at the end of nfsd_startup_net() and cleared in\nnfsd_shutdown_net() after they are freed, both under nfsd_mutex.\nGating the three unlock paths on NFSD_NET_UP fixes the startup-time\nNULL dereference while preserving the earlier post-shutdown\nuse-after-free fix.","source":"cvelist"}],"published":"2026-09-16T10:33:38.091Z","modified":"2026-10-19T09:18:52.147Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1ac3629bf012592cb0320e52a1cceb319a05ad17","fixed":"73bf459d696ecf207a9037bf9bb70c51a459469e","status":"affected"},{"type":"git","introduced":"1ac3629bf012592cb0320e52a1cceb319a05ad17","fixed":"104a51265042b4424085741c963cb858ac29ec0b","status":"affected"},{"type":"git","introduced":"1ac3629bf012592cb0320e52a1cceb319a05ad17","fixed":"0146467a2fce845cb6629979c3e9c58dd3d3a6a3","status":"affected"},{"type":"git","introduced":"1ac3629bf012592cb0320e52a1cceb319a05ad17","fixed":"2f3e6638aebc0ab8afb8b4e9816ea9a1cad85378","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","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/73bf459d696ecf207a9037bf9bb70c51a459469e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/104a51265042b4424085741c963cb858ac29ec0b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0146467a2fce845cb6629979c3e9c58dd3d3a6a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f3e6638aebc0ab8afb8b4e9816ea9a1cad85378","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90039","url":"https://www.cve.org/CVERecord?id=CVE-2026-90039","licence":"CVE Terms of Use","modified":"2026-10-19T08:56:56.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90039","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90039","licence":"Public domain","modified":"2026-10-19T09:18:52.147Z"}],"updatedAt":"2026-11-25T22:59:39.022Z","epss":{"score":0.00191,"percentile":0.09232,"date":"2026-12-01T12:00:22.000Z"}}