From: Matthew Garrett Date: Mon, 30 Apr 2012 20:11:30 +0000 (-0400) Subject: efi: Validate UEFI boot variables X-Git-Tag: v3.4-rc6~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec6c20b570bcf541e581fc97f2e0cbdb9725b98;p=pandora-kernel.git efi: Validate UEFI boot variables A common flaw in UEFI systems is a refusal to POST triggered by a malformed boot variable. Once in this state, machines may only be restored by reflashing their firmware with an external hardware device. While this is obviously a firmware bug, the serious nature of the outcome suggests that operating systems should filter their variable writes in order to prevent a malicious user from rendering the machine unusable. Signed-off-by: Matthew Garrett Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed