CVE-2024-53085

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/11/2024
Last modified:
09/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> tpm: Lock TPM chip in tpm_pm_suspend() first<br /> <br /> Setting TPM_CHIP_FLAG_SUSPENDED in the end of tpm_pm_suspend() can be racy<br /> according, as this leaves window for tpm_hwrng_read() to be called while<br /> the operation is in progress. The recent bug report gives also evidence of<br /> this behaviour.<br /> <br /> Aadress this by locking the TPM chip before checking any chip-&gt;flags both<br /> in tpm_pm_suspend() and tpm_hwrng_read(). Move TPM_CHIP_FLAG_SUSPENDED<br /> check inside tpm_get_random() so that it will be always checked only when<br /> the lock is reserved.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.4 (including) 6.11.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*