Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 90F5A3D668F for ; Fri, 28 Aug 2026 06:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900132; cv=none; b=pJa8OYdOf2mUHchkFkEcY9rOgU2+R07kOPU2HmfsmenuDp1xNrgfKxQ8uodKdwX+C5mVcsUs9UM8q8eFrhkH7MfukwEzw8ape347nnpwBxbiQUV/eXbrfpO4ah9DCBANPLF+g1JQOUEWLTRAHIPwJCFSwk//bI6Mf+FOu6XOkdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900132; c=relaxed/simple; bh=ZyZ7E3/RdDgig74uh5oZE7iDxBT3UEwQF6B3+ERGsbk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EaBpDwFVCLlXNg9r1vD9nRok6OCQgqYKmz31Wa4LSVlaihaNCM9OT6Qvc3L3O8cc79JLxGWcP3BIj115Fid0VjyTch6FhFnbjGi+17QHpZi2mu3tvhDrQ4rmKvMJr6ceu2XWRurrVTfbJeu7+V83hz2p1ewwrPC6Jc3d1g2PQ74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Pdf5RNOG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Pdf5RNOG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED1E71F000E9; Fri, 28 Aug 2026 06:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900131; bh=Qc3yCfkkQwvB5hu1V2IFP3LNHoWqPGtpiOqBJ0pK7NU=; h=From:To:Cc:Subject:Date:Reply-To; b=Pdf5RNOGX1PFXt8eqeG6Mw65zfmnJDsKhEA0/tXB3jwRdKx4P+nxi5/msgwzElfJO 8rgy7XNONdghFPQ+qhDS1ALmbkSLz5RVG26c0yz9Mq2nxMfK4vOOzvBZ5tFf4l2jD7 fzdNJhmgT1FFwzBHa3YmBkIDLMpGXBT8JyCdyZxA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80723: of: reserved_mem: prevent OOB when too many dynamic regions are defined Date: Fri, 28 Aug 2026 08:53:46 +0200 Message-ID: <2026082811-CVE-2026-80723-2526@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2641; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JoKS9uAQTmMoa3Ka2Fq6hhrxzS+PHNm23oyOaTkbAYY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDcJF9i65fMDtjrPCUWWx6u/nuxP+RBX/d5mpLfyc/ aBT7QH9jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIwHOG+cm3uVoPu2TMXjul 7YRbRqK8mgzXVYYF8/wfL5kW0nr59+YIxZzDb9Ov/o9gBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: of: reserved_mem: prevent OOB when too many dynamic regions are defined On boot, fdt_scan_reserved_mem() saves each dynamically-placed /reserved-memory subnode into a local array of size MAX_RESERVED_REGIONS. If the device tree defines more than MAX_RESERVED_REGIONS dynamically-placed regions, fdt_scan_reserved_mem() writes past the end of the local array. Add a bounds check that logs an error and skips the excess regions, restoring the original behavior. The Linux kernel CVE team has assigned CVE-2026-80723 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.13 with commit 9a0fe62f93ede02c27aaca81112af1e59c8c0979 and fixed in 6.12.103 with commit 68d27250c9e81ab7764603e346c2b1017cb53adf Issue introduced in 6.13 with commit 8a6e02d0c00e7b62e6acb74146878bb91e9e7e31 and fixed in 6.18.44 with commit cfa7e2734877330d6c10e0f33953905486c4530c Issue introduced in 6.13 with commit 8a6e02d0c00e7b62e6acb74146878bb91e9e7e31 and fixed in 7.1.8 with commit de8ccbd6bf4efe7a059e2c483789936009e10f42 Issue introduced in 6.13 with commit 8a6e02d0c00e7b62e6acb74146878bb91e9e7e31 and fixed in 7.2 with commit db3dbdfea1b8f38774419c5c2c14e4b81c48708d 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-2026-80723 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/of/of_reserved_mem.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/68d27250c9e81ab7764603e346c2b1017cb53adf https://git.kernel.org/stable/c/cfa7e2734877330d6c10e0f33953905486c4530c https://git.kernel.org/stable/c/de8ccbd6bf4efe7a059e2c483789936009e10f42 https://git.kernel.org/stable/c/db3dbdfea1b8f38774419c5c2c14e4b81c48708d