Skip to content

efi: fix a race and add a sanity check

Vladis Dronov stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi: Fix a race and a buffer overflow while reading efivars via sysfsdrivers/firmware/efi/efivars.c+20 -92 replies
2/2efi: Add a sanity check to efivar_store_raw()drivers/firmware/efi/efivars.c+3 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 4.19, 4.14, 4.9, 4.4 0/2] efi: fix a race and add a sanity check

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(). The original patchset applies to the 5.x trees fine.

Vladis Dronov (2):
efi: fix a race and a buffer overflow while reading efivars via sysfs
efi: add a sanity check to efivar_store_raw()

 drivers/firmware/efi/efivars.c | 32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)