What’s Vulnerable › Vulnerabilities

CVE-2024-49851: tpm: Clean up TPM space after command failure

Description

In the Linux kernel, the following vulnerability has been resolved: tpm: Clean up TPM space after command failure tpm_dev_transmit prepares the TPM space before attempting command transmission. However if the command fails no rollback of this preparation is done. This can result in transient handles being leaked if the device is subsequently closed with no further commands performed. Fix this by flushing the space in the event of command transmission failure.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.227, 5.15.168, 6.1.113, 6.10.13. Check the vendor advisory for mitigations.

References

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