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 D0ECC13A890 for ; Wed, 17 Apr 2024 10:10:31 +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=1713348631; cv=none; b=jc3I6bAUpxMsx63pU0wE1fElOtLx2KX/6CIYTWNlrzJef5ioVtJ8ugjr8gT3a04txXupkTrDaxkS7oiwv45TRlDPP+Gext+bj0ECztTyB2yW5saPf4RZpOKGAHrLQuM3w52LTyVx8tZaA2OhoT7yyQDu2EdgpQO9FETmF/ofkPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713348631; c=relaxed/simple; bh=8e6Lxvyhp1fBaBTI84QME8I2zknO/7LDqZVXija3crE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CzUE9j/BRTnFKQ/MPE4Qv0MJ814ntySGR33JW2YCUo5J+UPbm6YVBkyxz7GPj+rmlMg8arA5KGLOaVhZPc3HnWNqnZEoDNLoVHOWho1zLBd3aqq63jVoNFx2G9r0SME3LweMDsHu27FDR/EcOezxRa9k4JikU8DIiaeSDy4kUcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FaPAgAEa; 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="FaPAgAEa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A5CBC072AA; Wed, 17 Apr 2024 10:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713348631; bh=8e6Lxvyhp1fBaBTI84QME8I2zknO/7LDqZVXija3crE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FaPAgAEakk2YrxGEkJ2MnZNhwXwck8VdGhMmU6VCDxg70dE1crhtROSBbO2D5a91f mKrLBzCRReQCGH6qmnTrP0ca1WkO9H5NIcrFPAlmESbTp3UHtMHgebC+jk7m3JL6mL 8AajQUkSiTKv3yaIAeUy7Xfx7ilSc6h1nLDK6gm8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26843: efi: runtime: Fix potential overflow of soft-reserved region size Date: Wed, 17 Apr 2024 12:10:25 +0200 Message-ID: <2024041716-CVE-2024-26843-51a0@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=2168; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8e6Lxvyhp1fBaBTI84QME8I2zknO/7LDqZVXija3crE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnyCzhm7zbhffP+8rTM4usrpnbsyl3Y2yUUHva1osmly 0xM5w9jRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkylaGBUutE8Ui1Oo9ko2S eCoKrB7s4+NfyjA/O0fj0/996XdDC5okLJJCpLbll/ACAA== 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: efi: runtime: Fix potential overflow of soft-reserved region size md_size will have been narrowed if we have >= 4GB worth of pages in a soft-reserved region. The Linux kernel CVE team has assigned CVE-2024-26843 to this issue. Affected and fixed versions =========================== Fixed in 5.10.211 with commit 4fff3d735bae Fixed in 5.15.150 with commit 4aa36b62c3ea Fixed in 6.1.80 with commit 700c3f642c32 Fixed in 6.6.19 with commit cf3d6813601f Fixed in 6.7.7 with commit 156cb12ffdcf Fixed in 6.8 with commit de1034b38a34 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-26843 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: drivers/firmware/efi/arm-runtime.c drivers/firmware/efi/riscv-runtime.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/4fff3d735baea104017f2e3c245e27cdc79f2426 https://git.kernel.org/stable/c/4aa36b62c3eaa869860bf78b1146e9f2b5f782a9 https://git.kernel.org/stable/c/700c3f642c32721f246e09d3a9511acf40ae42be https://git.kernel.org/stable/c/cf3d6813601fe496de7f023435e31bfffa74ae70 https://git.kernel.org/stable/c/156cb12ffdcf33883304f0db645e1eadae712fe0 https://git.kernel.org/stable/c/de1034b38a346ef6be25fe8792f5d1e0684d5ff4