In the Linux kernel, the following vulnerability has been resolved:
nfsd: block non-SAVEFH ops after FOREIGN PUTFH to prevent NULL deref
When CONFIG_NFSD_V4_2_INTER_SSC is enabled, nfsd4_putfh() can return success with fh_dentry and fh_export both NULL if fh_verify() returns nfserr_stale and putfh->no_verify is true. The NFSD4_FH_FOREIGN flag is set, but the compound dispatch loop only uses this flag to bypass the nfserr_nofilehandle check -- it does not prevent subsequent ops from running with a NULL fh_dentry.
A remote client can exploit this by crafting a COMPOUND that includes an inter-SSC COPY (which causes check_if_stalefh_allowed() to set no_verify=true on the saved PUTFH) with an additional op inserted between the source PUTFH and SAVEFH. For example, SETATTR calls fh_want_write() which dereferences fh_export->ex_path.mnt without calling fh_verify() first, causing a NULL pointer dereference in the nfsd kthread.
Fix this by gating the dispatch loop: when NFSD4_FH_FOREIGN is set and fh_dentry is NULL, only OP_SAVEFH (needed for the inter-SSC flow) and ops with ALLOWED_WITHOUT_FH (which don't need a resolved filehandle) may proceed. All other ops receive nfserr_stale, per RFC 7862 Section 15.2.3 which specifies that foreign filehandle validation is deferred to the consuming operation and NFS4ERR_STALE returned at that point.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-tools-debuginfoUpgrade bpftoolUpgrade bpftool-debuginfoUpgrade kernel-livepatch-5.10.270-271.1109Upgrade kernel-livepatch-5.15.221-157.262Upgrade kernelUpgrade python-perfUpgrade kernel-debuginfo-common-x86_64Upgrade python-perf-debuginfoUpgrade perf-debuginfoUpgrade kernel-develUpgrade kernel-debuginfoUpgrade kernel-headersUpgrade kernel-toolsUpgrade kernel-tools-develUpgrade kernel-debuginfo-common-aarch64Upgrade perf | Oct 19, 2026 | Oct 19, 2026 |
| Amazon_linux_2023 | — | Upgrade bpftoolUpgrade python3-perf-debuginfoUpgrade kernel-develUpgrade python3-perfUpgrade perfUpgrade kernel-modules-extraUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernelUpgrade kernel-tools-develUpgrade kernel-tools-debuginfoUpgrade perf-debuginfoUpgrade bpftool-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-modules-extra-commonUpgrade kernel-headersUpgrade kernel-toolsUpgrade kernel-livepatch-6.1.188-233.385 | Oct 13, 2026 | Sep 11, 2026 |
| Debian | — | Upgrade linuxUpgrade linux-6.12 | Sep 30, 2026 | Sep 11, 2026 |
| Redhat_linux | — | No solution exists | Sep 22, 2026 | Sep 11, 2026 |
| Ubuntu | — | Upgrade linux-oracle-5.15Upgrade linux-lowlatencyUpgrade linux-oem-7.0Upgrade linux-oracleUpgrade linux-nvidiaUpgrade linux-aws-fipsUpgrade linux-azure-5.15Upgrade linux-gkeUpgrade linuxUpgrade linux-intel-iotg-5.15Upgrade linux-aws-5.15Upgrade linux-riscvUpgrade linux-azure-fipsUpgrade linux-hwe-5.15Upgrade linux-riscv-7.0Upgrade linux-ibmUpgrade linux-gkeopUpgrade linux-azure-fde-5.15Upgrade linux-azure-fdeUpgrade linux-nvidia-tegra-5.15Upgrade linux-nvidia-tegraUpgrade linux-azureUpgrade linux-hwe-7.0Upgrade linux-riscv-5.15Upgrade linux-ibm-5.15Upgrade linux-gcp-5.15Upgrade linux-fipsUpgrade linux-realtimeUpgrade linux-nvidia-tegra-igxUpgrade linux-intel-iot-realtimeUpgrade linux-gcpUpgrade linux-awsUpgrade linux-intel-iotgUpgrade linux-kvmUpgrade linux-bluefieldUpgrade linux-lowlatency-hwe-5.15Upgrade linux-gcp-fips | Nov 3, 2026 | Sep 11, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Sep 21, 2026 | Sep 11, 2026 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub