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 B1E8F190670 for ; Tue, 30 Jul 2024 07:50:24 +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=1722325824; cv=none; b=rBDmu3sKNffmp3A5I7TpMZzJP/b+teKaVO1SmTCNldTR3iADrRyF2XkyYJRv4R53Qp1EMIt1uZzLPwpJHhI+iRrRfyRIMFwveg3XdYc93KrmMM38I5YQbGv2Hu8Vfw4OMMCl750jkB2UgNDiLEeV6NdkSYVbJCzYmOaAUj8/8g8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325824; c=relaxed/simple; bh=goavyU+Cfsnrb5e2L7ry71+f42wO661m7d4X+ZTOsGs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g1br2aFzdFFDmzJj46m+AGMa8urAD/xT3/WRhvMa8t/D80cP/rlluW83HRSq9EdhnY8IDlFBd/7uGMPxF2yrKnG9WkNnzGTBiWfUWDjsVCd4gRpKKaX+/MnmZxv97YGfZdOYWSZNcNH7pMv2s2FzKrO6fO59sNmEnYj3pG/cdtU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oXlT8brv; 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="oXlT8brv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F48BC32782; Tue, 30 Jul 2024 07:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325824; bh=goavyU+Cfsnrb5e2L7ry71+f42wO661m7d4X+ZTOsGs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=oXlT8brvlNrH9TeBqm/pXL5MWKmL1xHSOUcn+3sOjfovhV2sqqSdPORgTcY7Pxxl5 8cqMbyw3bwzwz9kVPFenmmXbDcsWq68Hz3INfW3D+lyqoo7a25H/0sJzkV3hZDHP9R mXp7zYFAQBPQep4bMXGkqf08ftQvuO6PcEXxdM7w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42143: orangefs: fix out-of-bounds fsid access Date: Tue, 30 Jul 2024 09:48:01 +0200 Message-ID: <2024073031-CVE-2024-42143-5cec@gregkh> X-Mailer: git-send-email 2.45.2 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=2631; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=goavyU+Cfsnrb5e2L7ry71+f42wO661m7d4X+ZTOsGs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZk0u1PsS8iJ6FmuN75VoyYsP5r9eZ7Z4UdUyVlkWT qEFcxNKO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiQjUM8wuWSQicXHE40UBM Mv3Knc6wL6mnYxjmV21NVSg1jChbvtdU9VnUtFULXi+MBwA= 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: orangefs: fix out-of-bounds fsid access Arnd Bergmann sent a patch to fsdevel, he says: "orangefs_statfs() copies two consecutive fields of the superblock into the statfs structure, which triggers a warning from the string fortification helpers" Jan Kara suggested an alternate way to do the patch to make it more readable. I ran both ideas through xfstests and both seem fine. This patch is based on Jan Kara's suggestion. The Linux kernel CVE team has assigned CVE-2024-42143 to this issue. Affected and fixed versions =========================== Fixed in 4.19.318 with commit b90176a95537 Fixed in 5.4.280 with commit 556edaa27c27 Fixed in 5.10.222 with commit 1617249e24bd Fixed in 5.15.163 with commit 137a06dc0ff8 Fixed in 6.1.98 with commit 74159d409da8 Fixed in 6.6.39 with commit 6a3cacf6d3cf Fixed in 6.9.9 with commit de8a5f7b7180 Fixed in 6.10 with commit 53e4efa470d5 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-42143 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/orangefs/super.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/b90176a9553775e23966650e445b1866e62e4924 https://git.kernel.org/stable/c/556edaa27c27db24a0f34c78cebef90e5bb6e167 https://git.kernel.org/stable/c/1617249e24bd04c8047956afb43feec4876d1715 https://git.kernel.org/stable/c/137a06dc0ff8b2d2069c2345d015ef0fa71df1ed https://git.kernel.org/stable/c/74159d409da82269311a60256aad8ae8753da450 https://git.kernel.org/stable/c/6a3cacf6d3cf0278aa90392aef2fc3fe2717a047 https://git.kernel.org/stable/c/de8a5f7b71800a11fbaffc8ddacf08ead78afcc5 https://git.kernel.org/stable/c/53e4efa470d5fc6a96662d2d3322cfc925818517