Kent Yoder
dd7da132f7
tpm: fix double write race and tpm_release free issue
...
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 >
2012-08-22 11:11:49 -05:00
..
2012-08-12 21:34:09 +03:00
2012-07-27 15:14:26 -07:00
2012-08-02 11:50:24 -07:00
2012-08-06 13:29:57 -07:00
2012-08-08 20:49:33 +02:00
2012-08-02 13:51:46 -04:00
2012-08-04 12:15:39 +04:00
2012-08-22 11:11:49 -05:00
2012-07-30 17:25:13 -07:00
2012-07-23 16:31:31 -07:00
2012-08-08 20:49:25 +02:00
2012-07-26 14:28:55 -07:00
2012-07-31 19:07:42 -07:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-07-30 12:41:17 -07:00
2012-07-30 09:32:39 -07:00
2012-07-31 19:07:42 -07:00
2012-08-14 07:50:36 +03:00
2012-08-15 20:31:22 +10:00
2012-07-31 18:47:44 -07:00
2012-07-31 19:07:42 -07:00
2012-07-30 10:10:26 -07:00
2012-07-31 19:07:42 -07:00
2012-07-26 14:28:55 -07:00
2012-07-30 07:47:27 -07:00
2012-08-09 15:16:41 +02:00
2012-08-06 18:10:04 +02:00
2012-08-06 13:22:50 -07:00
2012-08-13 14:34:02 +08:00
2012-08-02 11:34:40 -07:00
2012-07-31 18:47:44 -07:00
2012-07-30 17:25:17 -07:00
2012-08-10 12:28:57 +02:00
2012-07-30 17:25:34 -07:00
2012-08-01 16:41:07 -07:00
2012-08-12 21:31:44 +03:00
2012-08-12 13:42:18 -07:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 16:17:07 -07:00
2012-07-27 15:14:26 -07:00
2012-08-07 14:34:12 +02:00
2012-08-10 14:29:43 +02:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-07-26 07:45:20 +02:00
2012-07-31 00:51:09 +02:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-08-08 20:49:16 +02:00
2012-08-08 07:32:55 -07:00
2012-08-01 09:02:41 -07:00
2012-08-09 13:21:05 +09:00
2012-08-10 12:27:47 +02:00
2012-08-02 11:52:39 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 18:08:25 -07:00
2012-08-01 13:48:54 +09:00
2012-08-12 21:31:44 +03:00
2012-07-31 08:16:24 -06:00
2012-07-29 13:49:10 -07:00
2012-08-01 10:45:12 -07:00
2012-07-20 08:59:03 +01:00
2012-07-19 15:39:39 -07:00
2012-07-26 11:25:33 -07:00
2012-08-02 11:50:24 -07:00
2012-07-24 16:17:07 -07:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00