Kernel crash via cumulative TPM log-size subtraction
Published Feb 27, 2024 · Updated May 11, 2026
Integer underflow in Linux 5.3 and affected later branches allows local users to crash the kernel through repeated TPM driver reloads. Each tpm_read_log_efi call subtracts final_events_preboot_size from the global efi_tpm_final_log_size, eventually passing an underflowed length to memcpy. Reaching the fault requires local privileges sufficient to load and unload a TPM2 driver repeatedly, and the demonstrated consequence is a kernel service interrupt.
Summary
What happened
Integer underflow in Linux 5.3 and affected later branches allows local users to crash the kernel through repeated TPM driver reloads. Each tpm_read_log_efi call subtracts final_events_preboot_size from the global efi_tpm_final_log_size, eventually passing an underflowed length to memcpy. Reaching the fault requires local privileges sufficient to load and unload a TPM2 driver repeatedly, and the demonstrated consequence is a kernel service interrupt.
The record
- CVE
- CVE-2021-46951
- Published
- Feb 27, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-191
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=166a2809d65b282272c474835ec22c882a39ca1b <2f12258b5224cfaa808c54fd29345f3c1cbfca76
- Affected versionversion=166a2809d65b282272c474835ec22c882a39ca1b <3818b753277f5ca0c170bf5b98e0a5a225542fcb
- Affected versionversion=166a2809d65b282272c474835ec22c882a39ca1b <48cff270b037022e37835d93361646205ca25101
- Affected versionversion=166a2809d65b282272c474835ec22c882a39ca1b <60a01ecc9f68067e4314a0b55148e39e5d58a51b
- Affected versionversion=166a2809d65b282272c474835ec22c882a39ca1b <ac07c557ca12ec9276c0375517bac7ae5be4e50c
- Affected versionversion=5.3
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.
Weakness, pattern, technique
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