(In reply to Alberto Planas Dominguez from comment #3) > (In reply to Gary Ching-Pang Lin from comment #2) > > It seems tpm2_eventlog tried to do "fseek(fp, 0, SEEK_END)" but the > > securityfs entry didn't return the size. > > > > I didn't see any suspicious change in tpm driver between 5.12.4 and 5.12.9 > > and there is even no change in securityfs (security/inode.c). > > Interesting. I will share this with upstream. > Thanks. > The test that I did in https://bugzilla.suse.com/show_bug.cgi?id=1185869#c11 > suggest that this was working as expected before, and I am still using the > same tpm2-tools version. I guess some other kernel change caused the seek failure. Maybe vfs?