From: Tom Rini Date: Thu, 18 Jul 2019 19:59:07 -0400 Subject: [U-Boot] [PATCH 3/5] CVE-2019-13104: ext4: check for underflow in ext4fs_read_file In-Reply-To: <20190708233707.8377-3-paulemge@forallsecure.com> References: <20190708233707.8377-1-paulemge@forallsecure.com> <20190708233707.8377-3-paulemge@forallsecure.com> Message-ID: <20190718235907.GK20116@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, Jul 08, 2019 at 04:37:05PM -0700, Paul Emge wrote: > in ext4fs_read_file, it is possible for a broken/malicious file > system to cause a memcpy of a negative number of bytes, which > overflows all memory. This patch fixes the issue by checking for > a negative length. > > Signed-off-by: Paul Emge Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: