CVE-2025-40296

Linux Kernel 6.16-6.17.7 - Use-After-Free in GPIO Device Unregistration

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0003
EPSS Percentile 8.0%

Details

Status published
Products (7)
linux/Kernel 6.16.0 - 6.17.8linux
Linux/Linux < 6.16
Linux/Linux 1e5d088a52c207bcef6a43a6f6ffe162c514ed64 - b8113bb56c45bd17bac5144b55591f9cdbd6aabe
Linux/Linux 1e5d088a52c207bcef6a43a6f6ffe162c514ed64 - f0f7a3f542c1698edb69075f25a3f846207facba
Linux/Linux 6.16
Linux/Linux 6.17.8 - 6.17.*
Linux/Linux 6.18
Published Dec 08, 2025
Tracked Since Feb 18, 2026