Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-71090— nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()

CVSS 7.5 · High EPSS 0.19% · P9

Possible ATT&CK Techniques 1AI

T1496 · Resource Hijacking

Affected Version Matrix 6

VendorProductVersion RangeStatus
LinuxLinuxe7a8ebc305f26cab608e59a916a4ae89d6656c5f< c07dc84ed67c5a182273171639bacbbb87c12175affected
e7a8ebc305f26cab608e59a916a4ae89d6656c5f< 8072e34e1387d03102b788677d491e2bcceef6f5affected
6.17affected
< 6.17unaffected
6.18.4≤ 6.18.*unaffected
6.19≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-71090

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于nfsd4_add_rdaccess_to_wrdeleg函数中未正确释放nfsd_file引用,可能导致引用泄漏。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux e7a8ebc305f26cab608e59a916a4ae89d6656c5f ~ c07dc84ed67c5a182273171639bacbbb87c12175 -
LinuxLinux 6.17 -

II. Public POCs for CVE-2025-71090

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-71090

登录查看更多情报信息。

Same Patch Batch · Linux · 2026-01-13 · 93 CVEs total

CVE-2025-688119.8 CRITICALsvcrdma: use rc_pageoff for memcpy byte offset
CVE-2025-687949.8 CRITICALiomap: adjust read range correctly for non-block-aligned positions
CVE-2025-688179.8 CRITICALksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
CVE-2025-687759.8 CRITICALnet/handshake: duplicate handshake cancellations leak socket
CVE-2025-710689.8 CRITICALsvcrdma: bound check rq_pages index in inline path
CVE-2025-688099.1 CRITICALksmbd: vfs: fix race on m_flags in vfs_cache
CVE-2025-710959.1 CRITICALnet: stmmac: fix the crash issue for zero copy XDP_TX action
CVE-2025-710939.1 CRITICALe1000: fix OOB in e1000_tbi_should_accept()
CVE-2025-688188.8 HIGHscsi: Revert "scsi: qla2xxx: Perform lockless command completion in abort path"
CVE-2025-710728.2 HIGHshmem: fix recovery on rename failures
CVE-2025-687998.1 HIGHcaif: fix integer underflow in cffrml_receive()
CVE-2025-688038.0 HIGHNFSD: NFSv4 file creation neglects setting ACL
CVE-2025-688087.8 HIGHmedia: vidtv: initialize local pointers upon transfer of memory ownership
CVE-2025-688017.8 HIGHmlxsw: spectrum_router: Fix neighbour use-after-free
CVE-2025-710927.8 HIGHRDMA/bnxt_re: Fix OOB write in bnxt_re_copy_err_stats()
CVE-2025-687927.8 HIGHtpm2-sessions: Fix out of range indexing in name_size
CVE-2025-687937.8 HIGHdrm/amdgpu: fix a job->pasid access race in gpu recovery
CVE-2025-710997.8 HIGHdrm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()
CVE-2025-688057.8 HIGHfuse: fix io-uring list corruption for terminated non-committed requests
CVE-2025-687957.8 HIGHethtool: Avoid overflowing userspace buffer on stats query

Showing top 20 of 93 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-71090

No comments yet


Leave a comment