# CVE-2026-99310: nfsd: hold cl_lock in client_has_openowners()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-11-16T09:59:33.310Z
- Modified: 2026-11-23T08:17:36.117Z
- Assigned by: Linux

## Description

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

nfsd: hold cl_lock in client_has_openowners()

client_has_openowners() walks clp->cl_openowners and reads so_stateids
without clp->cl_lock. nfs4_put_stateowner() unhashes that openowner under
cl_lock and then frees it, so a concurrent EXCHANGE_ID with mismatched
creds can use-after-free the nfs4_openowner.

BUG: KASAN: slab-use-after-free in client_has_state+0x10a/0x140
  fs/nfsd/nfs4state.c:3718 client_has_openowners()
  nfsd4_exchange_id
  nfsd4_proc_compound
  nfsd_dispatch
  svc_process

Take clp->cl_lock while client_has_openowners() walks the openowner
list.

(As written by CVE List.)

## Affected

- Linux Linux: from 4eaea13425078272895ec37814c6878d78b8db9f before ef656992099e2eaa85dda51c8065c65a2f6776c3; from 4eaea13425078272895ec37814c6878d78b8db9f before 41fc0b50b443096a65691b08259478f52540bc75; from 4eaea13425078272895ec37814c6878d78b8db9f before ea3d70a269976c443181c49d40a8101cb4ed4aa6; from 4eaea13425078272895ec37814c6878d78b8db9f before 7f6b35b5a5f7ac175c6cd1ab4d4f58fee21d59a4; from 4eaea13425078272895ec37814c6878d78b8db9f before 202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3; from 4eaea13425078272895ec37814c6878d78b8db9f before 540649cb8543472f6edfe9ae8b42c04aa3bd67e9; from 4eaea13425078272895ec37814c6878d78b8db9f before a596d1979fcb4e5011d3d48ac4d927f81c9c9cab; from 4eaea13425078272895ec37814c6878d78b8db9f before 5336899b5491eaa2ac22c2925d87daab2b140eb3; 4.4 (not affected: before 4.4; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/ef656992099e2eaa85dda51c8065c65a2f6776c3>
- <https://git.kernel.org/stable/c/41fc0b50b443096a65691b08259478f52540bc75>
- <https://git.kernel.org/stable/c/ea3d70a269976c443181c49d40a8101cb4ed4aa6>
- <https://git.kernel.org/stable/c/7f6b35b5a5f7ac175c6cd1ab4d4f58fee21d59a4>
- <https://git.kernel.org/stable/c/202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3>
- <https://git.kernel.org/stable/c/540649cb8543472f6edfe9ae8b42c04aa3bd67e9>
- <https://git.kernel.org/stable/c/a596d1979fcb4e5011d3d48ac4d927f81c9c9cab>
- <https://git.kernel.org/stable/c/5336899b5491eaa2ac22c2925d87daab2b140eb3>

## Sources

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

---

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