# CVE-2026-46283: tpm: Use kfree_sensitive() to free auth session in tpm_dev_release()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-08T15:41:26.425Z
- Modified: 2026-07-23T08:10:00.137Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 699e3efd6c645c741ea4d6d58282c56b6d108cf7 before dd3ac52ea7a001406c7dbc663aae4b9f89da679a; from 699e3efd6c645c741ea4d6d58282c56b6d108cf7 before 53e6d2d834df40960b655b353e7a8ff4d927e1c7; from 699e3efd6c645c741ea4d6d58282c56b6d108cf7 before 84ced03172da544c9f8c0862faad48104f519352; from 699e3efd6c645c741ea4d6d58282c56b6d108cf7 before c424d2664f08c77f08b4580b5f0cbaabf7c229b2; 6.10 (not affected: before 6.10; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.10 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/dd3ac52ea7a001406c7dbc663aae4b9f89da679a> (patch)
- <https://git.kernel.org/stable/c/53e6d2d834df40960b655b353e7a8ff4d927e1c7> (patch)
- <https://git.kernel.org/stable/c/84ced03172da544c9f8c0862faad48104f519352> (patch)
- <https://git.kernel.org/stable/c/c424d2664f08c77f08b4580b5f0cbaabf7c229b2> (patch)

## Sources

- CVE List: [CVE-2026-46283](https://www.cve.org/CVERecord?id=CVE-2026-46283), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46283](https://nvd.nist.gov/vuln/detail/CVE-2026-46283), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-46283 · Whole record: https://cve.day/CVE-2026-46283.json · Rebuilt by cve.day 2026-11-25T22:59:24.003Z
