What’s Vulnerable › Vulnerabilities

CVE-2024-36967: KEYS: trusted: Fix memory leak in tpm2_key_encode()

Description

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix memory leak in tpm2_key_encode() 'scratch' is never freed. Fix this by calling kfree() in the success, and in the error case.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.160, 6.1.92, 6.6.32, 6.8.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-36967 or the next vulnerability affects your stack