CVE-2026-99310
nfsd: hold cl_lock in client_has_openowners()
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 4eaea13425078272895ec37814c6878d78b8db9f to < 202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3; affected: 4eaea13425078272895ec37814c6878d78b8db9f to < 540649cb8543472f6edfe9ae8b42c04aa3bd67e9; affected: 4eaea13425078272895ec37814c6878d78b8db9f to < a596d1979fcb4e5011d3d48ac4d927f81c9c9cab; affected: 4eaea13425078272895ec37814c6878d78b8db9f to < 5336899b5491eaa2ac22c2925d87daab2b140eb3 | See vendor advisory |
| LinuxLinux | affected: 4.4; unaffected: 0 to < 4.4; unaffected: 6.12.117 to ≤ 6.12.*; unaffected: 6.18.61 to ≤ 6.18.*; unaffected: 7.3.2 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99310
- 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