SecurityContext

CVE-2024-36477: Linux Kernel - Buffer Overflow

  • Cve: CVE-2024-36477
  • Name: Linux Kernel - Buffer Overflow
  • Description: 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.
  • Impact: Local privilege escalation or kernel memory corruption due to out-of-bounds access.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local privilege to exploit
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0022
  • Epss percentile: 0.12416
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-06-21T12:15:11Z
  • Age in days: 886
  • Modified at: 2026-08-04T11:18:25Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-36477
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
  • Tags: Mailing List, Patch
Url
https://git.kernel.org/stable/c/1547183852dcdfcc25878db7dd3620509217b0cd
https://git.kernel.org/stable/c/195aba96b854dd664768f382cd1db375d8181f88
https://git.kernel.org/stable/c/de13c56f99477b56980c7e00b09c776d16b7563d

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.10 rc1; > 6.7, < 6.9.4; > 6.6, < 6.6.33nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports