In the Linux kernel, the following vulnerability has been resolved:
nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()
nfsd4_add_rdaccess_to_wrdeleg() unconditionally overwrites fp->fi_fds[O_RDONLY] with a newly acquired nfsd_file. However, if the client already has a SHARE_ACCESS_READ open from a previous OPEN operation, this action overwrites the existing pointer without releasing its reference, orphaning the previous reference.
Additionally, the function originally stored the same nfsd_file pointer in both fp->fi_fds[O_RDONLY] and fp->fi_rdeleg_file with only a single reference. When put_deleg_file() runs, it clears fi_rdeleg_file and calls nfs4_file_put_access() to release the file.
However, nfs4_file_put_access() only releases fi_fds[O_RDONLY] when the fi_access[O_RDONLY] counter drops to zero. If another READ open exists on the file, the counter remains elevated and the nfsd_file reference from the delegation is never released. This potentially causes open conflicts on that file.
Then, on server shutdown, these leaks cause __nfsd_file_cache_purge() to encounter files with an elevated reference count that cannot be cleaned up, ultimately triggering a BUG() in kmem_cache_destroy() because there are still nfsd_file objects allocated in that cache.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Jan 13, 2026 |
| Ubuntu | — | Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-realtime-hwe-24.04-edgeUpgrade linux-image-generic-64kUpgrade linux-image-6.17.0-1023-oemUpgrade linux-image-6.17.0-1026-nvidia-64kUpgrade linux-image-6.17.0-1014-oracle-64kUpgrade linux-image-generic-64k-6.17Upgrade linux-image-realtime-6.17Upgrade linux-image-oem-24.04cUpgrade linux-image-raspi-6.17Upgrade linux-image-6.17.0-1015-azureUpgrade linux-image-6.17.0-1017-awsUpgrade linux-image-oem-24.04bUpgrade linux-image-oracle-6.17Upgrade linux-image-raspiUpgrade linux-image-realtime-hwe-24.04Upgrade linux-image-aws-64k-6.17Upgrade linux-image-oem-6.17Upgrade linux-image-6.17.0-1014-oracleUpgrade linux-image-6.17.0-29-generic-64kUpgrade linux-image-6.17.0-29-genericUpgrade linux-image-gcpUpgrade linux-image-generic-6.17Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-oem-24.04aUpgrade linux-image-azureUpgrade linux-image-6.17.0-1018-gcp-64kUpgrade linux-image-6.17.0-1015-aws-64kUpgrade linux-image-oracle-64k-6.17Upgrade linux-image-azure-6.17Upgrade linux-image-oem-24.04dUpgrade linux-image-oracle-64kUpgrade linux-image-awsUpgrade linux-image-gcp-64k-6.17Upgrade linux-image-aws-6.17Upgrade linux-image-genericUpgrade linux-image-virtual-6.17Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-6.17.0-1015-awsUpgrade linux-image-gcp-64kUpgrade linux-image-6.17.0-1013-realtimeUpgrade linux-image-nvidia-64k-6.17Upgrade linux-image-gcp-6.17Upgrade linux-image-6.17.0-1018-gcpUpgrade linux-image-oem-24.04Upgrade linux-image-nvidia-64k-hwe-24.04Upgrade linux-image-virtualUpgrade linux-image-6.17.0-1026-nvidiaUpgrade linux-image-6.17.0-1017-aws-64kUpgrade linux-image-nvidia-6.17Upgrade linux-image-aws-64kUpgrade linux-image-oracleUpgrade linux-image-nvidia-hwe-24.04Upgrade linux-image-6.17.0-1017-raspiUpgrade linux-image-realtime | May 25, 2026 | May 19, 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