CVE-2026-46283

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

State
Published
Severity
Not scored
Published
Jun 8, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 699e3efd6c645c741ea4d6d58282c56b6d108cf7 to before dd3ac52ea7a001406c7dbc663aae4b9f89da679aAffected
  • 699e3efd6c645c741ea4d6d58282c56b6d108cf7 to before 53e6d2d834df40960b655b353e7a8ff4d927e1c7Affected
  • 699e3efd6c645c741ea4d6d58282c56b6d108cf7 to before 84ced03172da544c9f8c0862faad48104f519352Affected
  • 699e3efd6c645c741ea4d6d58282c56b6d108cf7 to before c424d2664f08c77f08b4580b5f0cbaabf7c229b2Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.