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 164C71F130C for ; Fri, 27 Dec 2024 14:24:10 +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=1735309451; cv=none; b=FCqNMiN61l5kW3NkiRiAjgGqCiTA5Yk66KOVZdeFnOsTmjlInkHn2MyY1n4x7+SRY0L8JMmhknAuwttTM+zPbxos5HT+LXyZyW0tdm9ziH4sjWXW7WMKhtEJQYN0HW+144tJJ1dFwKITj6RoRCDF5OQym74yFWPECTbXmPzRUa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735309451; c=relaxed/simple; bh=YOfrqNCWku2MBmQ41X3pHTpslZJxZZtt0VDY0CaMuK0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pstVE6pgW/bgMNW+zmQpoe8c+ZjjwqZ5JySBURc7PAeGiGntOXwhI/cMQFYw7FkjUs/qzRnV4e7JqrZj10TggcApeAX1mGG4zkUm4ZGnRv8BDz+p0bOEVWVFFVM8LhP2wKtLl7sx5W9VofmXdoNrz/eIqjez98v7AyIW84wxUVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0yuTishU; 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="0yuTishU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19599C4CED0; Fri, 27 Dec 2024 14:24:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735309450; bh=YOfrqNCWku2MBmQ41X3pHTpslZJxZZtt0VDY0CaMuK0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0yuTishUSI/vhUdCSM/p7+S8yxVkA0vhcnr8/ATNEOZrHTGs+T0HFHUUbLIG+JNjW kVAeAT5TB27d7C4RUzB3CD8NorUFtH2SX4tllOdZPqEfSI38kWGDx4A05M7TeHE2bS HO1Qe6aAhwOMEO1bczuc2G74UByT+Ba3/On2rvk8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56570: ovl: Filter invalid inodes with missing lookup function Date: Fri, 27 Dec 2024 15:23:21 +0100 Message-ID: <2024122716-CVE-2024-56570-7580@gregkh> X-Mailer: git-send-email 2.47.1 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=2559; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YOfrqNCWku2MBmQ41X3pHTpslZJxZZtt0VDY0CaMuK0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5O0KsrDhFeW0Wee1rDNA3dxNe7/JoGptc9tSN77V5z fU944M6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJJKQwLNtlvclRc5WYn0L8q 13bL09ojbwTjGOY7qzgotzuoGChu0Np0uLH66uLPmfIA 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: ovl: Filter invalid inodes with missing lookup function Add a check to the ovl_dentry_weird() function to prevent the processing of directory inodes that lack the lookup function. This is important because such inodes can cause errors in overlayfs when passed to the lowerstack. The Linux kernel CVE team has assigned CVE-2024-56570 to this issue. Affected and fixed versions =========================== Fixed in 5.4.287 with commit f9248e2f73fb4afe08324485e98c815ac084d166 Fixed in 5.10.231 with commit 5f86e79c0b2287ffdabe6c1b305a36c4e0f40fe3 Fixed in 5.15.174 with commit 749eac5a6687ec99116e0691d0d71225254654e3 Fixed in 6.1.120 with commit ff43d008bbf9b27ada434d6455f039a5ef6cee53 Fixed in 6.6.64 with commit 065bf5dd21639f80e68450de16bda829784dbb8c Fixed in 6.12.4 with commit 72014e7745cc8250bb8f27bd78694dfd3f1b5773 Fixed in 6.13-rc1 with commit c8b359dddb418c60df1a69beea01d1b3322bfe83 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-56570 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/overlayfs/util.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/f9248e2f73fb4afe08324485e98c815ac084d166 https://git.kernel.org/stable/c/5f86e79c0b2287ffdabe6c1b305a36c4e0f40fe3 https://git.kernel.org/stable/c/749eac5a6687ec99116e0691d0d71225254654e3 https://git.kernel.org/stable/c/ff43d008bbf9b27ada434d6455f039a5ef6cee53 https://git.kernel.org/stable/c/065bf5dd21639f80e68450de16bda829784dbb8c https://git.kernel.org/stable/c/72014e7745cc8250bb8f27bd78694dfd3f1b5773 https://git.kernel.org/stable/c/c8b359dddb418c60df1a69beea01d1b3322bfe83