Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D70E24FB9AF for ; Wed, 16 Sep 2026 10:45:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555519; cv=none; b=ps4syDeva8ONOlxCMWlOghvDkfMNLufpS+tyfjNsPfyeli6mLbu3OMuI47hw9vYlDT/PvUl4IQnm3udo9KNJDbS9kcns9q2bA8BdePdZmEIzgG1DOWisI8A3NR8OlkCQYk2AIprgM1c1UtHzQ6WVmnjFgarkEjDNjdzGT+rw+QM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555519; c=relaxed/simple; bh=kq/EFSTF/tAU/Ygmy00hcb/IU8enl+EEh5348nt8F1Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sgtFzNabJo/dHIFCHQU0XVxvmsPrSTaseOzFB7DgrHMYwVmmR4C4D4g8irohrSK4H8yHzZZP/JXJe+8x6w5zOMUhT6pd96K2UMYT70HvntsiNmNzt/iBCoi71sTlnSbc29xKzx1Dxy3SrsU/uUdHQWfWb1pAV1LxvOzjD7ktk7o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rgiUzxgW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rgiUzxgW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A43C81F00898; Wed, 16 Sep 2026 10:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555505; bh=11cZlNHJ3ce31IJLO/fml8e0TXXhEqIURr0JP9K9T2A=; h=From:To:Cc:Subject:Date:Reply-To; b=rgiUzxgW79HNYiFNGr65wwZTm+YYGGBqwzZKSA3Y5BEiWtR44e7/AcLpDZCLx1yDn fD9Ge/nHjL6VKM1es2aDWaqDXF1ynhDWSVQ5XvwnpHxUcoJZi7m+NcGdnFHPkANZfS OpAXADWH7G+iZ1NrgwwP3BEwkSUb4F2yB9jyGbec= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90038: NFSD: Prevent client use-after-free during export state revocation Date: Wed, 16 Sep 2026 11:32:48 +0100 Message-ID: <2026091607-CVE-2026-90038-c5e5@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2406; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HGywxb2202Q5rvzmqTrttZYCKZIfmD6h3C6hQz1apQA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8te7aiy9vieGu6GfR3KWw8z8ize/zfGR3O3L3s0bP tM941N8RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkgSfD/Joi5udGep8rjW+f XXXJUUZ3XcIkE4YFs0u53TN3/P8x12D6puTjrid69MLZAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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(). The Linux kernel CVE team has assigned CVE-2026-90038 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit 2eac189bb059d31a29937b29ee0f477394198610 and fixed in 7.2.5 with commit c05ae58fe06ce2ac34312f649e71c3596bdde358 Issue introduced in 7.2 with commit 2eac189bb059d31a29937b29ee0f477394198610 and fixed in 7.3-rc1 with commit 2108de53568a64936a0da3e04d85c35df98d3fb6 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90038 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/nfsd/nfs4state.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/c05ae58fe06ce2ac34312f649e71c3596bdde358 https://git.kernel.org/stable/c/2108de53568a64936a0da3e04d85c35df98d3fb6