CVE-2026-93221
In the Linux kernel, the following vulnerability has been resolved: n ...
Severity by source
No source gives a CVSS score.
Trivy's own label is CRITICAL. Rated critical by Ubuntu. Rated lower by Photon OS (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| ubuntu 18.04-ESM | linux-aws-5.4, linux-azure-5.4, linux-gcp-5.4 and 4 more | no fix listed |
| ubuntu 20.04-ESM | linux, linux-aws, linux-aws-5.15 and 19 more | no fix listed |
| ubuntu 22.04 | linux, linux-aws, linux-aws-6.8 and 24 more | no fix listed |
| ubuntu 24.04 | linux, linux-aws, linux-aws-7.0 and 24 more | no fix listed |
| ubuntu 26.04 | linux, linux-aws, linux-azure and 11 more | no fix listed |
| debian 11 | linux | no fix listed |
| debian 12 | linux | no fix listed |
| debian 13 | linux | no fix listed |
| debian 14 | linux | 7.2.6-1 |
| echo | linux | 1 |
| Photon OS 5.0 | bpftool, linux, linux-devel and 8 more | 6.12.113-2.ph5 and 1 more |
| rapidfort amazon linux 2023 | kernel6.12, kernel6.18 | no fix listed |
Show all 115 entries from 12 sources
| Source | Package | Fixed in |
|---|---|---|
| ubuntu 18.04-ESM | linux-aws-5.4 | no fix listed |
| ubuntu 18.04-ESM | linux-azure-5.4 | no fix listed |
| ubuntu 18.04-ESM | linux-gcp-5.4 | no fix listed |
| ubuntu 18.04-ESM | linux-hwe-5.4 | no fix listed |
| ubuntu 18.04-ESM | linux-ibm-5.4 | no fix listed |
| ubuntu 18.04-ESM | linux-oracle-5.4 | no fix listed |
| ubuntu 18.04-ESM | linux-raspi-5.4 | no fix listed |
| ubuntu 20.04-ESM | linux | no fix listed |
| ubuntu 20.04-ESM | linux-aws | no fix listed |
| ubuntu 20.04-ESM | linux-aws-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-azure | no fix listed |
| ubuntu 20.04-ESM | linux-azure-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-azure-fde-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-bluefield | no fix listed |
| ubuntu 20.04-ESM | linux-gcp | no fix listed |
| ubuntu 20.04-ESM | linux-gcp-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-hwe-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-ibm | no fix listed |
| ubuntu 20.04-ESM | linux-ibm-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-intel-iotg-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-iot | no fix listed |
| ubuntu 20.04-ESM | linux-kvm | no fix listed |
| ubuntu 20.04-ESM | linux-lowlatency-hwe-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-nvidia-tegra-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-oracle | no fix listed |
| ubuntu 20.04-ESM | linux-oracle-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-raspi | no fix listed |
| ubuntu 20.04-ESM | linux-riscv-5.15 | no fix listed |
| ubuntu 20.04-ESM | linux-xilinx-zynqmp | no fix listed |
| ubuntu 22.04 | linux | no fix listed |
| ubuntu 22.04 | linux-aws | no fix listed |
| ubuntu 22.04 | linux-aws-6.8 | no fix listed |
| ubuntu 22.04 | linux-azure | no fix listed |
| ubuntu 22.04 | linux-azure-6.8 | no fix listed |
| ubuntu 22.04 | linux-azure-fde | no fix listed |
| ubuntu 22.04 | linux-azure-fde-6.8 | no fix listed |
| ubuntu 22.04 | linux-gcp | no fix listed |
| ubuntu 22.04 | linux-gcp-6.8 | no fix listed |
| ubuntu 22.04 | linux-gke | no fix listed |
| ubuntu 22.04 | linux-gkeop | no fix listed |
| ubuntu 22.04 | linux-hwe-6.8 | no fix listed |
| ubuntu 22.04 | linux-ibm | no fix listed |
| ubuntu 22.04 | linux-ibm-6.8 | no fix listed |
| ubuntu 22.04 | linux-intel-iotg | no fix listed |
| ubuntu 22.04 | linux-kvm | no fix listed |
| ubuntu 22.04 | linux-lowlatency | no fix listed |
| ubuntu 22.04 | linux-lowlatency-hwe-6.8 | no fix listed |
| ubuntu 22.04 | linux-nvidia | no fix listed |
| ubuntu 22.04 | linux-nvidia-6.8 | no fix listed |
| ubuntu 22.04 | linux-nvidia-tegra | no fix listed |
| ubuntu 22.04 | linux-nvidia-tegra-igx | no fix listed |
| ubuntu 22.04 | linux-oracle | no fix listed |
| ubuntu 22.04 | linux-oracle-6.8 | no fix listed |
| ubuntu 22.04 | linux-raspi | no fix listed |
| ubuntu 22.04 | linux-riscv-6.8 | no fix listed |
| ubuntu 22.04 | linux-xilinx-zynqmp | no fix listed |
| ubuntu 24.04 | linux | no fix listed |
| ubuntu 24.04 | linux-aws | no fix listed |
| ubuntu 24.04 | linux-aws-7.0 | no fix listed |
| ubuntu 24.04 | linux-azure | no fix listed |
| ubuntu 24.04 | linux-azure-7.0 | no fix listed |
| ubuntu 24.04 | linux-azure-fde | no fix listed |
| ubuntu 24.04 | linux-azure-fde-7.0 | no fix listed |
| ubuntu 24.04 | linux-azure-nvidia | no fix listed |
| ubuntu 24.04 | linux-gcp | no fix listed |
| ubuntu 24.04 | linux-gcp-7.0 | no fix listed |
| ubuntu 24.04 | linux-gke | no fix listed |
| ubuntu 24.04 | linux-gkeop | no fix listed |
| ubuntu 24.04 | linux-hwe-6.17 | no fix listed |
| ubuntu 24.04 | linux-hwe-7.0 | no fix listed |
| ubuntu 24.04 | linux-ibm | no fix listed |
| ubuntu 24.04 | linux-lowlatency | no fix listed |
| ubuntu 24.04 | linux-nvidia | no fix listed |
| ubuntu 24.04 | linux-nvidia-7.0 | no fix listed |
| ubuntu 24.04 | linux-nvidia-lowlatency | no fix listed |
| ubuntu 24.04 | linux-nvidia-tegra | no fix listed |
| ubuntu 24.04 | linux-oem-6.17 | no fix listed |
| ubuntu 24.04 | linux-oracle | no fix listed |
| ubuntu 24.04 | linux-oracle-7.0 | no fix listed |
| ubuntu 24.04 | linux-raspi | no fix listed |
| ubuntu 24.04 | linux-riscv-7.0 | no fix listed |
| ubuntu 24.04 | linux-vmware | no fix listed |
| ubuntu 24.04 | linux-xilinx | no fix listed |
| ubuntu 26.04 | linux | no fix listed |
| ubuntu 26.04 | linux-aws | no fix listed |
| ubuntu 26.04 | linux-azure | no fix listed |
| ubuntu 26.04 | linux-azure-fde | no fix listed |
| ubuntu 26.04 | linux-gcp | no fix listed |
| ubuntu 26.04 | linux-gke | no fix listed |
| ubuntu 26.04 | linux-ibm | no fix listed |
| ubuntu 26.04 | linux-nvidia | no fix listed |
| ubuntu 26.04 | linux-nvidia-bos | no fix listed |
| ubuntu 26.04 | linux-oem-7.0 | no fix listed |
| ubuntu 26.04 | linux-oracle | no fix listed |
| ubuntu 26.04 | linux-raspi | no fix listed |
| ubuntu 26.04 | linux-realtime | no fix listed |
| ubuntu 26.04 | linux-riscv | no fix listed |
| debian 11 | linux | no fix listed |
| debian 12 | linux | no fix listed |
| debian 13 | linux | no fix listed |
| debian 14 | linux | 7.2.6-1 |
| echo | linux | 1 |
| Photon OS 5.0 | bpftool | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux-devel | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux-docs | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux-drivers-gpu | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux-drivers-sound | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux-esx | 6.12.113-3.ph5 |
| Photon OS 5.0 | linux-esx-devel | 6.12.113-3.ph5 |
| Photon OS 5.0 | linux-esx-docs | 6.12.113-3.ph5 |
| Photon OS 5.0 | linux-python3-perf | 6.12.113-2.ph5 |
| Photon OS 5.0 | linux-tools | 6.12.113-2.ph5 |
| rapidfort amazon linux 2023 | kernel6.12 | no fix listed |
| rapidfort amazon linux 2023 | kernel6.18 | no fix listed |
References
- https://git.kernel.org/stable/c/11a5fe42e1811f793e04ef885b639ea7668f439d
- https://git.kernel.org/stable/c/40bab0da844c142431a6b1cc21b4cf53491dac44
- https://git.kernel.org/stable/c/94b450977c60261903c945419d2df4a464de60c4
- https://git.kernel.org/stable/c/df5922fe09a8131c793ffa86adf204999b0470f8
- https://git.kernel.org/stable/c/faac245ca739b66e96fb7bb43e21df537239a4e5
- https://www.cve.org/CVERecord?id=CVE-2026-93221