Skip to content
Commit 215164bf authored by Mario Limonciello's avatar Mario Limonciello Committed by Hans de Goede
Browse files

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: default avatarMario Limonciello <mario.limonciello@dell.com>
Tested-by: default avatarPerry 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: default avatarHans de Goede <hdegoede@redhat.com>
parent 67fbe02a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment