{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53085","id":"CVE-2024-53085","title":"tpm: Lock TPM chip in tpm_pm_suspend() first","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: Lock TPM chip in tpm_pm_suspend() first\n\nSetting TPM_CHIP_FLAG_SUSPENDED in the end of tpm_pm_suspend() can be racy\naccording, as this leaves window for tpm_hwrng_read() to be called while\nthe operation is in progress. The recent bug report gives also evidence of\nthis behaviour.\n\nAadress this by locking the TPM chip before c","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: Lock TPM chip in tpm_pm_suspend() first\n\nSetting TPM_CHIP_FLAG_SUSPENDED in the end of tpm_pm_suspend() can be racy\naccording, as this leaves window for tpm_hwrng_read() to be called while\nthe operation is in progress. The recent bug report gives also evidence of\nthis behaviour.\n\nAadress this by locking the TPM chip before checking any chip->flags both\nin tpm_pm_suspend() and tpm_hwrng_read(). Move TPM_CHIP_FLAG_SUSPENDED\ncheck inside tpm_get_random() so that it will be always checked only when\nthe lock is reserved.","published":"2024-11-19T17:45:14.209Z","updated":"2026-11-17T07:00:31.007129597Z","reserved":"2024-11-19T17:17:24.979Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"99d46450625590d410f86fe4660a5eff7d3b8343","lessThan":"cfaf83501a0cbb104499c5b0892ee5ebde4e967f","status":"affected","versionType":"git"},{"version":"99d46450625590d410f86fe4660a5eff7d3b8343","lessThan":"bc203fe416abdd1c29da594565a7c3c4e979488e","status":"affected","versionType":"git"},{"version":"99d46450625590d410f86fe4660a5eff7d3b8343","lessThan":"9265fed6db601ee2ec47577815387458ef4f047a","status":"affected","versionType":"git"},{"version":"7cd46930b8bf37b84777410ac21bfdf1179021d5","status":"affected","versionType":"git"},{"version":"eeda114c92c7b2db69878cdf27163750fd57cfe2","status":"affected","versionType":"git"},{"version":"6.1.31","lessThan":"6.2","status":"affected","versionType":"semver"},{"version":"6.3.5","lessThan":"6.4","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.8","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/cfaf83501a0cbb104499c5b0892ee5ebde4e967f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bc203fe416abdd1c29da594565a7c3c4e979488e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9265fed6db601ee2ec47577815387458ef4f047a","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53085.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53085","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00173,"epssPercentile":0.06896,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53085","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53085","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53085","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53085","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}