CVE-2026-93221
nfsd: convert nfsd_net boolean flags to unsigned long flags word
Mitigation
- Upgrade Linux to 11a5fe42e1811f793e04ef885b639ea7668f439d or later.
Who should check
- Anyone running Linux >= 362063a595be959bc08f4163e6405a0266740091, < 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de; >= 362063a595be959bc08f4163e6405a0266740091, < 94b450977c60261903c945419d2df4a464de60c4; >= 362063a595be959bc08f4163e6405a0266740091, < faac245ca739b66e96fb7bb43e21df537239a4e5; >= 362063a595be959bc08f4163e6405a0266740091, < 40bab0da844c142431a6b1cc21b4cf53491dac44; >= 362063a595be959bc08f4163e6405a0266740091, < df5922fe09a8131c793ffa86adf204999b0470f8; >= 362063a595be959bc08f4163e6405a0266740091, < 11a5fe42e1811f793e04ef885b639ea7668f439d
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= 362063a595be959bc08f4163e6405a0266740091, < 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de; >= 362063a595be959bc08f4163e6405a0266740091, < 94b450977c60261903c945419d2df4a464de60c4; >= 362063a595be959bc08f4163e6405a0266740091, < faac245ca739b66e96fb7bb43e21df537239a4e5; >= 362063a595be959bc08f4163e6405a0266740091, < 40bab0da844c142431a6b1cc21b4cf53491dac44; >= 362063a595be959bc08f4163e6405a0266740091, < df5922fe09a8131c793ffa86adf204999b0470f8; >= 362063a595be959bc08f4163e6405a0266740091, < 11a5fe42e1811f793e04ef885b639ea7668f439d; Linux 5.2
- Fixed in
- Linux 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de, Linux 94b450977c60261903c945419d2df4a464de60c4, Linux 40bab0da844c142431a6b1cc21b4cf53491dac44, Linux 11a5fe42e1811f793e04ef885b639ea7668f439d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.61% chance of exploitation in 30 days (percentile 43, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 362063a595be959bc08f4163e6405a0266740091, < 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de; >= 362063a595be959bc08f4163e6405a0266740091, < 94b450977c60261903c945419d2df4a464de60c4; >= 362063a595be959bc08f4163e6405a0266740091, < faac245ca739b66e96fb7bb43e21df537239a4e5; >= 362063a595be959bc08f4163e6405a0266740091, < 40bab0da844c142431a6b1cc21b4cf53491dac44; >= 362063a595be959bc08f4163e6405a0266740091, < df5922fe09a8131c793ffa86adf204999b0470f8; >= 362063a595be959bc08f4163e6405a0266740091, < 11a5fe42e1811f793e04ef885b639ea7668f439d | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-93221. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-93221.md Affected: Linux >= 362063a595be959bc08f4163e6405a0266740091, < 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de; >= 362063a595be959bc08f4163e6405a0266740091, < 94b450977c60261903c945419d2df4a464de60c4; >= 362063a595be959bc08f4163e6405a0266740091, < faac245ca739b66e96fb7bb43e21df537239a4e5; >= 362063a595be959bc08f416… Fixed in: Linux 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de, Linux 94b450977c60261903c945419d2df4a464de60c4, Linux 40bab0da844c142431a6b1cc21b4cf53491dac44, Linux 11a5fe42e1811f793e04ef885b639ea7668f439d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/02f56a14d2dc17a687c3ee2d883a1c1c4878a9de
- https://git.kernel.org/stable/c/94b450977c60261903c945419d2df4a464de60c4
- https://git.kernel.org/stable/c/faac245ca739b66e96fb7bb43e21df537239a4e5
- https://git.kernel.org/stable/c/40bab0da844c142431a6b1cc21b4cf53491dac44
- https://git.kernel.org/stable/c/df5922fe09a8131c793ffa86adf204999b0470f8
- https://git.kernel.org/stable/c/11a5fe42e1811f793e04ef885b639ea7668f439d
FAQ
Is CVE-2026-93221 being exploited?
There is no confirmed exploitation: CVE-2026-93221 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-93221?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-93221?
Linux >= 362063a595be959bc08f4163e6405a0266740091, < 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de; >= 362063a595be959bc08f4163e6405a0266740091, < 94b450977c60261903c945419d2df4a464de60c4; >= 362063a595be959bc08f4163e6405a0266740091, < faac245ca739b66e96fb7bb43e21df537239a4e5; >= 362063a595be959bc08f4163e6405a0266740091, < 40bab0da844c142431a6b1cc21b4cf53491dac44; >= 362063a595be959bc08f4163e6405a0266740091, < df5922fe09a8131c793ffa86adf204999b0470f8; >= 362063a595be959bc08f4163e6405a0266740091, < 11a5fe42e1811f793e04ef885b639ea7668f439d; Linux 5.2.
Is there a fix for CVE-2026-93221?
Yes. Fixed in Linux 02f56a14d2dc17a687c3ee2d883a1c1c4878a9de, Linux 94b450977c60261903c945419d2df4a464de60c4, Linux 40bab0da844c142431a6b1cc21b4cf53491dac44, Linux 11a5fe42e1811f793e04ef885b639ea7668f439d. Upgrade Linux to 11a5fe42e1811f793e04ef885b639ea7668f439d or later.
How do I check if I'm affected by CVE-2026-93221?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.