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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Aug 16, 2026 | Aug 16, 2026 |
| Redhat_linux | — | No solution exists | Aug 19, 2026 | Aug 15, 2026 |
| Ubuntu | — | Upgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-oem-7.0Upgrade linux-image-virtualUpgrade linux-image-azure-7.0Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-gkeUpgrade linux-image-7.0.0-1014-oemUpgrade linux-image-oracle-7.0Upgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1013-gcp-64kNo solution existsUpgrade linux-image-7.0.0-1007-gke-64kUpgrade linux-image-azureUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-6.8.0-1035-nvidia-tegraUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-nvidia-tegraUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-generic-64k-7.0Upgrade linux-image-7.0.0-34-genericUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-34-realtime-64kUpgrade linux-image-genericUpgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-1012-oracle-64kUpgrade linux-image-6.8.0-1035-nvidia-tegra-rtUpgrade linux-image-7.0.0-1007-gkeUpgrade linux-image-generic-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-7.0.0-1017-azureUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-34-realtimeUpgrade linux-image-gcpUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-raspiUpgrade linux-image-awsUpgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-7.0.0-1020-raspiUpgrade linux-image-7.0.0-1020-raspi-realtimeUpgrade linux-image-gcp-7.0Upgrade linux-image-aws-64k-7.0Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-azure-fde-7.0Upgrade linux-image-nvidia-tegra-rtUpgrade linux-image-ibmUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-gcp-64kUpgrade linux-image-oem-26.04aUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-gke-64kUpgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-1014-ibmUpgrade linux-image-realtime-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-raspi-7.0Upgrade linux-image-realtimeUpgrade linux-image-7.0.0-1012-oracleUpgrade linux-image-azure-fdeUpgrade linux-image-7.0.0-1013-awsUpgrade linux-image-oracleUpgrade linux-image-7.0.0-1013-aws-64kUpgrade linux-image-7.0.0-1013-gcpUpgrade linux-image-virtual-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-gke-64k-7.0Upgrade linux-image-7.0.0-34-generic-64kUpgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-azure-lts-26.04 | Sep 21, 2026 | Sep 18, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 21, 2026 | Aug 15, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub