mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
dd7da132f7
Moved the atomic_set of the data_pending variable until after the tpm_read has completed processing. The existing code had a window of time where a second write to the driver could clobber the tpm command buffer. Also fixed an issue where if close was called on the tpm device before a read completed, the tpm command buffer would be returned to the OS, which could contain sensitive information. Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tpm_acpi.c | ||
tpm_atmel.c | ||
tpm_atmel.h | ||
tpm_eventlog.c | ||
tpm_eventlog.h | ||
tpm_i2c_infineon.c | ||
tpm_infineon.c | ||
tpm_nsc.c | ||
tpm_tis.c | ||
tpm.c | ||
tpm.h |