CVE-2025-40296

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux1e5d088a52c207bcef6a43a6f6ffe162c514ed64 < b8113bb56c45bd17bac5144b55591f9cdbd6aabeaffected
LinuxLinux1e5d088a52c207bcef6a43a6f6ffe162c514ed64 < f0f7a3f542c1698edb69075f25a3f846207facbaaffected
LinuxLinux6.16affected
LinuxLinux0 < 6.16unaffected
LinuxLinux6.17.8 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References