Skip to main content
Network Thinking Solutions Logo

CVE-2022-50366

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.

All CVEs
CVE-2022-50366Published 9/17/2025

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.

Vendor advisory
CVSS7.1High

Overview

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

Published
9/17/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.9.331

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.296

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.262

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.220

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.150

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.75

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.17

Verify advisory

Source
linux kernel
linux
≥ 6.0, < 6.0.3

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 42f79dbb9514f726ff21df25f09cb0693b0b2445

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 4ebba43384722adbd325baec3a12c572d94488eb

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 49a6ffdaed60f0eb52c198fafebc05994e16e305

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 708b9abe1b4a2f050a483db4b7edfc446b13df1f

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 139bbbd01114433b80fe59f5e1330615aadf9752

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 6216b685b8f48ab7b721a6fd5acbf526b41c13e8

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 1d94af37565e4d3c26b0d63428e093a37d5b4c32

Verify advisory

Source
Linux
Linux
≥ 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 2d93540014387d1c73b9ccc4d7895320df66d01b

Verify advisory

Source
Linux
Linux
3.13

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.