# CVE-2026-89676: nfsd: fix stale s2s\_cp\_stateids IDR entry for async COPY

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **Published:** 2026-09-11T19:46:00.382Z
- **Modified:** 2026-10-30T13:20:25.820Z

## Who should check

- Anyone running Linux \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 745b2edfdd96b8738a94dee450adff4c7d026d5b; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< bdce362f49410b9def65d76c21f6259cd89696d8; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 7aa34ea78f74e6ef60c8112635a87fc43d57f6c9; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 9b4e5e9ba5ae13808b8a6d229d87c54611ba0e7a; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 14b978e8d05ce018d0afbeb6611833ef91713a02; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< d0beaee498e11880e72826026db0e9c9890fc114
- Anyone running Linux 4.20

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfsd: fix stale s2s\_cp\_stateids IDR entry for async COPY

For an async COPY, nfsd4\_copy() called nfs4\_init\_copy\_state() before
dup\_copy\_fields(), so the s2s\_cp\_stateids IDR was pointed at
&u-\>copy-\>cp\_stateid -- memory in the per-rqstp COMPOUND buffer that is
reused by the next request. dup\_copy\_fields() copies only the value into
async\_copy, so the IDR slot dangled at the transient buffer for the whole
background copy. Any IDR walker then dereferences reused request memory:
the laundromat reads cs\_type from it and, if the bytes look like an
expired NFS4\_COPYNOTIFY\_STID, follows into
refcount\_dec()/idr\_remove()/kfree() on garbage; manage\_cpntf\_state() has
the same exposure via idr\_find().

Duplicate the fields first, then register the stateid on the stable
async\_copy. result-\>cb\_stateid is unchanged.

## Affected and fixed versions

- Linux: \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 745b2edfdd96b8738a94dee450adff4c7d026d5b; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< bdce362f49410b9def65d76c21f6259cd89696d8; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 7aa34ea78f74e6ef60c8112635a87fc43d57f6c9; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 9b4e5e9ba5ae13808b8a6d229d87c54611ba0e7a; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 14b978e8d05ce018d0afbeb6611833ef91713a02; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< d0beaee498e11880e72826026db0e9c9890fc114 (cvelist)
- Linux: 4.20 (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-89676. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89676.md
Affected: Linux >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 745b2edfdd96b8738a94dee450adff4c7d026d5b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < bdce362f49410b9def65d76c21f6259cd89696d8; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 7aa34ea78f74e6ef60c8112635a87fc43d57f6c9; >= e0639dc5805a9d4faaa2c07…
Fixed in: Linux 745b2edfdd96b8738a94dee450adff4c7d026d5b, Linux 7aa34ea78f74e6ef60c8112635a87fc43d57f6c9, Linux 9b4e5e9ba5ae13808b8a6d229d87c54611ba0e7a, Linux 14b978e8d05ce018d0afbeb6611833ef91713a02

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-89676 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 745b2edfdd96b8738a94dee450adff4c7d026d5b; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< bdce362f49410b9def65d76c21f6259cd89696d8; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 7aa34ea78f74e6ef60c8112635a87fc43d57f6c9; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 9b4e5e9ba5ae13808b8a6d229d87c54611ba0e7a; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< 14b978e8d05ce018d0afbeb6611833ef91713a02; \>= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, \< d0beaee498e11880e72826026db0e9c9890fc114; Linux 4.20.

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

Yes. Fixed in Linux 745b2edfdd96b8738a94dee450adff4c7d026d5b, Linux 7aa34ea78f74e6ef60c8112635a87fc43d57f6c9, Linux 9b4e5e9ba5ae13808b8a6d229d87c54611ba0e7a, Linux 14b978e8d05ce018d0afbeb6611833ef91713a02. No fix listed yet: follow the vendor advisory.

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

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/745b2edfdd96b8738a94dee450adff4c7d026d5b>
- other: <https://git.kernel.org/stable/c/bdce362f49410b9def65d76c21f6259cd89696d8>
- other: <https://git.kernel.org/stable/c/7aa34ea78f74e6ef60c8112635a87fc43d57f6c9>
- other: <https://git.kernel.org/stable/c/9b4e5e9ba5ae13808b8a6d229d87c54611ba0e7a>
- other: <https://git.kernel.org/stable/c/14b978e8d05ce018d0afbeb6611833ef91713a02>
- other: <https://git.kernel.org/stable/c/d0beaee498e11880e72826026db0e9c9890fc114>

## 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-89676>

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