VDB

CVE-2026-72472

CVE-2026-72472 PUBLISHED CVSS 9.8 CRITICAL

nfs: use nfsi->rwsem to protect traversal of the file lock list

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: nfs: use nfsi->rwsem to protect traversal of the file lock list Lingfeng identified a bug and suggested two solutions, but both appear to have issues. Generally, we cannot release flc_lock while iterating over the file lock list to avoid use-after-free (UAF) problems with file locks. However, functions like nfs_delegation_claim_locks and nfs4_reclaim_locks cannot adhere to this rule because recover_lock or nfs4_lock_delegation_recall may take a long time. To resolve this, NFS switches to using nfsi->rwsem for the same protection, and nfs_reclaim_locks follows this approach. Although nfs_delegation_claim_locks uses so_delegreturn_mutex instead, this is inadequate since a single inode can have multiple nfs4_state instances. Therefore, the fix is to also use nfsi->rwsem in this case. Furthermore, after commit c69899a17ca4 ("NFSv4: Update of VFS byte range lock must be atomic with the stateid update"), the functions nfs4_locku_done and nfs4_lock_done also break this rule because they call locks_lock_inode_wait without holding nfsi->rwsem. Simply adding this protection could cause many deadlocks, so instead, the call to locks_lock_inode_wait is moved into _nfs4_proc_setlk. Regarding the bug fixed by commit c69899a17ca4 ("NFSv4: Update of VFS byte range lock must be atomic with the stateid update"), it has been resolved after commit 0460253913e5 ("NFSv4: nfs4_do_open() is incorrectly triggering state recovery") because all slots are drained before calling nfs4_do_reclaim, which prevents concurrent stateid changes along this path. Also, nfs_delegation_claim_locks does not cause this concurrency either since when _nfs4_proc_setlk is called with NFS_DELEGATED_STATE, no RPC is sent, so nfs4_lock_done is not called. Therefore, nfs4_lock_delegation_recall from nfs_delegation_claim_locks is the first time the stateid is set.

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-headersAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-develAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.41-94.142.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxc69899a17ca4836230720e65493942d9582a0424, c69899a17ca4836230720e65493942d9582a0424, c69899a17ca4836230720e65493942d9582a0424
LinuxLinux4.0, 0, 6.1.191
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023microvm-kernel6.180
amazon:2023kernel6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool6.120
amazon:2023perf6.180
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools0
amazon:2023perf6.120
amazon:2023kernel6.120

…and 7 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (30 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72472
vulnetix vdb fixes CVE-2026-72472

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-72472/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 ›