CVE-2026-53026

NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg

State
Published
Severity
7.5 High
Published
Jun 24, 2026
Updated
Aug 5, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c07dc84ed67c5a182273171639bacbbb87c12175 to before 4584229395d0d65bd517780afe97ffea07cb2c3dAffected
  • 8072e34e1387d03102b788677d491e2bcceef6f5 to before b81572b073441dfd32213e41857676d0dbff4665Affected
  • 8072e34e1387d03102b788677d491e2bcceef6f5 to before b48f44f36e6607b2f818560f19deb86b4a9c717bAffected
  • 6.18.4 to before 6.18.33Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.