aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJarkko Sakkinen <[email protected]>2024-07-03 18:33:14 +0300
committerJarkko Sakkinen <[email protected]>2024-07-05 02:12:27 +0300
commita61809a33239821d70eba77bd0d6d13c29bbad0d (patch)
treed3c7df258ce38eea2a304c3585755c8d7aab4d14 /scripts/bpf_doc.py
parent25ee48a55fd59c72e0bd46dd9160c2d406b5a497 (diff)
tpm: Address !chip->auth in tpm_buf_append_name()
Unless tpm_chip_bootstrap() was called by the driver, !chip->auth can cause a null derefence in tpm_buf_append_name(). Thus, address !chip->auth in tpm_buf_append_name() and remove the fallback implementation for !TCG_TPM2_HMAC. Cc: [email protected] # v6.10+ Reported-by: Stefan Berger <[email protected]> Closes: https://lore.kernel.org/linux-integrity/[email protected]/ Fixes: d0a25bb961e6 ("tpm: Add HMAC session name/handle append") 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