Database/Kernel, userspace & hypervisor
Linux kernel nfsd: unserialized grace_ended flag lets two contexts double-free every client reclaim record
Impact
nfsd4_end_grace() guarded its drain path with a plain boolean read followed by a write, with nothing serializing the two. The laundromat worker and a RECLAIM_COMPLETE compound can both observe the flag clear, both set it, and both enter nfs4_release_reclaim(), which walks reclaim_str_hashtbl unlocked and list_del + kfree's every entry - list corruption and a double free of every nfs4_client_reclaim, with a concurrent lookup reading freed memory. The window is server restart plus reclaim, so it is reachable by NFS clients reconnecting after the server comes back. On a GPU cluster this matters where nodes export or re-export NFS for datasets and checkpoints: the failure mode is a kernel crash on the file server, which stalls every job holding that mount. The fix converts the flags to an unsigned long word and uses test_and_set_bit().
Who can reach it
Remote NFS clients performing reclaim against an in-kernel nfsd server during the grace period after a restart. No authentication beyond what the export already requires; it is a race, so it is not reliably triggerable on demand.
What to do
Update to a stable kernel with the linked commits and reboot the NFS servers - a reboot per file server, which means an outage window for every client holding those mounts. No runtime mitigation; the race only opens around nfsd grace-period end, so minimizing nfsd restarts reduces exposure without removing it.
References
Related entries
- Apache MINA SSHD: a server requiring two public keys accepts the same key twice, a partial auth bypassCVE-2026-93994 · Apache MINA SSHD sshd-core (server-side multi-factor publickey authentication)High
- Linux kernel net/rds: teardown samples RDS_IN_XMIT instead of owning it, racing the transmit path into freed ring stateCVE-2026-98069 · Linux kernel net/rds (connection teardown vs transmit/refill fastpath locking)High
- Linux kernel IB/isert: deferred control PDU completions can run against a freed connection on teardownCVE-2026-98357 · Linux kernel IB/isert (iSER target, deferred control PDU completions vs connection teardown)High
- Linux kernel (virt/kvm): The dirty-ring reset path bounds-checks an offset with unchecked 64-bit arithmetic, so aCVE-2026-52969 · Linux kernel (virt/kvm)High
- Linux kernel KVM x86: rechecking L1 I/O intercepts on userspace exit completion leaves pio.count non-zeroCVE-2025-40026 · Linux kernel KVM x86 (I/O emulation completion rechecks L1 intercepts)High
- Confidential PodVM: host-injected GPT partitions are auto-mounted, swap leaks TEE-encrypted memoryCVE-2026-121876 · systemd-gpt-auto-generator in OpenShift Sandboxed Containers confidential PodVM imagesHigh
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.