CVE-2023-52764
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
media: gspca: cpia1: shift-out-of-bounds in set_flicker
Syzkaller reported the following issue: UBSAN: shift-out-of-bounds in drivers/media/usb/gspca/cpia1.c:1031:27 shift exponent 245 is too large for 32-bit type 'int'
When the value of the variable "sd->params.exposure.gain" exceeds the number of bits in an integer, a shift-out-of-bounds error is reported. It is triggered because the variable "currentexp" cannot be left-shifted by more than the number of bits in an integer. In order to avoid invalid range during left-shift, the conditional expression is added.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 69bba62600bd91d6b7c1e8ca181faf8ac64f7060 | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 2eee8edfff90e22980a6b22079d238c3c9d323bb | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 8f83c85ee88225319c52680792320c02158c2a9b | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < c6b6b8692218da73b33b310d7c1df90f115bdd9a | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 09cd8b561aa9796903710a1046957f2b112c8f26 | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < a647f27a7426d2fe1b40da7c8fa2b81354a51177 | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 93bddd6529f187f510eec759f37d0569243c9809 | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < e2d7149b913d14352c82624e723ce1c211ca06d3 | affected |
| Linux | Linux | 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 099be1822d1f095433f4b08af9cc9d6308ec1953 | affected |
| Linux | Linux | 2.6.34 | affected |
| Linux | Linux | 0 < 2.6.34 | unaffected |
| Linux | Linux | 4.14.331 <= 4.14.* | unaffected |
| Linux | Linux | 4.19.300 <= 4.19.* | unaffected |
| Linux | Linux | 5.4.262 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.202 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.140 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.64 <= 6.1.* | unaffected |
| Linux | Linux | 6.5.13 <= 6.5.* | unaffected |
| Linux | Linux | 6.6.3 <= 6.6.* | unaffected |
| Linux | Linux | 6.7 <= * | unaffected |
Weaknesses
ADP Enrichment
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060
- https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb
- https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b
- https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a
- https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26
- https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177
- https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809
- https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3
- https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060
- https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb
- https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b
- https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a
- https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26
- https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177
- https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809
- https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3
- https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.