diff options
| author | Kees Cook <[email protected]> | 2020-07-24 21:36:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-25 10:06:33 +0000 |
| commit | 4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d (patch) | |
| tree | d4a428a0821643d6d7f320d3a735dd9a978e139e /drivers/fpga/xilinx-spi.c | |
| parent | selftest/firmware: Add selftest timeout in settings (diff) | |
| download | kernel-4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d.tar.gz kernel-4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d.zip | |
firmware_loader: EFI firmware loader must handle pre-allocated buffer
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 firmware_request_platform()")
Cc: [email protected]
Acked-by: Scott Branden <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
