---
id: CVE-2026-90038
title: |-
  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->clie…
summary: |-
  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->clie…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 2eac189bb059d31a29937b29ee0f477394198610 <
    c05ae58fe06ce2ac34312f649e71c3596bdde358
  - >-
    Linux >= 2eac189bb059d31a29937b29ee0f477394198610 <
    2108de53568a64936a0da3e04d85c35df98d3fb6
  - Linux 7.2
published: '2026-09-16'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:18:26.650'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90038'
references:
  - url: 'https://git.kernel.org/stable/c/2108de53568a64936a0da3e04d85c35df98d3fb6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c05ae58fe06ce2ac34312f649e71c3596bdde358'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-16T10:53:53.930Z'
epss: 0.00553
epssPercentile: 0.43847
---

## Overview

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().

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
