CVE-2023-52519
JSON

7.1high

HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2e23a70edabe933284f690dff49497fb6b82b0e5 before 8781fe259dd5a178fdd1069401bbd1437f9491c5, from 2e23a70edabe933284f690dff49497fb6b82b0e5 before cdcc04e844a2d22d9d25cef1e8e504a174ea9f8f, from 2e23a70edabe933284f690dff49497fb6b82b0e5 before 60fb3f054c99608ddb1f2466c07108da6292951e, from 2e23a70edabe933284f690dff49497fb6b82b0e5 before 8f02139ad9a7e6e5c05712f8c1501eebed8eacfd, 5.12
Not affected: before 5.12, from 5.15.135 up to 5.15.*, from 6.1.57 up to 6.1.*, from 6.5.7 up to 6.5.*, from 6.6 up to *
CVE List
linux linux_kernelfrom 5.12 before 5.15.135, from 5.16 before 6.1.57, from 6.2 before 6.5.7, 6.6NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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().

NVD (es)

En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: HID: intel-ish-hid: ipc: Deshabilita y vuelve a habilitar el bit ACPI GPE Las plataformas basadas en EHL (Elkhart Lake) proporcionan un servicio OOB (Fuera de banda), que permite despertar dispositivo cuando el sistema está en S5 (estado Soft-Off). Este servicio OOB se puede habilitar/deshabilitar desde la configuración del BIOS. Cuando está habilitado, el dispositivo ISH obtiene la capacidad de activación PME. Para habilitar la activación de PME, el controlador también debe habilitar el bit ACPI GPE. Al reanudar, el BIOS borrará el bit de activación. Por lo tanto, el controlador debe volver a habilitarlo en la función de reanudación para mantener la siguiente capacidad de activación. Pero esta limpieza del bit de activación del BIOS no disminuye el recuento de referencias GPE del sistema operativo interno, por lo que esta reactivación en cada reanudación provocará que el recuento de referencias se desborde. Entonces, primero deshabilite y vuelva a habilitar el bit ACPI GPE usando acpi_disable_gpe().

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52519 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52519 changed 2026-06-17Public domain