From mboxrd@z Thu Jan 1 00:00:00 1970 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 0A1F43822B1 for ; Sat, 15 Aug 2026 06:34:34 +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=1786775675; cv=none; b=GuWhlynq89y/DmPnn/P4epeUSnuDD3Bc+9FCYZIUmvOLMSrY08GWISUs/J1Cu2J4MGUBbRDlZlAsBfff5DStRQiRoJo38aJ3U3g83ZWQpoYDUipswsv9vXk7n8WhC2oqJBkJjxlo1DlR8rsHk4QLdM7kLX9nVqQnK6LfQSp1qP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775675; c=relaxed/simple; bh=ubvxX/024kkes++Tc24XOaV7gF6gw687KB6G/Si5V0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KKkPNkasPaYHH+Vl4MrA5EXsVGHtDyEmlJpDmaIAb1EdOJdDYpymNHYE2ZuwR+hGSQmo7FFVxWciRJ6lM52cFv2gNSKIkJ1VrNuvxGg8XGxEhk8xmDjXmxwIib1gWYHLtg6zUrdQuupyk7il46nUkP88+lzFi0lduoGpGMIRH8g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rtQARIGW; 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="rtQARIGW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 621151F000E9; Sat, 15 Aug 2026 06:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775673; bh=S1RvUubQX1dqjdFDFcJC6WyUkN9b2t6ldeVChvIDa58=; h=From:To:Cc:Subject:Date:Reply-To; b=rtQARIGW+Xw+pta4KibX+fCGSRyQfXBa7V9uYwbIcgJRFxS6VdSPBtDLQH8W7FJ4/ Crk1Rzek8Gqx6OxjSU+RFwgLnJRpAX75niafOnWY9fVJvMHGIt4+AQKSAnkRuDRxyC DyAw5GqdLUm2NSS135Wwm1ZDLOZHd85dWtYy73x8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74316: NFSD: Handle layout stid in nfsd4_drop_revoked_stid() Date: Sat, 15 Aug 2026 15:10:43 +0900 Message-ID: <2026081552-CVE-2026-74316-fa96@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=2810; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kXWnGqp1IHVVJYBYImlYzuH2aqnuhw09xEPhkGnD2TE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjLzz7npU1X9asOVx1RUnnYOBOz+l/ZZ7xCk5z9PjT t/G2sLyjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI/nCGefqr7RZvq+dhOHPV sNx653+u14I5eQzzk8wfyac/l1OobyybanUvyl302XwNAA== 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: Handle layout stid in nfsd4_drop_revoked_stid() nfsd4_drop_revoked_stid() has no SC_TYPE_LAYOUT case, so when a client sends FREE_STATEID for an admin-revoked layout stid, the default branch releases cl_lock and returns without unhashing or releasing the stid. The stid remains in the IDR and on the per-client list until the client is destroyed. Remove the layout stid from the per-client list and call nfs4_put_stid() to drop the creation reference. When the refcount reaches zero, nfsd4_free_layout_stateid() handles the remaining cleanup: cancelling the fence worker, removing from the per-file list, and freeing the slab object. The Linux kernel CVE team has assigned CVE-2026-74316 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 1e33e1414bec54a4feafa9e67e2617031be0afe2 and fixed in 6.12.97 with commit 7ed62f7040ee182cf7dea5798f9e114235b31dae Issue introduced in 6.9 with commit 1e33e1414bec54a4feafa9e67e2617031be0afe2 and fixed in 6.18.40 with commit da6f86ff4f2dd490bea52419a49e19680efd5847 Issue introduced in 6.9 with commit 1e33e1414bec54a4feafa9e67e2617031be0afe2 and fixed in 7.1.5 with commit 8024028ef91616cf91cc669f2446a0406bc0ba19 Issue introduced in 6.9 with commit 1e33e1414bec54a4feafa9e67e2617031be0afe2 and fixed in 7.2-rc1 with commit 86b9898920a6d02b4149f4fef9efd77b8aa3b9ca 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-74316 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/7ed62f7040ee182cf7dea5798f9e114235b31dae https://git.kernel.org/stable/c/da6f86ff4f2dd490bea52419a49e19680efd5847 https://git.kernel.org/stable/c/8024028ef91616cf91cc669f2446a0406bc0ba19 https://git.kernel.org/stable/c/86b9898920a6d02b4149f4fef9efd77b8aa3b9ca