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 0D7AF653 for ; Sat, 17 Aug 2024 08:55:05 +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=1723884906; cv=none; b=uVaaZPlLUVDbiVmlmcII3UrIRVXFddDwDFwqG6Ljly/MZyXvdZFdSwcJn0qa0Ajxr3CPw3cY3lrVLrBde1+U68ePtRWTf0jvRdsmvxOypEVvbAb13XJgb9mkdWtjvW36zxni/uC9wihUKhFXMp2d4jooFj+jSDJ5Dx9F0K9sSWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723884906; c=relaxed/simple; bh=8IG2DmdoSLrXdhOY4hViNai8J2nCfy4Ac54gWtTIVdE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AHjbqUTX5ZqRBVI5GFfGyYojhgRIZsWH3MUFHMgSFgV1brH0nHW23Arp1n8u177c6tAdOO6MUubshR4s9cvaBs1HT5LYdnHrWc7TlybRZglSN/4Xpr/OUpXH1z/zd1w4tBpM7TmYiPOnLomJQGCiBWt4TwIASNe1VSAn66RD4aw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MQgAC2zi; 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="MQgAC2zi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EC5BC116B1; Sat, 17 Aug 2024 08:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723884905; bh=8IG2DmdoSLrXdhOY4hViNai8J2nCfy4Ac54gWtTIVdE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MQgAC2ziAtSqd+ClOWagssgET5iCOPO7Uxk+2xXXf4wxHm+7ZVvJ48A/0mtdNg+2Y CWdb3o7PqKugjc3e5etY3BJxxASDTdByMSUPBm3Ffmt0Nym0KVfW4tnWIYq9tq+owT tElUAelT3jF/jRZCiRGa6BvK6mq0zinLM5WfvQAY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42267: riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error() Date: Sat, 17 Aug 2024 10:54:41 +0200 Message-ID: <2024081738-CVE-2024-42267-9f79@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=2121; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8IG2DmdoSLrXdhOY4hViNai8J2nCfy4Ac54gWtTIVdE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHUv0mRj/dr2D6UM77zNqejPzI+QeyvJ5/461X6rEKe eymXZfYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOpjmSYX9D8+X3v1Ei/eW99 px2dlO3zbOJdP4b5lbMOLVllyvz3zc2bnzevsohoihHzAgA= 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: riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error() Handle VM_FAULT_SIGSEGV in the page fault path so that we correctly kill the process and we don't BUG() the kernel. The Linux kernel CVE team has assigned CVE-2024-42267 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 07037db5d479 and fixed in 6.1.104 with commit d7ccf2ca772b Issue introduced in 4.15 with commit 07037db5d479 and fixed in 6.6.45 with commit 917f598209f3 Issue introduced in 4.15 with commit 07037db5d479 and fixed in 6.10.4 with commit d4e7db757e2d Issue introduced in 4.15 with commit 07037db5d479 and fixed in 6.11-rc2 with commit 0c710050c47d 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-42267 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: arch/riscv/mm/fault.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/d7ccf2ca772bfe33e2c53ef80fa20d2d87eb6144 https://git.kernel.org/stable/c/917f598209f3f5e4ab175d5079d8aeb523e58b1f https://git.kernel.org/stable/c/d4e7db757e2d7f4c407a007e92c98477eab215d2 https://git.kernel.org/stable/c/0c710050c47d45eb77b28c271cddefc5c785cb40