Skip to content
OpenAdvisories
Unscored CVE-2026-99310 EUVD-2026-126216GHSA-2g5x-xxw3-8949

nfsd: hold cl_lock in client_has_openowners()

Published Nov 16, 2026 · 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.

Affected products

VendorProductAffectedFixed
Linux Linux 4.4 6.12.117

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux No fix yet —
Debian 13 linux 6.12.117-1 —
Debian 12 linux No fix yet —

Advisories 1

References