Re: [PATCH] tpm/eventlog: Use kvmalloc() for event log buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/7/24 7:38 AM, Takashi Iwai wrote:
On Thu, 07 Nov 2024 13:17:33 +0100,
Paul Menzel wrote:

Dear Takashi,


Thank you for the patch.

Am 07.11.24 um 12:18 schrieb Takashi Iwai:
The TPM2 ACPI table may request a large size for the event log, and it
may be over the max size of kmalloc().  When this happens, the driver

What is kmalloc()’s maximum size?

128kB or so, IIRC.
And according Andy, the table can be over 4MB.

Can you copy the contents of the file on that machine and tell us what size it has:

cp /sys/kernel/security/tpm0/binary_bios_measurements ./

I wonder what the BIOS on that system writes into this file and wouldn't exclude a buggy BIOS indicating wrong size and producing a much smaller log.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux