tpm: Use kfree_sensitive() to free auth session in tpm_dev_release()

Summary

CVECVE-2026-46283
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-08 17:16:46 UTC
Updated2026-06-08 17:16:46 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: tpm: Use kfree_sensitive() to free auth session in tpm_dev_release() tpm_dev_release() uses plain kfree() to free chip->auth, which contains sensitive cryptographic material including HMAC session keys, nonces, and passphrase data (struct tpm2_auth). Every other code path that frees this structure uses kfree_sensitive() to zero the memory before releasing it: both tpm2_end_auth_session() and tpm_buf_check_hmac_response() do so. The tpm_dev_release() path is the only one that does not, leaving key material in freed slab memory until it is eventually overwritten. Use kfree_sensitive() for consistency with the rest of the driver and to ensure session keys are scrubbed during device teardown.

Risk And Classification

EPSS: 0.000180000 probability, percentile 0.047800000 (date 2026-06-10)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 699e3efd6c645c741ea4d6d58282c56b6d108cf7 dd3ac52ea7a001406c7dbc663aae4b9f89da679a git Not specified
CNA Linux Linux affected 699e3efd6c645c741ea4d6d58282c56b6d108cf7 53e6d2d834df40960b655b353e7a8ff4d927e1c7 git Not specified
CNA Linux Linux affected 699e3efd6c645c741ea4d6d58282c56b6d108cf7 84ced03172da544c9f8c0862faad48104f519352 git Not specified
CNA Linux Linux affected 699e3efd6c645c741ea4d6d58282c56b6d108cf7 c424d2664f08c77f08b4580b5f0cbaabf7c229b2 git Not specified
CNA Linux Linux affected 6.10 Not specified
CNA Linux Linux unaffected 6.10 semver Not specified
CNA Linux Linux unaffected 6.12.86 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.27 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.4 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/53e6d2d834df40960b655b353e7a8ff4d927e1c7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dd3ac52ea7a001406c7dbc663aae4b9f89da679a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c424d2664f08c77f08b4580b5f0cbaabf7c229b2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/84ced03172da544c9f8c0862faad48104f519352 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report