CVE-2024-53085
MediumIn the Linux kernel, the following vulnerability has been resolved: tpm: Lock TPM chip in tpm_pm_suspend() first Setting TPM_CHIP_FLAG_SUSPENDED in the end of tpm_pm_suspend() can be racy according, as this leaves window for tpm_hwrng_read() to be called while the operation is in progress. The recent bug report gives also evidence of this behaviour. Aadress this by locking the TPM chip before checking any chip->flags both in tpm_pm_suspend() and tpm_hwrng_read(). Move TPM_CHIP_FLAG_SUSPENDED check inside tpm_get_random() so that it will be always checked only when the lock is reserved.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2024-53085 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.1.31,
6.3.5,
6.4
and later are affected. Fixed in
6.6.64,
6.11.8,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-53085 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9265fed6db601ee2ec47577815387458ef4f047a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bc203fe416abdd1c29da594565a7c3c4e979488e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/cfaf83501a0cbb104499c5b0892ee5ebde4e967f
Frequently asked questions
-
What is CVE-2024-53085?
CVE-2024-53085 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 6.1.31 onward and has been patched in 6.6.64, 6.11.8 and 6.12. CVE-2024-53085 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-53085?
CVE-2024-53085 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-53085?
Yes — CVE-2024-53085 has been patched. Fixed versions include 6.6.64, 6.11.8 and 6.12. If you are running Linux kernel 6.1.31 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-53085 actively exploited?
No — CVE-2024-53085 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →