# CVE-2026-89690: nfsd: defer vfree of compound ops to fix rpc_status UAF

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-11T19:46:10.632Z
- Modified: 2026-10-19T09:18:07.500Z
- Assigned by: Linux

## Description

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

nfsd: defer vfree of compound ops to fix rpc_status UAF

The rpc_status netlink dumpit walks every in-flight svc_rqst under
rcu_read_lock and, for NFSv4 requests, reads opnums out of
args->ops[]. But args->ops is a separate vmalloc buffer freed
synchronously by vfree() in nfsd4_release_compoundargs() at the end
of every compound. The dumpit's rcu_read_lock pins the svc_rqst
struct itself (freed via kfree_rcu), but nothing defers the vfree
of the ops buffer across the RCU grace period. A concurrent compound
completion can therefore free the buffer while the dumpit is reading
it — a use-after-free on vmalloc memory.

The trailing seqcount recheck (smp_load_acquire of rq_status_counter)
cannot undo a load that already retired against freed memory.

Fix by replacing vfree(args->ops) with kvfree_rcu_mightsleep(), which
defers the free until after an RCU grace period. This makes the
existing rcu_read_lock in the dumpit sufficient to protect the read.
The tradeoff is that completed compound ops buffers (up to
200 * sizeof(struct nfsd4_op)) persist in memory slightly longer,
across one grace period, before being reclaimed.

(As written by CVE List.)

## Affected

- Linux Linux: from bd9d6a3efa9709e653aafbeb859289feccb8e70c before 48f72aff24f7a7329209dc6cbc27c869f3e3595c; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before 6703199f4d7e7f37d6a726a849eb358e8fae72fb; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before 19413ccc45070a7270b9e25c2a258daf7f91de42; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before fca26a3fc19ed02278aa2a150af82d43db0302cb; 6.7 (not affected: before 6.7; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/48f72aff24f7a7329209dc6cbc27c869f3e3595c>
- <https://git.kernel.org/stable/c/6703199f4d7e7f37d6a726a849eb358e8fae72fb>
- <https://git.kernel.org/stable/c/19413ccc45070a7270b9e25c2a258daf7f91de42>
- <https://git.kernel.org/stable/c/fca26a3fc19ed02278aa2a150af82d43db0302cb>

## Sources

- CVE List: [CVE-2026-89690](https://www.cve.org/CVERecord?id=CVE-2026-89690), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89690](https://nvd.nist.gov/vuln/detail/CVE-2026-89690), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89690 · Whole record: https://cve.day/CVE-2026-89690.json · Rebuilt by cve.day 2026-11-25T22:59:38.114Z
