diff options
author | Khazhismel Kumykov <[email protected]> | 2023-01-17 17:02:12 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-01-20 13:23:42 +0100 |
commit | a769b05eeed7accc4019a1ed9799dd72067f1ce8 (patch) | |
tree | 39d16a4e0eb076c77f63f7e778ceed3e9d55cb20 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 96b328d119eca7563c1edcc4e1039a62e6370ecb (diff) |
gsmi: fix null-deref in gsmi_get_variable
We can get EFI variables without fetching the attribute, so we must
allow for that in gsmi.
commit 859748255b43 ("efi: pstore: Omit efivars caching EFI varstore
access layer") added a new get_variable call with attr=NULL, which
triggers panic in gsmi.
Fixes: 74c5b31c6618 ("driver: Google EFI SMI")
Cc: stable <[email protected]>
Signed-off-by: Khazhismel Kumykov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions