Skip to content

tpm: Define a kernel-owned TPM NV index that can't be modified by userland

Matthew Garrett keyrings linux-efi linux-integrity linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17tpm: Define a kernel-owned TPM NV index that can't be modified by userlanddrivers/char/tpm/Kconfig drivers/char/tpm/tpm-dev-common.c include/linux/tpm.h +1 more+91 -021 replies
2/17efi: Add a mechanism to modify TPM state depending on kernel security featuresdrivers/firmware/efi/Kconfig drivers/firmware/efi/Makefile drivers/firmware/efi/efi.c +5 more+326 -11 reply
3/17tpm: Allow tpm2_start_auth_session() to start an audit sessiondrivers/char/tpm/tpm2-cmd.c drivers/char/tpm/tpm2-sessions.c include/linux/tpm.h +1 more+32 -131 reply
4/17tpm: Log commands executed in an audit sessiondrivers/char/tpm/tpm-chip.c drivers/char/tpm/tpm.h drivers/char/tpm/tpm2-sessions.c +1 more+115 -31 reply
5/17tpm: Add a kernel attestation key and signed audit digest retrievaldrivers/char/tpm/Makefile drivers/char/tpm/tpm.h drivers/char/tpm/tpm2-ak.c +3 more+437 -02 replies
6/17tpm: Use TPM2_NV_ReadPublic to read NV index namesdrivers/char/tpm/tpm2-sessions.c include/linux/tpm_command.h+10 -20 replies
7/17tpm: Add in-kernel support for reading NV indicesdrivers/char/tpm/tpm-interface.c drivers/char/tpm/tpm.h drivers/char/tpm/tpm2-cmd.c +1 more+152 -00 replies
8/17tpm: Add NV define, undefine and write helpersdrivers/char/tpm/tpm.h drivers/char/tpm/tpm2-cmd.c include/linux/tpm_command.h+222 -190 replies
9/17tpm: Provision the kernel NV index at registrationdrivers/char/tpm/Makefile drivers/char/tpm/tpm-chip.c drivers/char/tpm/tpm-dev-common.c +4 more+326 -00 replies
10/17tpm: Move the bounds-checked response reader to a headerdrivers/char/tpm/tpm2-ak.c drivers/char/tpm/tpm2-rsp.h+134 -870 replies
11/17tpm: Add kernel signing key creation with audited provenancedrivers/char/tpm/Kconfig drivers/char/tpm/Makefile drivers/char/tpm/tpm.h +3 more+456 -12 replies
12/17tpm: Add signing with the kernel signing keydrivers/char/tpm/tpm2-kernel-key.c include/linux/tpm.h include/linux/tpm_command.h+116 -00 replies
13/17tpm: Add verification of kernel signing key provenancedrivers/char/tpm/Kconfig drivers/char/tpm/tpm2-kernel-key.c include/linux/tpm.h+394 -05 replies
14/17PM: hibernate: Add image digest and signature page infrastructurekernel/power/Kconfig kernel/power/hibernate.c kernel/power/power.h +2 more+194 -110 replies
15/17PM: hibernate: Sign and verify images with a kernel-generated TPM keykernel/power/Kconfig kernel/power/Makefile kernel/power/hibernate.c +3 more+265 -30 replies
16/17PM: hibernate: Refuse to verify images with a virtual TPMkernel/power/Kconfig kernel/power/hibernate_tpm.c+26 -00 replies
17/17PM: hibernate: Allow hibernation under lockdown with signed imagesinclude/linux/security.h kernel/power/Kconfig kernel/power/hibernate.c +1 more+20 -53 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread