{"id":"CVE-2024-42255","published":"2024-08-08T08:49:15Z","modified":"2026-05-11T20:28:48Z","title":"tpm: Use auth only after NULL check in tpm_buf_check_hmac_response()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: Use auth only after NULL check in tpm_buf_check_hmac_response()\n\nDereference auth after NULL check in tpm_buf_check_hmac_response().\nOtherwise, unless tpm2_sessions_init() was called, a call can cause NULL\ndereference, when TCG_TPM2_HMAC is enabled.\n\n[jarkko: adjusted the commit message.]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00183,"percentile":0.08041,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b9afbb9a0c734197c59c43610071041044bf1562","tags":[]},{"url":"https://git.kernel.org/stable/c/7dc357d343f134bf59815ff6098b93503ec8a23b","tags":[]}],"priority":{"score":1.6,"factors":[{"name":"EPSS percentile","points":1.61}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d, < b9afbb9a0c734197c59c43610071041044bf1562",">= 7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d, < 7dc357d343f134bf59815ff6098b93503ec8a23b"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:13:03.203312Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39478","exploited":false,"provenance":"source"}}