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 030B3183CB1 for ; Fri, 13 Sep 2024 05:31:35 +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=1726205496; cv=none; b=qFM6Ghg77EtgdQhI6JQgYItFyvPu6alsIVgsg3HmPzqrka0kKDt8RyJ2nsm6+5Vxl4UIlZptwaGg6AKu8PsSCjv+95pfbGJ3+5eCH8Xlytz4XpLV9Xm9EA1bPuWXWLZEwPqbd/2CFmIH086uZaHp/xAfcnslmYFcjyPjwG133dk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726205496; c=relaxed/simple; bh=PXbx7Xta6499Me0dmUlbwOyL1BlsT8EIyXhFf0KAEjU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eaT25t0UZ4pk+FvLhZWsetow+EWxbo7NS+HsqcYOe7gcp7gTsTeXUIPXqQTWqQ8elLyVYQfd7R4yWtDWFOpJ/KCR2UF2JtkOikZxnEGk2q+G9A1KAidhyT9VxXfYLuSo8Jt8EuLfPzYLcoe7vaXBEF0/UU6u60B5qiKMYSKOZDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZWYzvsTT; 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="ZWYzvsTT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3902CC4CEC0; Fri, 13 Sep 2024 05:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726205495; bh=PXbx7Xta6499Me0dmUlbwOyL1BlsT8EIyXhFf0KAEjU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZWYzvsTTNhKaNq1Mo5xzLc3Sdv0D6o0b8aF0cW8vPsls1leGyH3hh5xWKqkmsClAD 7FoVa4hLKoaMzRLbeeSE7PeybRtFKX7eF2nDXy0OOOyWQ/f0ahIOVYsw5Nog1Ktb6Z gEk/5dBk+vi6sYBwwxFOD7B+pPlAC771CklsrI8U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46696: nfsd: fix potential UAF in nfsd4_cb_getattr_release Date: Fri, 13 Sep 2024 07:30:57 +0200 Message-ID: <2024091340-CVE-2024-46696-a8c1@gregkh> X-Mailer: git-send-email 2.46.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=1753; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PXbx7Xta6499Me0dmUlbwOyL1BlsT8EIyXhFf0KAEjU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmPzzHq3W1wtKxIFNwxYQV38cG6Z1yltaGnl3yrezRNb 1Ze8pZJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9HcMCyZ8Lj9ZsqbUv0n6 4X1nm4JHHzR//GZY0Ml8pOC0/PYl1ZkGyrOX7pC71/h0JQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: nfsd: fix potential UAF in nfsd4_cb_getattr_release Once we drop the delegation reference, the fields embedded in it are no longer safe to access. Do that last. The Linux kernel CVE team has assigned CVE-2024-46696 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit c5967721e106 and fixed in 6.10.8 with commit e0b66698a5ae Issue introduced in 6.9 with commit c5967721e106 and fixed in 6.11-rc6 with commit 1116e0e372eb 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-2024-46696 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/e0b66698a5ae41078f7490e8b3527013f5fccd6c https://git.kernel.org/stable/c/1116e0e372eb16dd907ec571ce5d4af325c55c10