LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50366: powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue

In the Linux kernel, the following vulnerability has been resolved: powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue When value < time_unit, the parameter of ilog2() will be zero and the return value is -1. u64(-1) is too large for shift exponent and then will trigger shift-out-of-bounds: shift exponent 18446744073709551615 is too large for 32-bit type 'int' Call Trace: rapl_compute_time_window_core rapl_write_data_raw set_time_window store_constraint_time_window_us

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2022-50366 is a Linux kernel flaw in Intel RAPL power management handling. A local low-privileged user may be able to trigger a kernel error that affects confidentiality and availability. Public sources do not show active exploitation, and CISA KEV status is false in the provided data.

Executive priority

Treat as a priority kernel update for Linux fleets, especially multi-user servers and research or compute systems. It is not presented as internet-exploitable in the sources, but kernel confidentiality and availability impact warrants timely remediation.

Technical view

The issue is in powercap intel_rapl. When a time-window value is smaller than time_unit, ilog2() can return -1, which is cast to u64 and used as an invalid shift exponent. The call path includes rapl_compute_time_window_core, rapl_write_data_raw, set_time_window, and store_constraint_time_window_us.

Likely exposure

Exposure is likely limited to Linux systems running affected kernels with Intel RAPL powercap functionality available. The CVE has local attack vector, low privileges required, and no user interaction. Version mapping should be confirmed against Linux stable commits and distribution advisories.

Exploitation context

The provided sources rate this CVSS 7.1 with local access and low privileges required. No KEV listing or cited public source confirms active exploitation. The known impact is kernel-level confidentiality and availability risk, not remote compromise.

Researcher notes

The source data names CWE-125, but the description centers on a shift-out-of-bounds condition in intel_rapl time-window computation. Affected-version data is not sufficiently clear for precise fleet matching without distribution-specific advisories or kernel commit verification.

Mitigation direction

  • Apply kernel updates from your Linux distribution or vendor.
  • Confirm the update includes the referenced Linux stable fixes.
  • Prioritize shared systems with untrusted local users.
  • If patching is delayed, limit unnecessary local user access.
  • Monitor vendor advisories for corrected package versions.

Validation and detection

  • Inventory Linux kernels and identify Intel RAPL powercap exposure.
  • Compare running kernels against vendor fixed-version guidance.
  • Check whether referenced stable commits are included in deployed kernels.
  • Review kernel logs for related UBSAN or powercap warnings.
  • Track remediation through configuration and vulnerability management systems.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-50366 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H1.85.2CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.1High
CVSS 3.1 vector shape for CVE-2022-50366Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269, 2d281d8196e38dd3a4ee9af26621ddde8329f269unaffected
LinuxLinux3.13, 0, 4.9.331, 4.14.296, 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.