{"id":"CVE-2026-93212","aliases":["CVE-2026-93212"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: guard nfsd_serv deref in nfsd_file_net_dispose","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: guard nfsd_serv deref in nfsd_file_net_dispose\n\nnfsd_file_net_dispose() is the consumer side of l->freeme: the nfsd\nservice thread loop calls it to drain entries that the filecache\ngarbage collector and shrinker append via\nnfsd_file_dispose_list_delayed().  During per-net teardown,\nnn->nfsd_serv is cleared before the filecache laundrette is shut\ndown, so the service thread can still run a dispose pass that finds\nmore than eight entries on l->freeme and dereferences a NULL\nsvc_serv:\n\n    nfsd service thread loop\n      nfsd_file_net_dispose(nn)\n        if (!list_empty(&l->freeme)) {\n            ...\n            svc_wake_up(nn->nfsd_serv);   /* nn->nfsd_serv == NULL */\n        }\n\nThe sibling helper nfsd_file_dispose_list_delayed() already documents\nthis ordering and caches nn->nfsd_serv into a local before testing it\nfor NULL.  nfsd_file_net_dispose() was introduced with the same raw\nsvc_wake_up(nn->nfsd_serv) call and never picked up the guard.\n\nFix by loading nn->nfsd_serv into a local svc_serv pointer and only\ncalling svc_wake_up() when it is non-NULL, matching the pattern in\nnfsd_file_dispose_list_delayed().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: guard nfsd_serv deref in nfsd_file_net_dispose\n\nnfsd_file_net_dispose() is the consumer side of l->freeme: the nfsd\nservice thread loop calls it to drain entries that the filecache\ngarbage collector and shrinker append via\nnfsd_file_dispose_list_delayed().  During per-net teardown,\nnn->nfsd_serv is cleared before the filecache laundrette is shut\ndown, so the service thread can still run a dispose pass that finds\nmore than eight entries on l->freeme and dereferences a NULL\nsvc_serv:\n\n    nfsd service thread loop\n      nfsd_file_net_dispose(nn)\n        if (!list_empty(&l->freeme)) {\n            ...\n            svc_wake_up(nn->nfsd_serv);   /* nn->nfsd_serv == NULL */\n        }\n\nThe sibling helper nfsd_file_dispose_list_delayed() already documents\nthis ordering and caches nn->nfsd_serv into a local before testing it\nfor NULL.  nfsd_file_net_dispose() was introduced with the same raw\nsvc_wake_up(nn->nfsd_serv) call and never picked up the guard.\n\nFix by loading nn->nfsd_serv into a local svc_serv pointer and only\ncalling svc_wake_up() when it is non-NULL, matching the pattern in\nnfsd_file_dispose_list_delayed().","source":"cvelist"}],"published":"2026-09-24T15:10:35.280Z","modified":"2026-10-19T10:17:12.113Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ffb402596147ac583f3464ff5c48feb9423e3838","fixed":"f4776c1c4b38fbc459420321c8ece87d0f7f95fb","status":"affected"},{"type":"git","introduced":"ffb402596147ac583f3464ff5c48feb9423e3838","fixed":"59baf45a06435194005fc5fa9a42d89f77a30432","status":"affected"},{"type":"git","introduced":"ffb402596147ac583f3464ff5c48feb9423e3838","fixed":"766170b4fd2daaf5c4d6735560101474e18edab6","status":"affected"},{"type":"git","introduced":"ffb402596147ac583f3464ff5c48feb9423e3838","fixed":"9f1ddfc8cb9076592401a611eb3a44d36186d014","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.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/f4776c1c4b38fbc459420321c8ece87d0f7f95fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59baf45a06435194005fc5fa9a42d89f77a30432","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/766170b4fd2daaf5c4d6735560101474e18edab6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f1ddfc8cb9076592401a611eb3a44d36186d014","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93212","url":"https://www.cve.org/CVERecord?id=CVE-2026-93212","licence":"CVE Terms of Use","modified":"2026-10-19T09:07:24.291Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93212","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93212","licence":"Public domain","modified":"2026-10-19T10:17:12.113Z"}],"updatedAt":"2026-11-25T22:59:40.779Z","epss":{"score":0.00168,"percentile":0.06376,"date":"2026-12-01T12:00:22.000Z"}}