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

Committed
mwApr 16 2019, 2:28 AM
Reviewer
delphij
Differential Revision
D19713: tpm: Prevent session hijack.
Parents
rS346258: MFC: r345818, r345828
Branches
Unknown
Tags
Unknown