summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-07-25 00:36:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-25 13:06:33 +0300
commit4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d (patch)
treed4a428a0821643d6d7f320d3a735dd9a978e139e /scripts/gdb/linux/proc.py
parent4505e2154e8f3896da5ba63818082746b3026c59 (diff)
downloadlinux-4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d.tar.xz
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: stable@vger.kernel.org Acked-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20200724213640.389191-4-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions