{
  "cveId": "CVE-2021-46940",
  "url": "https://patchblox.com/security/cve/CVE-2021-46940",
  "summary": "CVE-2021-46940 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-46940, released February 27, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  tools/power turbostat: Fix offset overflow issue...",
  "description": "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 \u003C 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 \u0027int\u0027 to \u0027off_t\u0027 accordingly.",
  "published": "2024-02-27T19:04:05Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00222,
  "epssPercentile": 0.12854,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.10.38-1",
      "fix": "DEBIAN-CVE-2021-46940",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-46940",
      "released": "2024-02-27T19:04:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.10.38-1",
      "fix": "DEBIAN-CVE-2021-46940",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-46940",
      "released": "2024-02-27T19:04:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.10.38-1",
      "fix": "DEBIAN-CVE-2021-46940",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-46940",
      "released": "2024-02-27T19:04:05Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}