← CVE Intelligence

CVE-2024-42255

tpm: Use auth only after NULL check in tpm_buf_check_hmac_response() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: tpm: Use auth only after NULL check in tpm_buf_check_hmac_response() Dereference auth after NULL check in tpm_buf_check_hmac_response(). Otherwise, unless tpm2_sessions_init() was called, a call can cause NULL dereference, when TCG_TPM2_HMAC is enabled. [jarkko: adjusted the commit message.]

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d before b9afbb9a0c734197c59c43610071041044bf1562; affected 7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d before 7dc357d343f134bf59815ff6098b93503ec8a23b
Linux / Linuxaffected 6.10; unaffected 0 before 6.10; unaffected 6.10.1 through 6.10.*; unaffected 6.11 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.