VDB

CVE-2024-36477

CVE-2024-36477 PUBLISHED CVSS 7.8 HIGH

tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer

Reported by linux · Published June 21, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.4, 6.6.33

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa86a42ac2bd652fdc7836a9d880c306a2485c142, a86a42ac2bd652fdc7836a9d880c306a2485c142, a86a42ac2bd652fdc7836a9d880c306a2485c142
LinuxLinux6.6, 0, 6.6.33
linuxlinux_kernel6.6, 6.6, 6.6
LinuxLinux*, 6.6, 0

Timeline

  • Jun 21, 2024 CVE Published
  • Jun 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 10, 2026 Security Advisory (114 in total, the first dated here)
  • May 28, 2026 Distribution Patch (94 in total, the first dated here)
  • Aug 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-36477
vulnetix vdb fixes CVE-2024-36477

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36477/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›