Energy-statistics interruption via signed offset overflow
Published Feb 27, 2024 · Updated May 11, 2026
Integer overflow in Linux kernel turbostat allows local users to interrupt background energy-statistics updates during long runs. The idx_to_offset(), offset_to_idx(), and update_msr_sum() paths use signed 32-bit int offsets for unsigned MSR identifiers, so MSR_PKG_ENERGY_STAT becomes negative and trips the offset rejection check. The flaw requires local turbostat execution with long-duration timer sampling and stops statistics refreshes rather than crashing or modifying the kernel.
Summary
What happened
Integer overflow in Linux kernel turbostat allows local users to interrupt background energy-statistics updates during long runs. The idx_to_offset(), offset_to_idx(), and update_msr_sum() paths use signed 32-bit int offsets for unsigned MSR identifiers, so MSR_PKG_ENERGY_STAT becomes negative and trips the offset rejection check. The flaw requires local turbostat execution with long-duration timer sampling and stops statistics refreshes rather than crashing or modifying the kernel.
The record
- CVE
- CVE-2021-46940
- Published
- Feb 27, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-190
- 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=5.10
- Affected versionversion=9972d5d84d76982606806b2ce887f70c2f8ba60a <13a779de4175df602366d129e41782ad7168cef0
- Affected versionversion=9972d5d84d76982606806b2ce887f70c2f8ba60a <337b1546cde87fb8588ddaedf0201b769baa572a
- Affected versionversion=9972d5d84d76982606806b2ce887f70c2f8ba60a <dbdf22fc825fdb1d97f23230064e0f9819471628
- Affected versionversion=9972d5d84d76982606806b2ce887f70c2f8ba60a <ea6803ff2cd1a2d7d880256bf562172b708a76ff
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