diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2018-05-09 11:55:35 -0700 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-05-14 13:56:06 +0300 |
commit | 8c81c24758ffbf17cf06c6835d361ffa57be2f0e (patch) | |
tree | 1d8e67f52711db039a4396a0d79c656c6aa02cfb /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 59f5a6b07f6434efac0057dc2f303a96b871811b (diff) |
tpm: fix use after free in tpm2_load_context()
If load context command returns with TPM2_RC_HANDLE or TPM2_RC_REFERENCE_H0
then we have use after free in line 114 and double free in 117.
Fixes: 4d57856a21ed2 ("tpm2: add session handle context saving and restoring to the space code")
Cc: stable@vger.kernel.org
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off--by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions