CVE-2022-50366 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
설명
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
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.13
해결 버전
- 3.13 미만
- 4.9.331 이상
- 4.14.296 이상
- 4.19.262 이상
- 5.4.220 이상
- 5.10.150 이상
- 5.15.75 이상
- 5.19.17 이상
외 1개 구간 펼치기
- 6.0.3 이상