CVE-2024-42255

medium

Description

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.]

References

https://git.kernel.org/stable/c/b9afbb9a0c734197c59c43610071041044bf1562

https://git.kernel.org/stable/c/7dc357d343f134bf59815ff6098b93503ec8a23b

Details

Source: Mitre, NVD

Published: 2024-08-08

Updated: 2024-09-06

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium