Back
CVE-2022-50366
powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
High7.1EPSS 0.22%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Weakness
Affected products
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 42f79dbb9514f726ff21df25f09cb0693b0b2445
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 3eb0ba70376f6ee40fa843fc9cee49269370b0b3
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 4ebba43384722adbd325baec3a12c572d94488eb
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 49a6ffdaed60f0eb52c198fafebc05994e16e305
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 708b9abe1b4a2f050a483db4b7edfc446b13df1f
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 139bbbd01114433b80fe59f5e1330615aadf9752
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 6216b685b8f48ab7b721a6fd5acbf526b41c13e8
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 1d94af37565e4d3c26b0d63428e093a37d5b4c32
- affected 2d281d8196e38dd3a4ee9af26621ddde8329f269 – < 2d93540014387d1c73b9ccc4d7895320df66d01b
- affected 3.13
- unaffected < 3.13
- unaffected 4.9.331 – ≤ 4.9.*
- unaffected 4.14.296 – ≤ 4.14.*
- unaffected 4.19.262 – ≤ 4.19.*
- unaffected 5.4.220 – ≤ 5.4.*
- unaffected 5.10.150 – ≤ 5.10.*
- unaffected 5.15.75 – ≤ 5.15.*
- unaffected 5.19.17 – ≤ 5.19.*
- unaffected 6.0.3 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (9)
- https://git.kernel.org/stable/c/42f79dbb9514f726ff21df25f09cb0693b0b2445 (opens in a new tab)
- https://git.kernel.org/stable/c/3eb0ba70376f6ee40fa843fc9cee49269370b0b3 (opens in a new tab)
- https://git.kernel.org/stable/c/4ebba43384722adbd325baec3a12c572d94488eb (opens in a new tab)
- https://git.kernel.org/stable/c/49a6ffdaed60f0eb52c198fafebc05994e16e305 (opens in a new tab)
- https://git.kernel.org/stable/c/708b9abe1b4a2f050a483db4b7edfc446b13df1f (opens in a new tab)
- https://git.kernel.org/stable/c/139bbbd01114433b80fe59f5e1330615aadf9752 (opens in a new tab)
- https://git.kernel.org/stable/c/6216b685b8f48ab7b721a6fd5acbf526b41c13e8 (opens in a new tab)
- https://git.kernel.org/stable/c/1d94af37565e4d3c26b0d63428e093a37d5b4c32 (opens in a new tab)
- https://git.kernel.org/stable/c/2d93540014387d1c73b9ccc4d7895320df66d01b (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50366)Record last updated .