nfsd: hold cl_lock in client_has_openowners()
- State
- Published
- Severity
- 9.8 Critical
- Published
- Nov 16, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 4eaea13425078272895ec37814c6878d78b8db9f to before ef656992099e2eaa85dda51c8065c65a2f6776c3 Affected4eaea13425078272895ec37814c6878d78b8db9f to before 41fc0b50b443096a65691b08259478f52540bc75 Affected4eaea13425078272895ec37814c6878d78b8db9f to before ea3d70a269976c443181c49d40a8101cb4ed4aa6 Affected4eaea13425078272895ec37814c6878d78b8db9f to before 7f6b35b5a5f7ac175c6cd1ab4d4f58fee21d59a4 Affected4eaea13425078272895ec37814c6878d78b8db9f to before 202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3 Affected4eaea13425078272895ec37814c6878d78b8db9f to before 540649cb8543472f6edfe9ae8b42c04aa3bd67e9 Affected4eaea13425078272895ec37814c6878d78b8db9f to before a596d1979fcb4e5011d3d48ac4d927f81c9c9cab Affected4eaea13425078272895ec37814c6878d78b8db9f to before 5336899b5491eaa2ac22c2925d87daab2b140eb3 Affected |
| Linux Linux | 4.4 Affectedbefore 4.4 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | Linux |
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.