[PATCH v3 03/19] firmware_loader: EFI firmware loader must handle pre-allocated buffer

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat Jul 25 10:07:00 UTC 2020


On Fri, Jul 24, 2020 at 02:36:24PM -0700, Kees Cook wrote:
> The EFI platform firmware fallback would clobber any pre-allocated
> buffers. Instead, correctly refuse to reallocate when too small (as
> already done in the sysfs fallback), or perform allocation normally
> when needed.
> 
> Fixes: e4c2c0ff00ec ("firmware: Add new platform fallback mechanism and firm ware_request_platform()")

"firmware_request_platform()" :)



More information about the Linux-security-module-archive mailing list