linux-kernelorg-stable/drivers/platform/x86
Mario Limonciello 215164bfb7 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 22:05:35 +01:00
..
dell-wmi-sysman platform/x86: dell-wmi-sysman: fix a NULL pointer dereference 2021-01-31 22:05:35 +01:00
intel_speed_select_if platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword 2020-12-08 16:30:55 +01:00
Kconfig platform-drivers-x86 for v5.11-1 2020-12-15 16:10:17 -08:00
Makefile platform-drivers-x86 for v5.11-1 2020-12-15 16:10:17 -08:00
acer-wireless.c acer-wireless: send an EV_SYN/SYN_REPORT between state changes 2020-12-07 16:10:11 +01:00
acer-wmi.c platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE 2020-11-26 15:48:37 +01:00
acerhdf.c platform/x86/drivers/acerhdf: Check the interval value when it is set 2020-12-07 17:04:50 +01:00
alienware-wmi.c
amd-pmc.c platform/x86: amd-pmc: Fix CONFIG_DEBUG_FS check 2021-01-04 15:57:26 +01:00
amilo-rfkill.c
apple-gmux.c platform/x86: apple-gmux: Replace HTTP links with HTTPS ones 2020-07-15 13:01:20 +03:00
asus-laptop.c
asus-nb-wmi.c platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360 2020-10-28 12:47:37 +01:00
asus-wireless.c
asus-wmi.c platform/x86: asus-wmi: Add userspace notification for performance mode change 2020-11-24 14:39:13 +01:00
asus-wmi.h platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360 2020-10-28 12:47:37 +01:00
classmate-laptop.c x86/platform: classmate-laptop: add WiFi media button 2020-12-08 11:18:03 +01:00
compal-laptop.c
dcdbas.c
dcdbas.h
dell-laptop.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dell-rbtn.c
dell-rbtn.h
dell-smbios-base.c platform/x86: dell-smbios-base: Fix error return code in dell_smbios_init 2020-12-02 13:11:03 +01:00
dell-smbios-smm.c
dell-smbios-wmi.c
dell-smbios.h
dell-smo8800.c
dell-wmi-aio.c
dell-wmi-descriptor.c
dell-wmi-descriptor.h
dell-wmi-led.c
dell-wmi.c platform/x86: dell-wmi: add new dmi mapping for keycode 0xffff 2020-07-09 22:47:27 +03:00
dell_rbu.c
eeepc-laptop.c
eeepc-wmi.c
fujitsu-laptop.c
fujitsu-tablet.c
gpd-pocket-fan.c
hdaps.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
hp-wireless.c
hp-wmi.c platform/x86: hp-wmi: Disable tablet-mode reporting by default 2021-01-25 22:06:49 +01:00
hp_accel.c
huawei-wmi.c
i2c-multi-instantiate.c platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes 2021-01-04 15:54:45 +01:00
ibm_rtl.c
ideapad-laptop.c platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634 2021-01-13 11:25:26 +01:00
intel-hid.c platform/x86: intel-hid: add Rocket Lake ACPI device ID 2020-12-08 11:18:03 +01:00
intel-rst.c
intel-smartconnect.c
intel-uncore-frequency.c
intel-vbtn.c platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list 2021-01-18 19:42:23 +01:00
intel-wmi-sbl-fw-update.c
intel-wmi-thunderbolt.c
intel_atomisp2_led.c platform/x86: Add new intel_atomisp2_led driver 2020-07-09 22:47:27 +03:00
intel_atomisp2_pm.c
intel_bxtwc_tmu.c
intel_cht_int33fe_common.c platform/x86: intel_cht_int33fe: Drop double check for ACPI companion device 2020-07-09 22:40:36 +03:00
intel_cht_int33fe_common.h
intel_cht_int33fe_microb.c
intel_cht_int33fe_typec.c
intel_chtdc_ti_pwrbtn.c
intel_int0002_vgpio.c
intel_ips.c
intel_ips.h
intel_menlow.c
intel_mid_powerbtn.c
intel_mid_thermal.c thermal: Explicitly enable non-changing thermal zone devices 2020-06-29 20:26:37 +02:00
intel_mrfld_pwrbtn.c
intel_oaktrail.c
intel_pmc_core.c platform/x86: intel_pmc_core: Assign boolean values to a bool variable 2020-11-09 15:02:40 +01:00
intel_pmc_core.h platform/x86: intel_pmc_core: Fix the slp_s0 counter displayed value 2020-10-07 23:06:29 +02:00
intel_pmc_core_pltdrv.c platform/x86: intel_pmc_core: do not create a static struct device 2020-09-24 14:05:21 +03:00
intel_pmt_class.c platform/x86: pmt: Fix a potential Oops on error in probe 2020-11-24 12:43:40 +01:00
intel_pmt_class.h platform/x86: Intel PMT class driver 2020-11-04 11:14:12 +00:00
intel_pmt_crashlog.c platform/x86: Intel PMT Crashlog capability driver 2020-11-04 11:14:38 +00:00
intel_pmt_telemetry.c platform/x86: Intel PMT Telemetry capability driver 2020-11-04 11:14:27 +00:00
intel_punit_ipc.c
intel_scu_ipc.c
intel_scu_ipcutil.c
intel_scu_pcidrv.c
intel_scu_pltdrv.c
intel_telemetry_core.c
intel_telemetry_debugfs.c
intel_telemetry_pltdrv.c
intel_turbo_max_3.c
lg-laptop.c
mlx-platform.c platform/x86: mlx-platform: Fix item counter assignment for MSN2700/ComEx system 2020-12-08 11:14:49 +01:00
msi-laptop.c
msi-wmi.c
mxm-wmi.c
panasonic-laptop.c platform/x86: panasonic-laptop: Add sysfs attributes for firmware brightness registers 2020-11-10 14:49:50 +01:00
pcengines-apuv2.c platform/x86: pcengines-apuv2: Fix typo on define of AMD_FCH_GPIO_REG_GPIO55_DEVSLP0 2020-09-24 14:04:53 +03:00
peaq-wmi.c
pmc_atom.c
samsung-laptop.c
samsung-q10.c
sony-laptop.c platform/x86: remove unneeded break 2020-10-28 12:32:06 +01:00
system76_acpi.c platform/x86: system76-acpi: Fix brightness_set schedule while atomic 2020-07-09 22:40:36 +03:00
tc1100-wmi.c
thinkpad_acpi.c platform/x86: thinkpad_acpi: Add P53/73 firmware to fan_quirk_table for dual fan control 2021-01-18 21:42:01 +01:00
topstar-laptop.c
toshiba-wmi.c
toshiba_acpi.c platform/x86: toshiba_acpi: Fix the wrong variable assignment 2020-11-26 15:48:46 +01:00
toshiba_bluetooth.c
toshiba_haps.c
touchscreen_dmi.c platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet 2021-01-04 15:54:45 +01:00
uv_sysfs.c x86/platform/uv: Add sysfs hubless leaves 2020-12-07 19:51:05 +01:00
wmi-bmof.c
wmi.c platform/x86: remove unneeded break 2020-10-28 12:32:06 +01:00
xiaomi-wmi.c
xo1-rfkill.c
xo15-ebook.c