Commit 5e5c20a
committed
modules/tpm-gpio-reset: TPM GPIO reset audit and assertion tools
Adds tpm-gpio-detect (audit) and tpm-gpio-assert (execute) from
tlaurion/tpm-gpio-fail, based on Mate Kukri original PoC. Libpci
PCI access. PCR output before/after assertion. ASCII output.
Module depends on pciutils, tpm2-tools. Built when CONFIG_TPM2_TOOLS=y.
TESTED: NV4x ADL-P (0x5182) — PCRs cleared to zero, confirmed.
ALL OTHER PLATFORMS UNTESTED.
Docs: TPM GPIO vulnerability docs point to Heads Wiki threat model.
initrd: .bash_history entries for recovery shell testing.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>1 parent 50f4807 commit 5e5c20a
7 files changed
Lines changed: 74 additions & 2147 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
753 | 754 | | |
754 | 755 | | |
755 | 756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
| |||
0 commit comments