Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AAFA41A0BE0 for ; Mon, 8 Dec 2025 00:48:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765154924; cv=none; b=cLiGZYafk3TG/6LSYGg+g1dueo8CvkHIvrCMG60BFnvpaeqcxJrq4ow8d1KY+IdlMvEwjADHPSGAspb9pDnlL1PtN/jI8fR93hpKBgDkO5HiqieWiLU8MaK3ac7Lhb1MEwUtcVT4r9+JxR4JCdUMXT4GcTOgVA8y2xWpnKAq5N0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765154924; c=relaxed/simple; bh=1H4YVWi5O8Vb6uDvIBsoXTDmvcbBTm4lOq2Zc5OIS0Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GMZilUt5y47vE7v8g9Ey1az9qvZLSW/MWOWhxVj5xttTQSpg0iRnbbESW+WNnA2cwGdOXbPFmjnCkQjON66KbbW20r0uBBWQOoeTXlVTOlH6ELLz2QZx0lkWslBpQCnrl+xNPkHCEPC3X+RD/N+xe553X2jbjxV9GK84TDB0Ylo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1i6GN1xo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1i6GN1xo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0331DC4CEFB; Mon, 8 Dec 2025 00:48:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765154924; bh=1H4YVWi5O8Vb6uDvIBsoXTDmvcbBTm4lOq2Zc5OIS0Y=; h=From:To:Cc:Subject:Date:Reply-To:From; b=1i6GN1xoafGN61r1d5iI/7+rTSMhUlw5UlEoYSeb22juIa4i11tOkpX1IAcBuflWC oBBkbFQf42j5RBHKQIbfRdmUBD9hxLvH60KdAEfGex+aVqq6kJzuu9nAAl9c5HfOMH MbCxQJkuXiFKAdsRMdt1MQWDYsF5hkQfuZBn/lkQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40296: platform/x86: int3472: Fix double free of GPIO device during unregister Date: Mon, 8 Dec 2025 09:47:21 +0900 Message-ID: <2025120818-CVE-2025-40296-0769@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2406; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WPDn0bCgnfDN5eca66P43LTb51rSK94i3by1rEOedAs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlmCuLP8udurOrSE78Y/ujarJ8vlGfa3/G7sfKdyqGsj 6K7ZVq5O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiT+QYFuzKUtRMnBng9UbA 2XCpKbc/H/c9ZoYFR+W+pDbIz1z++5zZKhbzDUfYT8yIAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2025-40296 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 1e5d088a52c207bcef6a43a6f6ffe162c514ed64 and fixed in 6.17.8 with commit b8113bb56c45bd17bac5144b55591f9cdbd6aabe Issue introduced in 6.16 with commit 1e5d088a52c207bcef6a43a6f6ffe162c514ed64 and fixed in 6.18 with commit f0f7a3f542c1698edb69075f25a3f846207facba Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-40296 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/platform/x86/intel/int3472/clk_and_regulator.c include/linux/platform_data/x86/int3472.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b8113bb56c45bd17bac5144b55591f9cdbd6aabe https://git.kernel.org/stable/c/f0f7a3f542c1698edb69075f25a3f846207facba