From: Tom Rini Date: Thu, 18 Jul 2019 19:58:51 -0400 Subject: [U-Boot] [PATCH 2/5] CVE-2019-13105: ext4: fix double-free in ext4_cache_read In-Reply-To: <20190708233707.8377-2-paulemge@forallsecure.com> References: <20190708233707.8377-1-paulemge@forallsecure.com> <20190708233707.8377-2-paulemge@forallsecure.com> Message-ID: <20190718235851.GJ20116@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:04PM -0700, Paul Emge wrote: > ext_cache_read doesn't null cache->buf, after freeing, which results > in a later function double-freeing it. This patch fixes > ext_cache_read to call ext_cache_fini instead of free. > > 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: