CVE-2024-36477CWE-125

CVE-2024-36477

High · published June 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
11.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00220 · 11.9th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-06-21T16:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel> 6.6, < 6.6.336.6.33
linux/linux_kernel> 6.7, < 6.9.46.9.4
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 21 JUN 11:18Z
    tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer
    cvelistv5