Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50366

HIGH 7.1EPSS 9%

powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue

Mitigation

  • Upgrade Linux to 2d93540014387d1c73b9ccc4d7895320df66d01b or later.

Who should check

  • Anyone running Linux >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 42f79dbb9514f726ff21df25f09cb0693b0b2445; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 4ebba43384722adbd325baec3a12c572d94488eb; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 49a6ffdaed60f0eb52c198fafebc05994e16e305; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 708b9abe1b4a2f050a483db4b7edfc446b13df1f; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 139bbbd01114433b80fe59f5e1330615aadf9752; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 6216b685b8f48ab7b721a6fd5acbf526b41c13e8; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 1d94af37565e4d3c26b0d63428e093a37d5b4c32; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 2d93540014387d1c73b9ccc4d7895320df66d01b
  • Anyone running Linux 3.13

Vulnerability facts

Affected
Linux >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 42f79dbb9514f726ff21df25f09cb0693b0b2445; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 4ebba43384722adbd325baec3a12c572d94488eb; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 49a6ffdaed60f0eb52c198fafebc05994e16e305; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 708b9abe1b4a2f050a483db4b7edfc446b13df1f; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 139bbbd01114433b80fe59f5e1330615aadf9752; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 6216b685b8f48ab7b721a6fd5acbf526b41c13e8; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 1d94af37565e4d3c26b0d63428e093a37d5b4c32; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 2d93540014387d1c73b9ccc4d7895320df66d01b; Linux 3.13
Fixed in
Linux 42f79dbb9514f726ff21df25f09cb0693b0b2445, Linux 3eb0ba70376f6ee40fa843fc9cee49269370b0b3, Linux 4ebba43384722adbd325baec3a12c572d94488eb, Linux 49a6ffdaed60f0eb52c198fafebc05994e16e305, Linux 708b9abe1b4a2f050a483db4b7edfc446b13df1f, Linux 139bbbd01114433b80fe59f5e1330615aadf9752, Linux 6216b685b8f48ab7b721a6fd5acbf526b41c13e8, Linux 1d94af37565e4d3c26b0d63428e093a37d5b4c32, Linux 2d93540014387d1c73b9ccc4d7895320df66d01b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: High
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-125
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 42f79dbb9514f726ff21df25f09cb0693b0b2445; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 4ebba43384722adbd325baec3a12c572d94488eb; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 49a6ffdaed60f0eb52c198fafebc05994e16e305; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 708b9abe1b4a2f050a483db4b7edfc446b13df1f; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 139bbbd01114433b80fe59f5e1330615aadf9752; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 6216b685b8f48ab7b721a6fd5acbf526b41c13e8; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 1d94af37565e4d3c26b0d63428e093a37d5b4c32; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 2d93540014387d1c73b9ccc4d7895320df66d01b—cvelist
Linux3.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50366. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50366.md
Affected: Linux >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 42f79dbb9514f726ff21df25f09cb0693b0b2445; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 4ebba43384722adbd325baec3a12c572d94488eb; >= 2d281d8196e38dd3a4ee9af…
Fixed in: Linux 42f79dbb9514f726ff21df25f09cb0693b0b2445, Linux 3eb0ba70376f6ee40fa843fc9cee49269370b0b3, Linux 4ebba43384722adbd325baec3a12c572d94488eb, Linux 49a6ffdaed60f0eb52c198fafebc05994e16e305, Linux 708b9abe1b4a2f050a483db4b7edfc446b13df1f, Linux 139bbbd01114433b80fe59f5e1330615aadf9752, Linux 6216b…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50366 being exploited?

There is no confirmed exploitation: CVE-2022-50366 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50366?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50366?

Linux >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 42f79dbb9514f726ff21df25f09cb0693b0b2445; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 4ebba43384722adbd325baec3a12c572d94488eb; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 49a6ffdaed60f0eb52c198fafebc05994e16e305; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 708b9abe1b4a2f050a483db4b7edfc446b13df1f; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 139bbbd01114433b80fe59f5e1330615aadf9752; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 6216b685b8f48ab7b721a6fd5acbf526b41c13e8; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 1d94af37565e4d3c26b0d63428e093a37d5b4c32; >= 2d281d8196e38dd3a4ee9af26621ddde8329f269, < 2d93540014387d1c73b9ccc4d7895320df66d01b; Linux 3.13.

Is there a fix for CVE-2022-50366?

Yes. Fixed in Linux 42f79dbb9514f726ff21df25f09cb0693b0b2445, Linux 3eb0ba70376f6ee40fa843fc9cee49269370b0b3, Linux 4ebba43384722adbd325baec3a12c572d94488eb, Linux 49a6ffdaed60f0eb52c198fafebc05994e16e305, Linux 708b9abe1b4a2f050a483db4b7edfc446b13df1f, Linux 139bbbd01114433b80fe59f5e1330615aadf9752, Linux 6216b685b8f48ab7b721a6fd5acbf526b41c13e8, Linux 1d94af37565e4d3c26b0d63428e093a37d5b4c32, Linux 2d93540014387d1c73b9ccc4d7895320df66d01b. Upgrade Linux to 2d93540014387d1c73b9ccc4d7895320df66d01b or later.

How do I check if I'm affected by CVE-2022-50366?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors