# CVE-2026-89696: nfsd: block non-SAVEFH ops after FOREIGN PUTFH to prevent NULL deref

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-26)
- **Published:** 2026-09-11T19:46:15.030Z
- **Modified:** 2026-10-19T09:18:08.133Z

## Who should check

- Anyone running Linux \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< ffdc844e673d2bcb2af8c8c3eef8cdea59d0bf32; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 00c84f4eec715e501efc080a5670114189e42507; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 2d9846fd1c767920fddd4bde30eb35cd2969df13; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 977e6f006a7a3ffc4216ae6034f768f8de6fd138; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 35f248bd40b47b229d4999581df45b97daadd977; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 311f7d926630940650447cbd1c932b076b40a6c4; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< bf4d338dc8625d70c7f2cb0657d66851a7ac9154; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< c59738a00aa51b16adc1b5ceb7c80877168efb4d
- Anyone running Linux 5.6

## Description

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.

## Affected and fixed versions

- Linux: \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< ffdc844e673d2bcb2af8c8c3eef8cdea59d0bf32; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 00c84f4eec715e501efc080a5670114189e42507; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 2d9846fd1c767920fddd4bde30eb35cd2969df13; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 977e6f006a7a3ffc4216ae6034f768f8de6fd138; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 35f248bd40b47b229d4999581df45b97daadd977; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 311f7d926630940650447cbd1c932b076b40a6c4; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< bf4d338dc8625d70c7f2cb0657d66851a7ac9154; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< c59738a00aa51b16adc1b5ceb7c80877168efb4d (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89696. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89696.md
Affected: Linux >= b9e8638e3d9ed8334f1f7071e081860aac37e83e, < ffdc844e673d2bcb2af8c8c3eef8cdea59d0bf32; >= b9e8638e3d9ed8334f1f7071e081860aac37e83e, < 00c84f4eec715e501efc080a5670114189e42507; >= b9e8638e3d9ed8334f1f7071e081860aac37e83e, < 2d9846fd1c767920fddd4bde30eb35cd2969df13; >= b9e8638e3d9ed8334f1f707…
Fixed in: Linux 00c84f4eec715e501efc080a5670114189e42507, Linux 2d9846fd1c767920fddd4bde30eb35cd2969df13, Linux 977e6f006a7a3ffc4216ae6034f768f8de6fd138, Linux 35f248bd40b47b229d4999581df45b97daadd977, Linux 311f7d926630940650447cbd1c932b076b40a6c4

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.
```

## FAQ

### Is CVE-2026-89696 being exploited?

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

### How serious is CVE-2026-89696?

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

### Which versions are affected by CVE-2026-89696?

Linux \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< ffdc844e673d2bcb2af8c8c3eef8cdea59d0bf32; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 00c84f4eec715e501efc080a5670114189e42507; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 2d9846fd1c767920fddd4bde30eb35cd2969df13; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 977e6f006a7a3ffc4216ae6034f768f8de6fd138; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 35f248bd40b47b229d4999581df45b97daadd977; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< 311f7d926630940650447cbd1c932b076b40a6c4; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< bf4d338dc8625d70c7f2cb0657d66851a7ac9154; \>= b9e8638e3d9ed8334f1f7071e081860aac37e83e, \< c59738a00aa51b16adc1b5ceb7c80877168efb4d; Linux 5.6.

### Is there a fix for CVE-2026-89696?

Yes. Fixed in Linux 00c84f4eec715e501efc080a5670114189e42507, Linux 2d9846fd1c767920fddd4bde30eb35cd2969df13, Linux 977e6f006a7a3ffc4216ae6034f768f8de6fd138, Linux 35f248bd40b47b229d4999581df45b97daadd977, Linux 311f7d926630940650447cbd1c932b076b40a6c4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89696?

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.

## References

- other: <https://git.kernel.org/stable/c/ffdc844e673d2bcb2af8c8c3eef8cdea59d0bf32>
- other: <https://git.kernel.org/stable/c/00c84f4eec715e501efc080a5670114189e42507>
- other: <https://git.kernel.org/stable/c/2d9846fd1c767920fddd4bde30eb35cd2969df13>
- other: <https://git.kernel.org/stable/c/977e6f006a7a3ffc4216ae6034f768f8de6fd138>
- other: <https://git.kernel.org/stable/c/35f248bd40b47b229d4999581df45b97daadd977>
- other: <https://git.kernel.org/stable/c/311f7d926630940650447cbd1c932b076b40a6c4>
- other: <https://git.kernel.org/stable/c/bf4d338dc8625d70c7f2cb0657d66851a7ac9154>
- other: <https://git.kernel.org/stable/c/c59738a00aa51b16adc1b5ceb7c80877168efb4d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89696>

HTML: <https://flawdb.com/CVE-2026-89696> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89696>
