CVE-2026-99946
tpm: tpm_nsc: stop using the cleanup callback as dev.release
Description
In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_nsc: stop using the cleanup callback as dev.release tpm_nsc_remove() is called explicitly from cleanup_nsc() and also runs as the platform device release callback on the final platform_device_put(), so the cleanup executes twice on module exit; the second invocation operates on a chip that has already been freed by the devm cleanup, and the I/O region is released twice. Overwriting the release callback installed by platform_device_alloc() also keeps platform_device_release() from running, leaking the platform object allocation. Leave the default release callback in place; the explicit call in cleanup_nsc() remains the single cleanup point.
INFO
Published Date :
Nov. 30, 2026, 2:20 p.m.
Last Modified :
Nov. 30, 2026, 2:20 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to resolve double cleanup.
- Remove explicit calls to tpm_nsc_remove from cleanup_nsc.
- Do not overwrite the default platform device release callback.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99946.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99946 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99946
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99946 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99946 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_nsc: stop using the cleanup callback as dev.release tpm_nsc_remove() is called explicitly from cleanup_nsc() and also runs as the platform device release callback on the final platform_device_put(), so the cleanup executes twice on module exit; the second invocation operates on a chip that has already been freed by the devm cleanup, and the I/O region is released twice. Overwriting the release callback installed by platform_device_alloc() also keeps platform_device_release() from running, leaking the platform object allocation. Leave the default release callback in place; the explicit call in cleanup_nsc() remains the single cleanup point. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99946.json">CVE-2026-99946</a> Added Reference https://git.kernel.org/stable/c/023113932477a4ad1bcd2f014246d90471966fdf Added Reference https://git.kernel.org/stable/c/160acc23dea8d3b5acae35e1effb32788a9aebd1 Added Reference https://git.kernel.org/stable/c/2ae4858a549dbde68b776259f03aed44eb943f50 Added Reference https://git.kernel.org/stable/c/6ae5aa53dec1ec37733174257ee5dd7af38cdd19 Added Reference https://git.kernel.org/stable/c/9729fafb8354dea035b8a412800885e754294dba Added Reference https://git.kernel.org/stable/c/a716a4f7f7929b0da4be532fdf7d96d58a2ce496 Added Reference https://git.kernel.org/stable/c/d94fa66c1b9f0885abe3557f323ee7e2aa6695c8 Added Reference https://git.kernel.org/stable/c/df0ef271087623439a1e900f323ed2a57204706d