CVE-2026-72472
nfs: use nfsi->rwsem to protect traversal of the file lock list
Mitigation
- Upgrade Linux to 4837fb36219e6c08b666bc31a86841bad8526358 or later.
Who should check
- Anyone running Linux >= c69899a17ca4836230720e65493942d9582a0424, < 7813adb38c88573b730219c1dc1b630dfab7165e; >= c69899a17ca4836230720e65493942d9582a0424, < 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4; >= c69899a17ca4836230720e65493942d9582a0424, < f161ef7b0dd2f51fdb002ba4a4e9bf0ee7409218; >= c69899a17ca4836230720e65493942d9582a0424, < e68035178e65e2b3aa386ce61202ff33724ae418; >= c69899a17ca4836230720e65493942d9582a0424, < 4837fb36219e6c08b666bc31a86841bad8526358
- Anyone running Linux 4.0
Vulnerability facts
- Affected
- Linux >= c69899a17ca4836230720e65493942d9582a0424, < 7813adb38c88573b730219c1dc1b630dfab7165e; >= c69899a17ca4836230720e65493942d9582a0424, < 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4; >= c69899a17ca4836230720e65493942d9582a0424, < f161ef7b0dd2f51fdb002ba4a4e9bf0ee7409218; >= c69899a17ca4836230720e65493942d9582a0424, < e68035178e65e2b3aa386ce61202ff33724ae418; >= c69899a17ca4836230720e65493942d9582a0424, < 4837fb36219e6c08b666bc31a86841bad8526358; Linux 4.0
- Fixed in
- Linux 7813adb38c88573b730219c1dc1b630dfab7165e, Linux 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4, Linux 4837fb36219e6c08b666bc31a86841bad8526358
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/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: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c69899a17ca4836230720e65493942d9582a0424, < 7813adb38c88573b730219c1dc1b630dfab7165e; >= c69899a17ca4836230720e65493942d9582a0424, < 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4; >= c69899a17ca4836230720e65493942d9582a0424, < f161ef7b0dd2f51fdb002ba4a4e9bf0ee7409218; >= c69899a17ca4836230720e65493942d9582a0424, < e68035178e65e2b3aa386ce61202ff33724ae418; >= c69899a17ca4836230720e65493942d9582a0424, < 4837fb36219e6c08b666bc31a86841bad8526358 | — | cvelist |
| Linux | 4.0 | — | 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-72472. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-72472.md Affected: Linux >= c69899a17ca4836230720e65493942d9582a0424, < 7813adb38c88573b730219c1dc1b630dfab7165e; >= c69899a17ca4836230720e65493942d9582a0424, < 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4; >= c69899a17ca4836230720e65493942d9582a0424, < f161ef7b0dd2f51fdb002ba4a4e9bf0ee7409218; >= c69899a17ca4836230720e6… Fixed in: Linux 7813adb38c88573b730219c1dc1b630dfab7165e, Linux 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4, Linux 4837fb36219e6c08b666bc31a86841bad8526358 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/7813adb38c88573b730219c1dc1b630dfab7165e
- https://git.kernel.org/stable/c/1cda95bf2e9c0e6b63545b7565fe4a1e474322f4
- https://git.kernel.org/stable/c/f161ef7b0dd2f51fdb002ba4a4e9bf0ee7409218
- https://git.kernel.org/stable/c/e68035178e65e2b3aa386ce61202ff33724ae418
- https://git.kernel.org/stable/c/4837fb36219e6c08b666bc31a86841bad8526358
FAQ
Is CVE-2026-72472 being exploited?
There is no confirmed exploitation: CVE-2026-72472 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-72472?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-72472?
Linux >= c69899a17ca4836230720e65493942d9582a0424, < 7813adb38c88573b730219c1dc1b630dfab7165e; >= c69899a17ca4836230720e65493942d9582a0424, < 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4; >= c69899a17ca4836230720e65493942d9582a0424, < f161ef7b0dd2f51fdb002ba4a4e9bf0ee7409218; >= c69899a17ca4836230720e65493942d9582a0424, < e68035178e65e2b3aa386ce61202ff33724ae418; >= c69899a17ca4836230720e65493942d9582a0424, < 4837fb36219e6c08b666bc31a86841bad8526358; Linux 4.0.
Is there a fix for CVE-2026-72472?
Yes. Fixed in Linux 7813adb38c88573b730219c1dc1b630dfab7165e, Linux 1cda95bf2e9c0e6b63545b7565fe4a1e474322f4, Linux 4837fb36219e6c08b666bc31a86841bad8526358. Upgrade Linux to 4837fb36219e6c08b666bc31a86841bad8526358 or later.
How do I check if I'm affected by CVE-2026-72472?
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.