VDB

CVE-2026-93221

CVE-2026-93221 PUBLISHED CVSS 8.1 HIGH

nfsd: convert nfsd_net boolean flags to unsigned long flags word

Reported by linux · Published September 24, 2026

In the Linux kernel, the following vulnerability has been resolved: nfsd: convert nfsd_net boolean flags to unsigned long flags word nfsd_net contains several boolean fields that are accessed from concurrent contexts without serialization. In particular, nfsd4_end_grace() guards its drain path with a plain bool: if (nn->grace_ended) return; nn->grace_ended = true; The read and the write are independent, and nothing in struct nfsd_net serializes them. At least two contexts can reach this code with no lock held: laundromat path laundry_wq kworker nfs4_laundromat() nfsd4_end_grace() RECLAIM_COMPLETE path nfsd compound kthread nfsd4_reclaim_complete() inc_reclaim_complete() nfsd4_end_grace() Both callers can observe grace_ended == false on different CPUs, both store true, and both proceed into nfsd4_record_grace_done(), which invokes the active client_tracking_ops->grace_done callback. For tracking ops that drain reclaim_str_hashtbl (legacy_tracking_ops via nfsd4_recdir_purge_old, and the cld v1+ ops via nfsd4_cld_grace_done), grace_done calls nfs4_release_reclaim(), which walks every bucket of reclaim_str_hashtbl with no lock and calls nfs4_remove_reclaim_record() (list_del + kfree) on each entry. Two concurrent walkers corrupt the list and double-free every nfs4_client_reclaim. A concurrent nfsd4_find_reclaim_client() iterating the same bucket reads through freed memory. A third call site exists in nfs4_state_start_net() on the skip_grace startup path, but it runs under nfsd_mutex before any client has connected and before the laundromat's first delayed work fires, so it cannot race with the two callers above. Replace the scattered boolean fields in nfsd_net with a single unsigned long flags word and an enum nfsd_net_flag for the bit positions. The grace_ended race is fixed by using test_and_set_bit(), which is atomic on all architectures. The remaining flags (grace_end_forced, in_grace, somebody_reclaimed, track_reclaim_completes, nfsd_net_up, lockd_up) are converted to use test_bit/set_bit/clear_bit for consistency. This avoids sub-word cmpxchg issues on architectures like Hexagon that only support word-sized atomic operations.

EPSS 0.42% · 36.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.114-139.210.amzn2023
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-headersAmazon Linux1:6.12.114-139.210.amzn2023

Risk scores

CVSS 3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.42%
36.8th percentile

Affected products

VendorProductVersions
LinuxLinux362063a595be959bc08f4163e6405a0266740091, 362063a595be959bc08f4163e6405a0266740091, 362063a595be959bc08f4163e6405a0266740091
LinuxLinux5.2, 0, 6.6.160
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-headers0
linuxlinux_kernel5.2, 5.2, 5.2
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.12.114-139.2100
LinuxLinux6.6.160, 6.12.114, 362063a595be959bc08f4163e6405a0266740091
amazon:2023perf6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0

Timeline

  • Sep 24, 2026 Coalition ESS Score
  • Sep 24, 2026 CVE Published
  • Sep 25, 2026 EPSS Score (24 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-93221
vulnetix vdb fixes CVE-2026-93221

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-93221/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›