# CVE-2025-40296: platform/x86: int3472: Fix double free of GPIO device during unregister

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2025-12-08T00:46:20.017Z
- Modified: 2026-10-14T22:10:00.210Z
- Assigned by: Linux

## Description

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

platform/x86: int3472: Fix double free of GPIO device during unregister

regulator_unregister() already frees the associated GPIO device. On
ThinkPad X9 (Lunar Lake), this causes a double free issue that leads to
random failures when other drivers (typically Intel THC) attempt to
allocate interrupts. The root cause is that the reference count of the
pinctrl_intel_platform module unexpectedly drops to zero when this
driver defers its probe.

This behavior can also be reproduced by unloading the module directly.

Fix the issue by removing the redundant release of the GPIO device
during regulator unregistration.

(As written by CVE List.)

## Affected

- Linux Linux: from 1e5d088a52c207bcef6a43a6f6ffe162c514ed64 before b8113bb56c45bd17bac5144b55591f9cdbd6aabe; from 1e5d088a52c207bcef6a43a6f6ffe162c514ed64 before f0f7a3f542c1698edb69075f25a3f846207facba; 6.16 (not affected: before 6.16; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/b8113bb56c45bd17bac5144b55591f9cdbd6aabe>
- <https://git.kernel.org/stable/c/f0f7a3f542c1698edb69075f25a3f846207facba>

## Sources

- CVE List: [CVE-2025-40296](https://www.cve.org/CVERecord?id=CVE-2025-40296), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40296](https://nvd.nist.gov/vuln/detail/CVE-2025-40296), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40296 · Whole record: https://cve.day/CVE-2025-40296.json · Rebuilt by cve.day 2026-11-25T22:59:08.394Z
