---
id: CVE-2025-40296
title: |-
  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
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), t…
severity: none
published: '2025-12-08'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:10:00.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-40296'
references:
  - url: 'https://git.kernel.org/stable/c/b8113bb56c45bd17bac5144b55591f9cdbd6aabe'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f0f7a3f542c1698edb69075f25a3f846207facba'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00185
epssPercentile: 0.07514
ingestedAt: '2026-10-14T23:00:02.016Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
