]> Gentwo Git Trees - linux/.git/commit
platform/x86: msi-wmi-platform: Only load on MSI devices
authorArmin Wolf <W_Armin@gmx.de>
Mon, 10 Nov 2025 11:12:52 +0000 (12:12 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 10 Nov 2025 17:12:40 +0000 (19:12 +0200)
commitc93433fd4e2bbbe7caa67b53d808b4a084852ff3
tree350127ad02e6c980a2935a95a77accdbe155ed1f
parentf945afe01c6768dcfed7868c671a26e1164c2284
platform/x86: msi-wmi-platform: Only load on MSI devices

It turns out that the GUID used by the msi-wmi-platform driver
(ABBC0F60-8EA1-11D1-00A0-C90629100000) is not unique, but was instead
copied from the WIndows Driver Samples. This means that this driver
could load on devices from other manufacturers that also copied this
GUID, potentially causing hardware errors.

Prevent this by only loading on devices whitelisted via DMI. The DMI
matches where taken from the msi-ec driver.

Reported-by: Antheas Kapenekakis <lkml@antheas.dev>
Fixes: 9c0beb6b29e7 ("platform/x86: wmi: Add MSI WMI Platform driver")
Tested-by: Antheas Kapenekakis <lkml@antheas.dev>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20251110111253.16204-2-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/msi-wmi-platform.c