CVE-2022-50366
powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.13
References 9
git.kernel.org
- stable/c/42f79dbb9514f726ff21df25f09cb0693b0b2445
- stable/c/3eb0ba70376f6ee40fa843fc9cee49269370b0b3
- stable/c/4ebba43384722adbd325baec3a12c572d94488eb
- stable/c/49a6ffdaed60f0eb52c198fafebc05994e16e305
- stable/c/708b9abe1b4a2f050a483db4b7edfc446b13df1f
- stable/c/139bbbd01114433b80fe59f5e1330615aadf9752
- stable/c/6216b685b8f48ab7b721a6fd5acbf526b41c13e8
- stable/c/1d94af37565e4d3c26b0d63428e093a37d5b4c32
- stable/c/2d93540014387d1c73b9ccc4d7895320df66d01b