CVE-2024-42255

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d < b9afbb9a0c734197c59c43610071041044bf1562affected
LinuxLinux7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d < 7dc357d343f134bf59815ff6098b93503ec8a23baffected
LinuxLinux6.10affected
LinuxLinux0 < 6.10unaffected
LinuxLinux6.10.1 <= 6.10.*unaffected
LinuxLinux6.11 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References