Kernel buffer over-read via omitted TPM SPI header
Published Jun 21, 2024 · Updated Aug 5, 2026
Out-of-bounds read in the Linux TPM SPI driver allows local users to read past a kernel transfer buffer during TPM communication. The buffer is sized to MAX_SPI_FRAMESIZE even though the driver prepends a four-byte header, so a maximum-size frame crosses the allocation boundary. Reachability requires local low-privileged access and a TPM attached over SPI; KASAN confirmed the boundary violation.
Summary
What happened
Out-of-bounds read in the Linux TPM SPI driver allows local users to read past a kernel transfer buffer during TPM communication. The buffer is sized to MAX_SPI_FRAMESIZE even though the driver prepends a four-byte header, so a maximum-size frame crosses the allocation boundary. Reachability requires local low-privileged access and a TPM attached over SPI; KASAN confirmed the boundary violation.
The record
- CVE
- CVE-2024-36477
- Published
- Jun 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.6
- Affected versionversion=a86a42ac2bd652fdc7836a9d880c306a2485c142 <1547183852dcdfcc25878db7dd3620509217b0cd
- Affected versionversion=a86a42ac2bd652fdc7836a9d880c306a2485c142 <195aba96b854dd664768f382cd1db375d8181f88
- Affected versionversion=a86a42ac2bd652fdc7836a9d880c306a2485c142 <de13c56f99477b56980c7e00b09c776d16b7563d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo