CVE-2026-90038 NFSD: Prevent client use-after-free during export state revocation
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Linux KernelDebianRed Hat
Description
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Prevent client use-after-free during export state revocation
nfsd4_revoke_export_states() has the same use-after-free as
nfsd4_revoke_states(): it drops nn->client_lock across
revoke_one_stid() and the following read of clp->cl_minorversion, but
the stateid reference it holds does not pin the client. A teardown
racing the dropped lock can free the client while revoke_one_stid()
still dereferences it.
exportfs -u drives this path through NFSD_CMD_UNLOCK_EXPORT, so an
administrator removing an export can race a client expiry.
Skip a client that is already expiring and otherwise pin it with
cl_rpc_users under client_lock before dropping the lock, matching
nfsd4_revoke_states().
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Linux kernel | < 7.2.5; < 7.3; = 7.2; >= 2eac189bb059d31a29937b29ee0f477394198610, < 2108de53568a64936a0da3e04d85c35df98d3fb6 +1 more | 7.2.5, 7.3, 2108de53568a64936a0da3e04d85c35df98d3fb6, c05ae58fe06ce2ac34312f649e71c3596bdde358 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux kernel | >= 2eac189bb059d31a29937b29ee0f477394198610, < c05ae58fe06ce2ac34312f649e71c3596bdde358 | c05ae58fe06ce2ac34312f649e71c3596bdde358 |
| Linux kernel | >= 2eac189bb059d31a29937b29ee0f477394198610, < 2108de53568a64936a0da3e04d85c35df98d3fb6 | 2108de53568a64936a0da3e04d85c35df98d3fb6 |
| Linux kernel | = 7.2 | No fix listed |
| Linux kernel | < 7.2.5 | 7.2.5 |
| Linux kernel | < 7.3 | 7.3 |
| redhat/kernel(Red Hat:rhel_els:6) | All versions | No fix listed |
References
- git.kernel.org
- git.kernel.org
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2535223 issue-tracking
- www.cve.org
- nvd.nist.gov
- git.kernel.org
- kernelcve.org
- Ubuntu CVE tracker vendor-advisory
- Debian Security Tracker CVE-2026-90038 vendor-advisory
- ENISA EUVD EUVD-2026-80646 third-party-advisory