CVE-2025-39960 gpiolib: acpi: initialize acpi_gpio_info struct

High 7.3 Published Updated

Uninitialized struct usage in Linux kernel GPIO subsystem causes driver probe failures and potential denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-39960?

CVE-2025-39960 is a high-severity vulnerability in Linux kernel, published on 9 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2025-39960?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-39960?

Apply the vendor's patch.

Is CVE-2025-39960 being exploited?

There is no known exploitation of CVE-2025-39960 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-39960, DEBIAN-CVE-2025-39960, GHSA-328c-wrf2-c723, UBUNTU-CVE-2025-39960.

Is CVE-2025-39960 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free