CVE-2022-50749 acct: fix potential integer overflow in encode_comp_t()
설명
In the Linux kernel, the following vulnerability has been resolved: acct: fix potential integer overflow in encode_comp_t() The integer overflow is descripted with following codes: > 317 static comp_t encode_comp_t(u64 value) > 318 { > 319 int exp, rnd; ...... > 341 exp <<= MANTSIZE; > 342 exp += value; > 343 return exp; > 344 } Currently comp_t is defined as type of '__u16', but the variable 'exp' is type of 'int', so overflow would happen when variable 'exp' in line 343 is greater than 65535.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 2.6.12
해결 버전
- 2.6.12 미만
- 4.9.337 이상
- 4.14.303 이상
- 4.19.270 이상
- 5.4.229 이상
- 5.10.163 이상
- 5.15.86 이상
- 6.0.16 이상
외 1개 구간 펼치기
- 6.1.2 이상
참고 자료 9건
- git.kernel.org https://git.kernel.org/stable/c/0aac6e60c464a5f942f995428e67f8ae1c422250 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/1750a0983c455a9b3badd848471fc8d58cb61f67 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/2224897d8187dc22a83e05d9361efcccf67bcf12 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6edd0cdee5780fd5f43356b72b29a2a6d48ef6da (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a815a3e019456c94b03bd183e7ac22fd29e9e6fd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c5f31c655bcc01b6da53b836ac951c1556245305 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cf60bbca1b83a7e0927e36dbf178328982927886 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e93f995a591c352d35d89c518c54f790e1537754 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa (새 창)