[PATCH 4.14 49/99] efi: Fix a race and a buffer overflow while reading efivars via sysfs