Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A9BE1285047 for ; Wed, 18 Jun 2025 09:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750238987; cv=none; b=Fc4NrXUqLkfx5ns3XkUTedxEtovKBMZTHqt268kwtLmMcsCthvHQuxkGAD4QLBph2Akz/4Fxo4xMooHh1uJRV8b8g+rK1ZuGauZ9bZw+rqEyTNetiYI6ug+/2+eudv1+hoyeCB0HdCGbVsM2WYh16IVFmqgc/A7hozpb5AUKinc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750238987; c=relaxed/simple; bh=2CavoQqEqAzcZqd/5mwzfyWHQXdvgWmJEi0GrUvXI60=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K7r5z3iLCFNGdHcR3iFUYjyPjR0OS9BJ+v3aSGMTVuHonspVJF1M7cLUNYzxOAyB3Y/lqbzjzJ8UJAvlji7iaAvafZ5tDDzd84yI2v8ToGSDdAixa9q9KysmC+UiQsz5iJiK9ZBiqoEn1FvrD3UFz+wJxn4+d1xAMCezJDFQKsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uPLhGGyS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uPLhGGyS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15909C4CEE7; Wed, 18 Jun 2025 09:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750238987; bh=2CavoQqEqAzcZqd/5mwzfyWHQXdvgWmJEi0GrUvXI60=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uPLhGGySKFl6v4H55STx7mlsvmOyEiEB6maJGG46ahRwI8gxUtOyiX9egvtUCupCE D/ErLoqtA8Cl82noEYu9XTpvZkOF3gr9Wz1AQ+dN7dShMxzehZkOzBUTC9eXY+HN38 biT+IAmyEedIBmyutxWoEUtF+nHYdd+t2ocsdYpQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38028: NFS/localio: Fix a race in nfs_local_open_fh() Date: Wed, 18 Jun 2025 11:29:02 +0200 Message-ID: <2025061848-CVE-2025-38028-41ef@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1955; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1paT7ETmNCZevMkLKZRHfeWZXQ2f8bD9EmVBKTIktG0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBbRfD7vAs2ZIumOgg4KSUnX2AvSH0pmpVUhvvbsv1H YFNwqs6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCIZVgwLOiq23712uOh0q1nb piaXVSFdMww3MswzfrCJeeXN1Q4sN2ODW5kni8bEX2oAAA== 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: NFS/localio: Fix a race in nfs_local_open_fh() Once the clp->cl_uuid.lock has been dropped, another CPU could come in and free the struct nfsd_file that was just added. To prevent that from happening, take the RCU read lock before dropping the spin lock. The Linux kernel CVE team has assigned CVE-2025-38028 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 86e00412254a717ffd5d38dc5ec0ee1cce6281b3 and fixed in 6.14.8 with commit 185a2f2ddabdcf999823f61de67f86376883920d Issue introduced in 6.14 with commit 86e00412254a717ffd5d38dc5ec0ee1cce6281b3 and fixed in 6.15 with commit fa7ab64f1e2fdc8f2603aab8e0dd20de89cb10d9 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-2025-38028 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/nfs/localio.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/185a2f2ddabdcf999823f61de67f86376883920d https://git.kernel.org/stable/c/fa7ab64f1e2fdc8f2603aab8e0dd20de89cb10d9