platform/x86: bitland-mifs-wmi: Fix NULL pointer dereference during suspend/resume
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6f2cb20d8e286218d51754f06ee219d8ce754b18 and Kernel d3666875c75eb1bc8090343fa0d6fc8fb7924356.
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 (BITLAND_WMI_CONTROL) and an event device (BITLAND_WMI_EVENT). During the probe phase, the event device handling path returns early before initializing the platform profile device (data->pp_dev), 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 bitland_mifs_wmi_suspend(), which passes the uninitialized data->pp_dev (NULL) into laptop_profile_get(). This leads to a NULL pointer dereference inside dev_get_drvdata(), causing a kernel Oops and halting the suspend sequence. Fix this by adding a validity check for data->pp_dev in both the suspend and resume callbacks, safely skipping profile operations for the event device.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=dc1ec4fa86b2b8bba2b6122f2b4420217b5bae9e <6f2cb20d8e286218d51754f06ee219d8ce754b18, >=dc1ec4fa86b2b8bba2b6122f2b4420217b5bae9e <d3666875c75eb1bc8090343fa0d6fc8fb7924356 | 6f2cb20d8e286218d51754f06ee219d8ce754b18, d3666875c75eb1bc8090343fa0d6fc8fb7924356 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket