Re: [PATCH v2] platform/x86: int3472: Fix double free of GPIO device during unregister
From: Ilpo Järvinen
Date: Tue Oct 28 2025 - 12:37:33 EST
On Tue, 28 Oct 2025 14:30:09 +0800, Qiu Wenbo wrote:
> 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.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: int3472: Fix double free of GPIO device during unregister
commit: f0f7a3f542c1698edb69075f25a3f846207facba
--
i.