nfsd: revoke copy-notify stateids before dropping their reference
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 13 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: nfsd: revoke copy-notify stateids before dropping their reference Copy-notify stateids live in the s2s_cp_stateids IDR and on their parent stid's sc_cp_list, pinned by a single membership reference. _free_cpntf_state_locked() only unlinks an entry once its refcount reaches zero, so any revoke path that runs while a concurrent find_cpntf_state()/manage_cpntf_state() holder has elevated cs_count drops the reference without unlinking, leaving the entry discoverable with its membership reference already consumed. A second revoke or a laundromat tick then frees it while the reader still holds the pointer -- a KASAN-detectable use-after-free at the reader's nfs4_put_cpntf_state(). This affected all three revoke paths: - The parent-stid drain (nfs4_free_cpntf_statelist()) repeatedly called _free_cpntf_state_locked() on the first list entry; a holder that had bumped cs_count made it return early, so the next iteration re-decremented and burned the holder's reference. - OFFLOAD_CANCEL (manage_cpntf_state()) and laundromat expiry likewise used _free_cpntf_state_locked() and could drop 2->1 without unlinking. Add revoke_cpntf_state_locked(), which unhashes the entry from the IDR and sc_cp_list first (deferring the final free to any holder), and use it from all three revoke paths. The drain now walks with list_for_each_entry_safe() and revokes each entry unconditionally, so it terminates in one pass per entry regardless of cs_count. The unhash is gated on !list_empty(&cps->cp_list); the idr_remove() gate matters because idr_alloc_cyclic() may have recycled the so_id by then. Keep _free_cpntf_state_locked() for the reference-holder put path only, where a concurrent revoke may already have unlinked the entry (its list_del_init() then a no-op).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
Red Hat 3 advisories
- RHSA-2026:89197 Released 2026-10-27 · Red Hat rating CriticalOpenShift Container Platform 4.22.20 bug fix and security update
- Red Hat OpenShift Container Platform 4.22 rhcos-aarch64-4.22.9.8.202610241758-0, rhcos-ppc64le-4.22.9.8.202610241758-0, rhcos-s390x-4.22.9.8.202610241758-0 +1
- RHSA-2026:77689 Released 2026-10-08 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-687.56.1.el9_8, kernel-64k-debug-devel-matched-5.14.0-687.56.1.el9_8, kernel-64k-devel-5.14.0-687.56.1.el9_8 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-687.56.1.el9_8, kernel-64k-5.14.0-687.56.1.el9_8, kernel-64k-core-5.14.0-687.56.1.el9_8 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-687.56.1.el9_8, libperf-5.14.0-687.56.1.el9_8
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-687.56.1.el9_8, kernel-rt-64k-5.14.0-687.56.1.el9_8, kernel-rt-64k-core-5.14.0-687.56.1.el9_8 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-687.56.1.el9_8, kernel-rt-core-5.14.0-687.56.1.el9_8, kernel-rt-debug-5.14.0-687.56.1.el9_8 +9
- RHSA-2026:77690 Released 2026-10-08 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- 10Base-SMTV kernel-modules-internal-6.12.0-211.64.1.el10_2
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.64.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.64.1.el10_2, kernel-64k-devel-6.12.0-211.64.1.el10_2 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.64.1.el10_2, kernel-64k-6.12.0-211.64.1.el10_2, kernel-64k-core-6.12.0-211.64.1.el10_2 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.64.1.el10_2, libperf-6.12.0-211.64.1.el10_2
- Red Hat Enterprise Linux Hidden (v. 10) kernel-modules-internal-6.12.0-211.64.1.el10_2
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.64.1.el10_2, kernel-rt-64k-6.12.0-211.64.1.el10_2, kernel-rt-64k-core-6.12.0-211.64.1.el10_2 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.64.1.el10_2, kernel-rt-core-6.12.0-211.64.1.el10_2, kernel-rt-debug-6.12.0-211.64.1.el10_2 +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| 10Base-SMTV | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:77689 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:77689 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:77689 |
| Red Hat Enterprise Linux Hidden (v. 10) | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:77689 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:77690 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:77689 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:89197 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-89663
- 2026-10-03 Alias added: GHSA-7jrm-g6vx-3834
- 2026-10-09 Fix available: RHSA-2026:77689 · Red Hat
- 2026-10-09 Fix available: RHSA-2026:77690 · Red Hat
- 2026-10-09 Fix available: 10Base-SMTV, Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 9) +9 · Red Hat
- 2026-10-19 Fix available: Linux/[email protected] · CNA
- 2026-10-28 Fix available: Red Hat OpenShift Container Platform 4.22 · Red Hat
- 2026-10-29 Fix available: RHSA-2026:89197 · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d
- https://git.kernel.org/stable/c/06a62f6dbc60791f4229c6950b1eec6b18df9af1
- https://git.kernel.org/stable/c/a1fca0f7bbb7b100a39c7ba8dd7922c87c4237a3
- https://git.kernel.org/stable/c/caddbeffab1eaba1d2bcf5ceda35547863466705
- https://git.kernel.org/stable/c/6b8149448cdcb476fba4559d1ecc247efee9971b
- https://git.kernel.org/stable/c/b56d2c5f01cddbeca7d11cce81d97db4ec9a464f
- https://git.kernel.org/stable/c/ff8a3cff02b92b2a82f1a9876038fcf953ae9c25
- https://git.kernel.org/stable/c/3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-89663 · CVE Program
- CVE-2026-89663 · NVD
- FIRST EPSS
- GHSA-7jrm-g6vx-3834 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-89663 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences