HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
The EHL (Elkhart Lake) based platforms provide a OOB (Out of band) service, which allows to wakup device when the system is in S5 (Soft-Off state). This OOB service can be enabled/disabled from BIOS settings. When enabled, the ISH device gets PME wake capability. To enable PME wakeup, driver also needs to enable ACPI GPE bit.
On resume, BIOS will clear the wakeup bit. So driver need to re-enable it in resume function to keep the next wakeup capability. But this BIOS clearing of wakeup bit doesn't decrement internal OS GPE reference count, so this reenabling on every resume will cause reference count to overflow.
So first disable and reenable ACPI GPE bit using acpi_disable_gpe().
From the CVE record · Linux
The Linux kernel’s intel-ish-hid IPC driver can overflow its internal ACPI GPE reference count by re-enabling a wakeup bit on every resume after BIOS clears it. This affects the described Elkhart Lake out-of-band wakeup behavior; the input does not specify an attacker action or exploitation conditions.
Engineers running Linux on Elkhart Lake platforms with the out-of-band wakeup service enabled should check their kernel; affected versions are not specified.