diff options
author | Jarkko Sakkinen <[email protected]> | 2024-07-03 19:39:27 +0300 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2024-07-05 02:12:27 +0300 |
commit | 25ee48a55fd59c72e0bd46dd9160c2d406b5a497 (patch) | |
tree | 76bdf260edbe90e3bcaaf6a295fbc5dd96822a19 /scripts/bpf_doc.py | |
parent | 661e504db04c6b7278737ee3a9116738536b4ed4 (diff) |
tpm: Address !chip->auth in tpm2_*_auth_session()
Unless tpm_chip_bootstrap() was called by the driver, !chip->auth can cause
a null derefence in tpm2_*_auth_session(). Thus, address !chip->auth in
tpm2_*_auth_session().
Cc: [email protected] # v6.9+
Reported-by: Stefan Berger <[email protected]>
Closes: https://lore.kernel.org/linux-integrity/[email protected]/
Fixes: 699e3efd6c64 ("tpm: Add HMAC session start and end functions")
Tested-by: Michael Ellerman <[email protected]> # ppc
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions