Bug 2492454 (CVE-2026-53026) - CVE-2026-53026 kernel: NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg
Summary: CVE-2026-53026 kernel: NFSD: fix nfs4_file access extra count in nfsd4_add_rd...
Keywords:
Status: NEW
Alias: CVE-2026-53026
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:12 UTC by OSIDB Bzimport
Modified: 2026-06-25 08:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:12:57 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-06-25 08:31:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062453-CVE-2026-53026-0965@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.