Live threats

All CVEs / Linux

CVE-2021-46940Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.2%
probability of exploitation in 30 days · percentile 8
Auth required
Yes
Published
Feb 27, 2024
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-190
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

In the Linux kernel, the following vulnerability has been resolved: tools/power turbostat: Fix offset overflow issue in index converting The idx_to_offset() function returns type int (32-bit signed), but MSR_PKG_ENERGY_STAT is u32 and would be interpreted as a negative number. The end result is that it hits the if (offset < 0) check in update_msr_sum() which prevents the timer callback from updating the stat in the background when long durations are used. The similar issue exists in offset_to_idx() and update_msr_sum(). Fix this issue by converting the 'int' to 'off_t' accordingly.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 5.10.0 < 5.10.36
linuxlinux_kernel≥ 5.11.0 < 5.11.20
linuxlinux_kernel≥ 5.12.0 < 5.12.3

Official sources

References

Links published by the sources. Open them with care.