VYPR
High severity7.1NVD Advisory· Published Sep 17, 2025· Updated Jun 17, 2026

CVE-2022-50366

CVE-2022-50366

Description

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: <4.9.331
    • (no CPE)
    • (no CPE)range: 3.13
  • osv-coords
    Range: >= 3.13.0, < 4.9.331

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.