{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-99310", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.407Z", "datePublished": "2026-11-16T09:59:33.310Z", "dateUpdated": "2026-11-23T08:01:15.341Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-11-23T08:01:15.341Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: hold cl_lock in client_has_openowners()\n\nclient_has_openowners() walks clp->cl_openowners and reads so_stateids\nwithout clp->cl_lock. nfs4_put_stateowner() unhashes that openowner under\ncl_lock and then frees it, so a concurrent EXCHANGE_ID with mismatched\ncreds can use-after-free the nfs4_openowner.\n\nBUG: KASAN: slab-use-after-free in client_has_state+0x10a/0x140\n fs/nfsd/nfs4state.c:3718 client_has_openowners()\n nfsd4_exchange_id\n nfsd4_proc_compound\n nfsd_dispatch\n svc_process\n\nTake clp->cl_lock while client_has_openowners() walks the openowner\nlist." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "scenarios": [ { "lang": "en", "value": "AV:N - An NFSv4.1 COMPOUND carrying OP_EXCHANGE_ID reaches client_has_openowners via svc_process, nfsd_dispatch, nfsd4_proc_compound, and nfsd4_exchange_id. The walk runs when find_confirmed_client_by_name hits a client whose cl_cred fails same_creds against the RPC cred (RFC 5661 case 3), while a concurrent OP_CLOSE frees that nfs4_openowner.\nAC:L - The attacker sends both sides on two TCP connections to nfsd: one AUTH_SYS uid does EXCHANGE_ID, CREATE_SESSION, and OPEN, then nfsd4_close frees the openowner through nfs4_free_ol_stateid and nfs4_put_stateowner, while a second uid's EXCHANGE_ID fails same_creds and enters client_has_openowners during that free.\nPR:N - Both the mismatched EXCHANGE_ID and the OPEN/CLOSE that allocate and free the nfs4_openowner are AUTH_SYS RPCs. svcauth_unix_set_client accepts a client-asserted cr_uid, and nfsd4_exchange_id case 3 only compares that uid, gid, and groups in same_creds. No GSS principal or capability is required.\nUI:N - The attacker itself sends EXCHANGE_ID, CREATE_SESSION, OPEN, CLOSE, and the second EXCHANGE_ID with a different cr_uid. No other user has to mount an export, open a file, or take any action.\nS:U - The dangling pointer is to an nfs4_openowner in the host kernel nfsd client state, used from nfsd4_exchange_id. Corruption stays in that kernel and does not cross a guest-to-host or sandbox boundary.\nC:H - client_has_openowners walks cl_openowners with list_for_each_entry and reads oo->oo_owner.so_stateids after nfs4_free_openowner has kmem_cache_free'd the nfs4_openowner back to openowner_slab. Reclaiming that slot makes the walk dereference attacker-controlled oo_perclient and so_stateids pointers.\nI:H - nfs4_put_stateowner unhashes and kmem_cache_frees the nfs4_openowner while client_has_openowners still dereferences it. Reusing the openowner_slab slot aliases sprayed bytes with oo_perclient, so_stateids, and the embedded so_ops function pointers, a heap write and control-flow primitive.\nA:H - KASAN reports a slab-use-after-free in client_has_openowners when the unlocked walk reads so_stateids of an nfs4_openowner already freed by nfs4_free_openowner. A poisoned or unmapped oo_perclient pointer oopses the nfsd thread and panics the kernel." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/nfsd/nfs4state.c" ], "versions": [ { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "ef656992099e2eaa85dda51c8065c65a2f6776c3", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "41fc0b50b443096a65691b08259478f52540bc75", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "ea3d70a269976c443181c49d40a8101cb4ed4aa6", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "7f6b35b5a5f7ac175c6cd1ab4d4f58fee21d59a4", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "540649cb8543472f6edfe9ae8b42c04aa3bd67e9", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "a596d1979fcb4e5011d3d48ac4d927f81c9c9cab", "status": "affected", "versionType": "git" }, { "version": "4eaea13425078272895ec37814c6878d78b8db9f", "lessThan": "5336899b5491eaa2ac22c2925d87daab2b140eb3", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/nfsd/nfs4state.c" ], "versions": [ { "version": "4.4", "status": "affected" }, { "version": "0", "lessThan": "4.4", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.275", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.226", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.193", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.163", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.117", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.61", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.3.2", "lessThanOrEqual": "7.3.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.4-rc1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "5.10.275" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "5.15.226" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "6.1.193" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "6.6.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "6.12.117" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "6.18.61" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "7.3.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4", "versionEndExcluding": "7.4-rc1" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/ef656992099e2eaa85dda51c8065c65a2f6776c3" }, { "url": "https://git.kernel.org/stable/c/41fc0b50b443096a65691b08259478f52540bc75" }, { "url": "https://git.kernel.org/stable/c/ea3d70a269976c443181c49d40a8101cb4ed4aa6" }, { "url": "https://git.kernel.org/stable/c/7f6b35b5a5f7ac175c6cd1ab4d4f58fee21d59a4" }, { "url": "https://git.kernel.org/stable/c/202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3" }, { "url": "https://git.kernel.org/stable/c/540649cb8543472f6edfe9ae8b42c04aa3bd67e9" }, { "url": "https://git.kernel.org/stable/c/a596d1979fcb4e5011d3d48ac4d927f81c9c9cab" }, { "url": "https://git.kernel.org/stable/c/5336899b5491eaa2ac22c2925d87daab2b140eb3" } ], "title": "nfsd: hold cl_lock in client_has_openowners()", "x_generator": { "engine": "bippy-1.2.0" } } } }