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 A166A2BB0A for ; Sat, 2 Mar 2024 21:31:59 +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=1709415119; cv=none; b=nGMGLqycBeBR3zlKeBRQ3z3C9bDyyZNY3fkwUIcrF6mKY2iovYzyylOCRRvyT6JNFKgOCsJ6yGzBx5vyE57gszmuKRpxjUuq/7pLbXBVN73wTv1LMT4x7ov/NSwpz6XP/e+9obDvgwgiv+jpOzcDKIWunhcsd/w95imBOV1N6ok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709415119; c=relaxed/simple; bh=mosLdX3P4S7ZntiHsNiCwnOGuouulsKrGoomIVErwvI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YP8wlGesQpXtnxAgnorGh7JCs+cRikgeK4J9x85dHb2KbccdAeV96yHMHcpa7Ip/jLWJ7/AEO9kvNC9A+1vVk2rlW6sV1tyBP8CUPE66Y/knTmdZ4Yd4wNSRTI1/qGLVTZvYu/iPX8CW673NCy5oyyI9LwzPDJoL3Pcq03pd7L4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SytLihcH; 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="SytLihcH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B86ACC433C7; Sat, 2 Mar 2024 21:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709415119; bh=mosLdX3P4S7ZntiHsNiCwnOGuouulsKrGoomIVErwvI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SytLihcHKLNAIOmFAobip7lcPdUeuzd4YR+sSCWIX7CRjxIbCUR72wp7lsqhKsEAA e+jffdumY9gZkwzxiePkGOcIGJiyn3nd8rbp3TfgMFFqdS1+a4D/p3u86SFv0g0w9L jXit9PxaJB4HktcgTWQY4Yay10ad5RidG+XSV+ME= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26621: mm: huge_memory: don't force huge page alignment on 32 bit Date: Sat, 2 Mar 2024 22:31:54 +0100 Message-ID: <2024030255-CVE-2024-26621-9300@gregkh> X-Mailer: git-send-email 2.44.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=2119; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mosLdX3P4S7ZntiHsNiCwnOGuouulsKrGoomIVErwvI=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmPZ53O+n4rWXzjQ4u5L6Nt/6ZtX/15l8O57A3rEtpMG qZFv+z50hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATuZbKMIspon6TyHfNt5Ic U81rypYt2+gaz86woGEdm51+vPCl3Md+Sjd/XwmNvOvxFAA= 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: mm: huge_memory: don't force huge page alignment on 32 bit commit efa7df3e3bb5 ("mm: align larger anonymous mappings on THP boundaries") caused two issues [1] [2] reported on 32 bit system or compat userspace. It doesn't make too much sense to force huge page alignment on 32 bit system due to the constrained virtual address space. [1] https://lore.kernel.org/linux-mm/d0a136a0-4a31-46bc-adf4-2db109a61672@kernel.org/ [2] https://lore.kernel.org/linux-mm/CAJuCfpHXLdQy1a2B6xN2d7quTYwg2OoZseYPZTRpU0eHHKD-sQ@mail.gmail.com/ The Linux kernel CVE team has assigned CVE-2024-26621 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit efa7df3e3bb5 and fixed in 6.7.6 with commit 7432376c9133 Issue introduced in 6.7 with commit efa7df3e3bb5 and fixed in 6.8-rc3 with commit 4ef9ad19e176 Please see https://www.kernel.org or 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-26621 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: mm/huge_memory.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/7432376c913381c5f24d373a87ff629bbde94b47 https://git.kernel.org/stable/c/4ef9ad19e17676b9ef071309bc62020e2373705d