From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 15 Feb 2021 22:36:24 -0500 Subject: [PATCH 7/8] libfdt: Check for multiple/invalid root nodes In-Reply-To: <20210216000812.2091481-8-sjg@chromium.org> References: <20210216000812.2091481-1-sjg@chromium.org> <20210216000812.2091481-8-sjg@chromium.org> Message-ID: <20210216033624.GT10169@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Feb 15, 2021 at 05:08:11PM -0700, Simon Glass wrote: > It is possible to construct a devicetree blob with multiple root nodes. > Update fdt_check_full() to check for this, along with a root node with an > invalid name. > > CVE-2021-27097 > > Signed-off-by: Simon Glass > Reported-by: Bruce Monroe > Reported-by: Arie Haenel > Reported-by: Julien Lenoir Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: