Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-71090

HIGH 7.5EPSS 24%

nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()

Mitigation

  • Upgrade Linux to 8072e34e1387d03102b788677d491e2bcceef6f5 or later.

Who should check

  • Anyone running Linux >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < c07dc84ed67c5a182273171639bacbbb87c12175; >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < 8072e34e1387d03102b788677d491e2bcceef6f5
  • Anyone running Linux 6.17

Vulnerability facts

Affected
Linux >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < c07dc84ed67c5a182273171639bacbbb87c12175; >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < 8072e34e1387d03102b788677d491e2bcceef6f5; Linux 6.17
Fixed in
Linux 8072e34e1387d03102b788677d491e2bcceef6f5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < c07dc84ed67c5a182273171639bacbbb87c12175; >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < 8072e34e1387d03102b788677d491e2bcceef6f5—cvelist
Linux6.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-71090. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71090.md
Affected: Linux >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < c07dc84ed67c5a182273171639bacbbb87c12175; >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < 8072e34e1387d03102b788677d491e2bcceef6f5; Linux 6.17
Fixed in: Linux 8072e34e1387d03102b788677d491e2bcceef6f5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-71090 being exploited?

There is no confirmed exploitation: CVE-2025-71090 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-71090?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-71090?

Linux >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < c07dc84ed67c5a182273171639bacbbb87c12175; >= e7a8ebc305f26cab608e59a916a4ae89d6656c5f, < 8072e34e1387d03102b788677d491e2bcceef6f5; Linux 6.17.

Is there a fix for CVE-2025-71090?

Yes. Fixed in Linux 8072e34e1387d03102b788677d491e2bcceef6f5. Upgrade Linux to 8072e34e1387d03102b788677d491e2bcceef6f5 or later.

How do I check if I'm affected by CVE-2025-71090?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors