CVE-2025-40210
published high CVSS 3.1 · 7.5Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND"
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux48aab1606fa80027143a445224f552b4eeea845b to < b3ee7ce432289deac87b9d14e01f2fe6958f7f0b · 48aab1606fa80027143a445224f552b4eeea845b to < 3e7f011c255582d7c914133785bbba1990441713 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 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 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.7.1.el10_2 | ALSA-2026:18134 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.7.1.el10_2 | ALSA-2026:18134 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-tools-libsaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-tools-libsx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-tools-libs-develaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-tools-libs-develx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uki-virtx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | libperfaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | libperfx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | perfaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | perfx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | python3-perfaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | python3-perfx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | rtlaaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | rtlax86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
| Oracle Linux | 10 | rvaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-18134 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND" I've found that pynfs COMP6 now leaves the connection or lease in a strange state, which causes CLOSE9 to hang indefinitely. I've dug into it a little, but I haven't been able to root-cause it yet. However, I bisected to commit 48aab1606fa8 ("NFSD: Remove the cap on number of operations per NFSv4 COMPOUND"). Tianshuo Han also reports a potential vulnerability when decoding an NFSv4 COMPOUND. An attacker can place an arbitrarily large op count in the COMPOUND header, which results in: [ 51.410584] nfsd: vmalloc error: size 1209533382144, exceeds total pages, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0 when NFSD attempts to allocate the COMPOUND op array. Let's restore the operation-per-COMPOUND limit, but increased to 200 for now.
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 code is the NFSv4 COMPOUND XDR decoder in the in-kernel NFS server, driven directly by bytes received on TCP/UDP port 2049 from a remote client. No local access is needed. AC:L - A single malformed COMPOUND header with a large 32-bit op count deterministically triggers the unbounded vcalloc; the attacker fully controls the requested size and can tune it to either fail loudly or succeed and pin gigabytes. PR:N - The allocation occurs during XDR decode, before any export, filehandle, or file-permission check, and the only gate is `svc_set_client`'s IP-based export ACL — not a user credential. Under the standard AUTH_SYS flavor no secret or account on the server is required. UI:N - The attacker only needs to send an RPC to the listening nfsd port; no action by any local user or administrator is involved. S:U - The impact is confined to the NFS server kernel's own memory and scheduling resources, with no crossing into another security authority such as a hypervisor or IOMMU boundary. C:N - `size_mul()` saturates instead of wrapping, so the array is never undersized; there is no out-of-bounds read, no uninitialized memory exposure, and nothing is returned to the attacker beyond a garbage-args RPC error. I:N - No attacker-controlled data is written outside the correctly sized allocation and no filesystem or kernel state is modified — the request is rejected once decode fails. A:H - An unauthenticated remote client can force arbitrarily large `GFP_KERNEL|__GFP_ZERO` vmalloc requests, exhausting kernel memory and triggering OOM kills, reclaim stalls and allocation-failure splats across all nfsd threads; the same regression also produces the reported indefinite CLOSE hang.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 48aab1606fa80027143a445224f552b4eeea845b to < b3ee7ce432289deac87b9d14e01f2fe6958f7f0b (affected · git)48aab1606fa80027143a445224f552b4eeea845b to < 3e7f011c255582d7c914133785bbba1990441713 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND"
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3286024883675698332f4e07f19bd18bd16b3eb5aeade9be64826342a3e34990
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record