Re: [PATCH] efi: apple-properties: validate setup data header length

Lukas Wunner <[email protected]> Mon, 6 Jul 2026 14:29:06 +0200
Newsgroups org.kernel.vger.linux-efi,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Mon, Jul 06, 2026 at 05:18:13PM +0800, Pengpeng Hou wrote:
> map_properties() remaps the Apple properties setup_data payload
> and then reads the properties header fields.
> 
> Reject a truncated payload before checking the header version and length
> fields.
> 
> Signed-off-by: Pengpeng Hou <[email protected]>

Reviewed-by: Lukas Wunner <[email protected]>