In the Linux kernel, the following vulnerability has been resolved: tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer The TPM SPI transfer mechanism uses MAX_SPI_FRAMESIZE for computing the maximum transfer length and the size of the transfer buffer. As such, it does not account for the 4 bytes of header that prepends the SPI data frame. This can result in out-of-bounds accesses and was confirmed with KASAN. Introduce SPI_HDRSIZE to account for the header and use to allocate the transfer buffer.
History

Wed, 13 Nov 2024 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-06-21T11:18:46.822Z

Updated: 2024-11-05T09:27:16.183Z

Reserved: 2024-06-21T11:16:40.603Z

Link: CVE-2024-36477

cve-icon Vulnrichment

Updated: 2024-08-02T03:37:05.216Z

cve-icon NVD

Status : Modified

Published: 2024-06-21T12:15:11.040

Modified: 2024-11-21T09:22:15.493

Link: CVE-2024-36477

cve-icon Redhat

Severity : Low

Publid Date: 2024-06-21T00:00:00Z

Links: CVE-2024-36477 - Bugzilla