Hello, I am currently experiencing the following warning when using the tpm2-software/tpm2-tools, latchset/clevis tools. This was originally reported in the tpm2-tools repository here https://github.com/tpm2-software/tpm2-tools/issues/1676 The maintainer of tpm2-tools suggested that I should report this issue to the linux-integrity distribution list. 1656.971592] ================================================ [ 1656.971605] WARNING: lock held when returning to user space! [ 1656.971619] 5.3.0-0.rc3.git1.1.fc31.x86_64 #1 Tainted: G W [ 1656.971633] ------------------------------------------------ [ 1656.971646] tpm2_createprim/3229 is leaving the kernel with locks still held! [ 1656.971662] 2 locks held by tpm2_createprim/3229: [ 1656.971672] #0: 0000000040f82a51 (&chip->ops_sem){.+.+}, at: tpm_try_get_ops+0x23/0x90 [ 1656.971700] #1: 000000005e2badf9 (&chip->tpm_mutex){+.+.}, at: tpm_try_get_ops+0x3e/0x90 [ 1666.789624] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null) To reproduce, the clevis tool can be used to unlock an encrypted partition with tpm pin: clevis luks unlock -d /dev/mmcblk0p1 -n c1 The OS where this is reproducible is Fedora IoT Rawhide (future 31 release), currently using the Linux Kernel 5.3 The versions of the tools I am using are the following [root@fedora-iot-2 containers]# rpm -qa tpm2* tpm2-tss-2.2.3-2.fc31.x86_64 tpm2-tools-3.2.0-3.fc31.x86_64 [root@fedora-iot-2 containers]# rpm -qa clevis* clevis-luks-11-6.fc31.x86_64 clevis-11-6.fc31.x86_64 clevis-systemd-11-6.fc31.x86_64 clevis-dracut-11-6.fc31.x86_64 Regards, Nicolas Oliver