CVE-2026-72346: platform/x86: bitland-mifs-wmi: Fix NULL pointer dereference during suspend/resume
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: bitland-mifs-wmi: Fix NULL pointer dereference during suspend/resume
The driver registers two distinct WMI devices: a control device (BITLANDWMICONTROL) and an event device (BITLANDWMIEVENT). During the probe phase, the event device handling path returns early before initializing the platform profile device (data->ppdev), leaving it NULL.
However, the PM sleep operations are registered globally for the WMI driver and are triggered for both devices. When entering suspend, the event device invokes bitlandmifswmisuspend(), which passes the uninitialized data->ppdev (NULL) into laptopprofileget(). This leads to a NULL pointer dereference inside devgetdrvdata(), causing a kernel Oops and halting the suspend sequence.
Fix this by adding a validity check for data->ppdev in both the suspend and resume callbacks, safely skipping profile operations for the event device.