[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <520B2327.9080404@iki.fi>
Date: Wed, 14 Aug 2013 09:26:47 +0300
From: Pekka Enberg <penberg@....fi>
To: Linn Crosetto <linn@...com>
CC: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
x86@...nel.org, paulmck@...ux.vnet.ibm.com, dhowells@...hat.com,
mtk.manpages@...il.com, yinghai@...nel.org, penberg@...nel.org,
jacob.shin@....com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] x86: avoid remapping data in parse_setup_data()
On 8/14/13 12:46 AM, Linn Crosetto wrote:
> Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size
> larger than early_memremap() is able to handle, which is currently
> limited to 256kB. If this occurs it leads to a NULL dereference in
> parse_setup_data().
>
> To avoid this, remap the setup_data header and allow parsing functions
> for individual types to handle their own data remapping.
>
> Signed-off-by: Linn Crosetto <linn@...com>
Reviewed-by: Pekka Enberg <penberg@...nel.org>
--
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