nfsd: hold cl_lock in client_has_openowners() (Linux Linux)

CVE-2026-99310
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.63 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < ef656992099e2eaa85dda51c8065c65a2f6776c3
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < 41fc0b50b443096a65691b08259478f52540bc75
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < ea3d70a269976c443181c49d40a8101cb4ed4aa6
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < 7f6b35b5a5f7ac175c6cd1ab4d4f58fee21d59a4
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < 202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < 540649cb8543472f6edfe9ae8b42c04aa3bd67e9
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < a596d1979fcb4e5011d3d48ac4d927f81c9c9cab
affected : ≥ 4eaea13425078272895ec37814c6878d78b8db9f < 5336899b5491eaa2ac22c2925d87daab2b140eb3
Other versions : unaffected
Linux · Linux
affected : 4.4
unaffected : ≥ 0 < 4.4
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD