Description
In the Linux kernel, the following vulnerability has been resolved:

NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg

In nfsd4_add_rdaccess_to_wrdeleg, if fp->fi_fds[O_RDONLY] is already
set by another thread, __nfs4_file_get_access should not be called
to increment the nfs4_file access count since that was already done
by the thread that added READ access to the file. The extra fi_access
count in nfs4_file can prevent the corresponding nfsd_file from being
freed.

When stopping nfs-server service, these extra access counts trigger a
BUG in kmem_cache_destroy() that shows nfsd_file object remaining on
__kmem_cache_shutdown.

This problem can be reproduced by running the Git project's test
suite over NFS.
Published: 2026-06-24
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in nfsd4_add_rdaccess_to_wrdeleg allows an NFS client thread to over‑increment the reference counter of an nfs4_file object. When the NFS server stops, the inflated counter prevents the corresponding nfsd_file from being freed. The unfinished kernel object triggers a BUG in kmem_cache_destroy() as the cache is torn down, potentially corrupting memory or causing a crash. This affects the integrity and availability of the NFS service during termination.

Affected Systems

The vulnerability exists in all Linux kernel versions that contain the buggy nfsd4 implementation, regardless of distribution. Any system running nfs-server and handling concurrent NFSv4 access can be exposed until the patch is applied. The issue is not limited to a particular vendor; it applies to the upstream Linux kernel shared by all distributions.

Risk and Exploitability

No public exploitation reports exist, and the EPSS score is unavailable, but the lack of a KEV listing does not diminish the potential impact. The flaw requires an operational NFS server; a remote attacker could trigger the condition by generating high volumes of concurrent read and write delegations. The risk is significant if the NFS service is part of a critical infrastructure, as it can lead to kernel instability or denial of service. The CVSS score is not provided, but the severity can be inferred from the kernel BUG and memory leak.

Generated by OpenCVE AI on June 24, 2026 at 18:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the system kernel to a version that includes the patch that fixes nfsd4_add_rdaccess_to_wrdeleg.
  • If a newer kernel is unavailable, download the patch commits referenced in the advisory, apply them to the local kernel source, rebuild, and install the updated kernel.
  • After upgrading or patching, restart the nfs-server service to allow the cleaned reference counters to take effect and monitor system logs for any kmem_cache_destroy or BUG messages.

Generated by OpenCVE AI on June 24, 2026 at 18:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg In nfsd4_add_rdaccess_to_wrdeleg, if fp->fi_fds[O_RDONLY] is already set by another thread, __nfs4_file_get_access should not be called to increment the nfs4_file access count since that was already done by the thread that added READ access to the file. The extra fi_access count in nfs4_file can prevent the corresponding nfsd_file from being freed. When stopping nfs-server service, these extra access counts trigger a BUG in kmem_cache_destroy() that shows nfsd_file object remaining on __kmem_cache_shutdown. This problem can be reproduced by running the Git project's test suite over NFS.
Title NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:29:34.855Z

Reserved: 2026-06-09T07:44:35.379Z

Link: CVE-2026-53026

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T23:15:03Z

Weaknesses

No weakness.