diff options
author | Mario Limonciello <mario.limonciello@dell.com> | 2021-01-29 11:26:54 -0600 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-01-31 22:05:35 +0100 |
commit | 215164bfb7144c5890dd8021ff06e486939862d4 (patch) | |
tree | 542e383a71913ffd51082540b5842e9526a5a6f3 /arch/arm64/kernel/pointer_auth.c | |
parent | 67fbe02a5cebc3c653610f12e3c0424e58450153 (diff) |
platform/x86: dell-wmi-sysman: fix a NULL pointer dereference
An upcoming Dell platform is causing a NULL pointer dereference
in dell-wmi-sysman initialization. Validate that the input from
BIOS matches correct ACPI types and abort module initialization
if it fails.
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Tested-by: Perry Yuan <perry_yuan@dell.com>
Link: https://lore.kernel.org/r/20210129172654.2326751-1-mario.limonciello@dell.com
[hdegoede@redhat.com: Drop redundant release_attributes_data() call]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm64/kernel/pointer_auth.c')
0 files changed, 0 insertions, 0 deletions