mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
efivar_entry_get() always returns success even if the underlying
__efivar_entry_get() fails, masking errors.
This may result in uninitialized heap memory being copied to userspace
in the efivarfs_file_read() path.
Fix it by returning the error from __efivar_entry_get().
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| file.c | ||
| inode.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| super.c | ||
| vars.c | ||