7.3high
gpiolib: acpi: initialize acpi_gpio_info struct
- Severity
- 7.3high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: gpiolib: acpi: initialize acpi_gpio_info struct Since commit 7c010d463372 ("gpiolib: acpi: Make sure we fill struct acpi_gpio_info"), uninitialized acpi_gpio_info struct are passed to __acpi_find_gpio() and later in the call stack info->quirks is used in acpi_populate_gpio_lookup. This breaks the i2c_hid_cpi driver: [ 58.122916] i2c_hid_acpi i2c-UNIW0001:00: HID over i2c has not been provided an Int IRQ [ 58.123097] i2c_hid_acpi i2c-UNIW0001:00: probe with driver i2c_hid_acpi failed with error -22 Fix this by initializing the acpi_gpio_info pass to __acpi_find_gpio()
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7c010d463372140006bf96985a306d6cbfc6e118 before 27d94a2a52cbb54927c0140bd5b978c56e9a283a, from 7c010d463372140006bf96985a306d6cbfc6e118 before 19c839a98c731169f06d32e7c9e00c78a0086ebe, 6.16 Not affected: before 6.16, from 6.16.9 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.16 before 6.16.9, 6.17 | NVD |
All scores
| Linux | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: gpiolib: acpi: initialize acpi_gpio_info struct Since commit 7c010d463372 ("gpiolib: acpi: Make sure we fill struct acpi_gpio_info"), uninitialized acpi_gpio_info struct are passed to __acpi_find_gpio() and later in the call stack info->quirks is used in acpi_populate_gpio_lookup. This breaks the i2c_hid_cpi driver: [ 58.122916] i2c_hid_acpi i2c-UNIW0001:00: HID over i2c has not been provided an Int IRQ [ 58.123097] i2c_hid_acpi i2c-UNIW0001:00: probe with driver i2c_hid_acpi failed with error -22 Fix this by initializing the acpi_gpio_info pass to __acpi_find_gpio()
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: gpiolib: acpi: inicializar la estructura acpi_gpio_info Desde el commit 7c010d463372 ('gpiolib: acpi: Asegurarse de que rellenamos la estructura acpi_gpio_info'), se pasan estructuras acpi_gpio_info no inicializadas a __acpi_find_gpio() y más tarde en la pila de llamadas info->quirks se utiliza en acpi_populate_gpio_lookup. Esto rompe el controlador i2c_hid_cpi: [ 58.122916] i2c_hid_acpi i2c-UNIW0001:00: No se ha proporcionado una IRQ Int a HID sobre i2c [ 58.123097] i2c_hid_acpi i2c-UNIW0001:00: la sonda con el controlador i2c_hid_acpi falló con el error -22 Solucione esto inicializando la acpi_gpio_info pasada a __acpi_find_gpio()
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39960 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-39960 changed 2026-10-19 | Public domain |