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 92AE91B2182 for ; Tue, 24 Dec 2024 11:29:41 +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=1735039781; cv=none; b=VWfGO6EzN8MkmdwUyjkBcx4wkP6MGCiD7AdOGDy+7Xcf2saCGzyHm6YnKXSLlKdWWrHWMxM8f9p7pRjQw0cye4mxItIaWc6rS6LlsswFOqguRdMGMSHYKxzfe6OetpLcai9pb7yHUashRbkjD3RCo46o7lWet3nU1y13BaI+Y0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735039781; c=relaxed/simple; bh=EWfxd9FKNhTgyB3FcpJ3rpn4rF0uu7rLEJmmPbetOvg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Bjsrcyo+z/k222UTp1WE8WN6IaIVCsnfPisxtdvCQ4kKBZeSd3FJxEqZx5eP6pG3cQATHrhuv1FDQkFitpoz5QR6eOLRiXUKgU68doylPRKspipKDI+AAgjeEub4NP5XVCVQkwVePqUtDBpDs44qZpfNnbpca6sDIwz078m2KfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MZ2YJMOD; 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="MZ2YJMOD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B30F2C4CED0; Tue, 24 Dec 2024 11:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735039781; bh=EWfxd9FKNhTgyB3FcpJ3rpn4rF0uu7rLEJmmPbetOvg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MZ2YJMODSjgFy1G7RkkhyTDG6OlIs5e4gvBXrxemmlmAKCSfIuxQkuAjWLxzEjgy6 HXhaFlivpiO15kpMC0sncblnkABTr2eiVyHubyhfOXzB9UD+cEDMc9kF8DwLqsYs3r KiybDTfBzAj+vQIeNdDmfTAE+rjcmL2fxKcbawF8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53145: um: Fix potential integer overflow during physmem setup Date: Tue, 24 Dec 2024 12:29:25 +0100 Message-ID: <2024122424-CVE-2024-53145-1a25@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=3245; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EWfxd9FKNhTgyB3FcpJ3rpn4rF0uu7rLEJmmPbetOvg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlZs0Xq1z38fHJ9faH44vNpDrrbNgV6iJ6fG5u8xkm9Q fkB3771HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARSS2GBbscHR+xrvlaXrTt y/c5v/PXl3hJzGdY0Cxz5FqVzp/VuwTWh/8I31MUsrf7NAA= 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: um: Fix potential integer overflow during physmem setup This issue happens when the real map size is greater than LONG_MAX, which can be easily triggered on UML/i386. The Linux kernel CVE team has assigned CVE-2024-53145 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 5.4.287 with commit 5c710f45811e7e2bfcf703980c306f19c7e1ecfe Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 5.10.231 with commit e6102b72edc4eb8c0858df00ba74b5ce579c8fa2 Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 5.15.174 with commit 1bd118c5f887802cef2d9ba0d1917258667f1cae Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 6.1.120 with commit 1575df968650d11771359e5ac78278c5b0cc19f3 Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 6.6.64 with commit a875c023155ea92b75d6323977003e64d92ae7fc Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 6.11.11 with commit d1a211e5210d31da8f49fc0021bf7129b726468c Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 6.12.2 with commit a9c95f787b88b29165563fd97761032db77116e7 Issue introduced in 4.1 with commit fe205bdd1321f95f8f3c35d243ea7cb22af8fbe1 and fixed in 6.13-rc1 with commit a98b7761f697e590ed5d610d87fa12be66f23419 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-53145 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/um/kernel/physmem.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/5c710f45811e7e2bfcf703980c306f19c7e1ecfe https://git.kernel.org/stable/c/e6102b72edc4eb8c0858df00ba74b5ce579c8fa2 https://git.kernel.org/stable/c/1bd118c5f887802cef2d9ba0d1917258667f1cae https://git.kernel.org/stable/c/1575df968650d11771359e5ac78278c5b0cc19f3 https://git.kernel.org/stable/c/a875c023155ea92b75d6323977003e64d92ae7fc https://git.kernel.org/stable/c/d1a211e5210d31da8f49fc0021bf7129b726468c https://git.kernel.org/stable/c/a9c95f787b88b29165563fd97761032db77116e7 https://git.kernel.org/stable/c/a98b7761f697e590ed5d610d87fa12be66f23419