mbox series

[v3,0/3] efi: fix a race and add a sanity check

Message ID 20200305084041.24053-1-vdronov@redhat.com
Headers show
Series efi: fix a race and add a sanity check | expand

Message

Vladis Dronov March 5, 2020, 8:40 a.m. UTC
There is a race and a buffer overflow while reading an efi variable
and the first patch fixes it. The second patch adds a sanity check
to efivar_store_raw(). And the third one just fixes mistypes in
comments.

Vladis Dronov (3):
  efi: fix a race and a buffer overflow while reading efivars via sysfs
  efi: add a sanity check to efivar_store_raw()
  efi: fix a mistype in comments mentioning efivar_entry_iter_begin()

 drivers/firmware/efi/efi-pstore.c |  2 +-
 drivers/firmware/efi/efivars.c    | 32 +++++++++++++++++++++++---------
 drivers/firmware/efi/vars.c       |  2 +-
 3 files changed, 25 insertions(+), 11 deletions(-)