CVE-2025-39960

Source
https://cve.org/CVERecord?id=CVE-2025-39960
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39960.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39960
Downstream
Published
2025-10-09T12:13:21.327Z
Modified
2026-04-02T12:48:13.935059Z
Summary
gpiolib: acpi: initialize acpi_gpio_info struct
Details

In the Linux kernel, the following vulnerability has been resolved:

gpiolib: acpi: initialize acpigpioinfo struct

Since commit 7c010d463372 ("gpiolib: acpi: Make sure we fill struct acpigpioinfo"), uninitialized acpigpioinfo struct are passed to _acpifindgpio() and later in the call stack info->quirks is used in acpipopulategpiolookup. This breaks the i2chidcpi driver:

[ 58.122916] i2chidacpi i2c-UNIW0001:00: HID over i2c has not been provided an Int IRQ [ 58.123097] i2chidacpi i2c-UNIW0001:00: probe with driver i2chidacpi failed with error -22

Fix this by initializing the acpigpioinfo pass to __acpifindgpio()

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39960.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7c010d463372140006bf96985a306d6cbfc6e118
Fixed
27d94a2a52cbb54927c0140bd5b978c56e9a283a
Fixed
19c839a98c731169f06d32e7c9e00c78a0086ebe

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39960.json"