---
id: CVE-2026-53026
title: |-
  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, __n…
summary: |-
  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, __n…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
published: '2026-06-24'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53026'
references:
  - url: 'https://git.kernel.org/stable/c/4584229395d0d65bd517780afe97ffea07cb2c3d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b48f44f36e6607b2f818560f19deb86b4a9c717b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b81572b073441dfd32213e41857676d0dbff4665'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00609
epssPercentile: 0.4692
ingestedAt: '2026-07-11T19:15:11.954Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
