HomeFreeBSD

tpm: Prevent session hijack

Description

tpm: Prevent session hijack

Check caller thread id before allowing to read the buffer
to make sure that it can only be accessed by the thread that
did the associated write to the TPM.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Reviewed by: delphij
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D19713

Details

Provenance
mwAuthored on
Reviewer
delphij
Differential Revision
D19713: tpm: Prevent session hijack.
Parents
rS346258: MFC: r345818, r345828
Branches
Unknown
Tags
Unknown