Double Free Vulnerability in Linux Kernel Affects ThinkPad X9 Devices
CVE-2025-40296
Currently unrated
What is CVE-2025-40296?
A vulnerability in the Linux kernel related to the GPIO device management has been identified, specifically impacting ThinkPad X9 devices. This issue arises during the unregistration of GPIO devices, leading to a double free condition which can cause random failures as other drivers, notably Intel THC, attempt to allocate interrupts. The trouble is traced back to an unexpected drop in the reference count of the pinctrl_intel_platform module when its probe is deferred. To mitigate this flaw, the redundant release of the GPIO device during the regulator's unregistration process has been removed, ensuring system stability and security.
Affected Version(s)
Linux 1e5d088a52c207bcef6a43a6f6ffe162c514ed64
Linux 1e5d088a52c207bcef6a43a6f6ffe162c514ed64
Linux 6.16