CVE-2025-71090
published high CVSS 3.1 · 7.5nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe7a8ebc305f26cab608e59a916a4ae89d6656c5f to < c07dc84ed67c5a182273171639bacbbb87c12175 · e7a8ebc305f26cab608e59a916a4ae89d6656c5f to < 8072e34e1387d03102b788677d491e2bcceef6f5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.4 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.17 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-aws-6.17-cloud-tools-6.17.0-1017 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-aws-6.17-headers-6.17.0-1017 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-aws-6.17-tools-6.17.0-1017 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1015 | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1015 | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1015 | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1014-oracle | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1014-oracle-64k | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1015-azure | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-29-generic-64k | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1015-azure | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-headers-6.17.0-1014-oracle | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-headers-6.17.0-1014-oracle-64k | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-headers-6.17.0-1015-azure | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-headers-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-headers-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-headers-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-headers-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-headers-6.17.0-29-generic-64k | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-hwe-6.17 | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-hwe-6.17-cloud-tools-6.17.0-29 | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-hwe-6.17-headers-6.17.0-29 | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-hwe-6.17-tools-6.17.0-29 | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-image-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1014-oracle | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1014-oracle-64k | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1015-azure | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-29-generic-64k | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-6.17.0-1014-oracle | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-modules-6.17.0-1014-oracle-64k | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-modules-6.17.0-1015-azure | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-modules-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-6.17.0-29-generic-64k | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1014-oracle | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1014-oracle-64k | Advisory build | 6.17.0-1014.14~24.04.1 | USN-8277-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1015-azure | Advisory build | 6.17.0-1015.15~24.04.1 | USN-8310-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1013-realtime | Advisory build | 6.17.0-1013.15~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1023-oem | Advisory build | 6.17.0-1023.23 | USN-8277-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-29-generic | Advisory build | 6.17.0-29.29~24.04.1 | USN-8277-1 |
| Ubuntu | noble | linux-nvidia-6.17 | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-nvidia-6.17-headers-6.17.0-1026 | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable path processes remotely supplied NFSv4.1 COMPOUND OPEN requests through the kernel NFS server. An attacker can trigger it over the network against an exposed NFS export. AC:L - The attacker can deterministically retain a READ open using WANT_NO_DELEG and then request an uncontended WRITE-only open that receives a write delegation. No race or condition outside the attacker's control is required. PR:N - A permissive read-write export using AUTH_SYS or AUTH_NULL can allow an unauthenticated client to establish a session and open an anonymous or world-accessible file. No pre-existing target-system privileges are required in this reasonable deployment. UI:N - The malicious client alone can issue the OPEN, DELEGRETURN, and CLOSE operations needed to create repeatable leaks. No victim user action is required. S:U - The leak and resulting denial of service remain within the NFS server and host kernel security authority. No virtualization, sandbox, or other security boundary is crossed. C:N - The bug retains valid nfsd_file objects and does not free, over-read, or expose their contents. It provides no memory-disclosure primitive. I:N - The overwritten pointer causes an orphaned reference rather than a dangling pointer or memory corruption. It provides no arbitrary write, control-flow hijack, or data-modification primitive. A:H - The leak can be repeated across attacker-accessible files, retaining file-cache objects and causing resource exhaustion or open conflicts. During final nfsd cache teardown, the remaining objects trigger the slab BUG/WARN path and can panic systems configured to treat warnings as fatal.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e7a8ebc305f26cab608e59a916a4ae89d6656c5f to < c07dc84ed67c5a182273171639bacbbb87c12175 (affected · git)e7a8ebc305f26cab608e59a916a4ae89d6656c5f to < 8072e34e1387d03102b788677d491e2bcceef6f5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.4 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8a727e14ce42c5d954107857238db8460044b79b03543d1314dfdca09e27b535
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record