OpenCloudOS-Kernel/drivers/platform/x86/dell-wmi-sysman
Mario Limonciello 64b0efa18f 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>
2021-01-31 20:58:58 +01:00
..
Makefile
biosattr-interface.c
dell-wmi-sysman.h
enum-attributes.c
int-attributes.c platform/x86: dell-wmi-sysman: work around for BIOS bug 2020-12-07 16:09:28 +01:00
passobj-attributes.c platform/x86/dell-wmi-sysman: Make some symbols static 2020-11-03 10:30:10 +01:00
passwordattr-interface.c
string-attributes.c
sysman.c platform/x86: dell-wmi-sysman: fix a NULL pointer dereference 2021-01-31 20:58:58 +01:00