# CVE-2026-89705: nfsd: restore rq_status_counter to even on all nfsd_dispatch() exit paths

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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-02)
- Published: 2026-09-11T19:46:21.832Z
- Modified: 2026-10-21T13:20:21.773Z
- Assigned by: Linux

## Description

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

nfsd: restore rq_status_counter to even on all nfsd_dispatch() exit paths

nfsd_dispatch() sets rq_status_counter to an odd value once a request has
been decoded, and back to an even value once it has been fully processed,
forming a seq-lock like protocol with the lockless reader in
nfsd_nl_rpc_status_get_dumpit().

Only the fully successful path restored the counter to even. The cache-hit
(RC_REPLY), drop (RC_DROPIT / RQ_DROPME) and encode-error paths all return
after the odd-valued store without ever bringing the counter back to even.
Once one of those paths is taken, rq_status_counter is left odd: the next
request's decode ORs in 1 (still odd) and only a subsequent successful
encode restores even. While stuck odd, the dumpit reader treats the rqstp
fields as stable and its retry check compares against the same unchanging
odd value, so it never detects concurrent mutation. This exposes actively
mutating fields (e.g. args->ops / args->opcnt during compound decode and
release) to the lockless reader, which can read past the end of the
8-element inline ops array.

Add a helper that advances the counter to the next even value and call it
on every return path that follows the odd-valued store. The decode-error
path is left untouched as it is reached before the counter is set odd.

(As written by CVE List.)

## Affected

- Linux Linux: from bd9d6a3efa9709e653aafbeb859289feccb8e70c before 5773e00cc0f9e34983bd29ba2a607c6b14258e00; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before df5500ab85df661d9e4439e4c456787181fbd5ff; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before b08c30f08d57f30699d36809d92f0b683dca261f; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before f6045886fe3f14f269f683d64021b004a50d0efa; 6.7 (not affected: before 6.7; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/5773e00cc0f9e34983bd29ba2a607c6b14258e00>
- <https://git.kernel.org/stable/c/df5500ab85df661d9e4439e4c456787181fbd5ff>
- <https://git.kernel.org/stable/c/b08c30f08d57f30699d36809d92f0b683dca261f>
- <https://git.kernel.org/stable/c/f6045886fe3f14f269f683d64021b004a50d0efa>

## Sources

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

---

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