[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140113131737.GB1900@darkstar.nay.redhat.com>
Date: Mon, 13 Jan 2014 21:17:37 +0800
From: Dave Young <dyoung@...hat.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Linux EFI <linux-efi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Borislav Petkov <bp@...e.de>,
Matt Fleming <matt@...sole-pimps.org>,
Matthew Garrett <mjg59@...f.ucam.org>,
"H. Peter Anvin" <hpa@...or.com>, Toshi Kani <toshi.kani@...com>
Subject: Re: [PATCH 4/4] efi: Make efi virtual runtime map passing more robust
On Mon, Jan 13, 2014 at 11:27:34AM +0100, Borislav Petkov wrote:
> On Mon, Jan 13, 2014 at 01:40:39PM +0800, Dave Young wrote:
> > Adding a safeguard check for desc_size is better though currently it's
> > impossible for the desc_size > PAGE_SIZE?
>
> Huh, what?
>
> sizeof(efi_memory_desc_t) is only 40 bytes AFAICT.
I know this is nearly impossible, but is there possible for some corrupted
desc_size value or firmware bug? who knows...
Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists