CVEvulnerability
CVE-2023-52764
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
Description
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 configurations
• linux linux kernel (< 4.14.331)
• linux linux kernel (>= 4.15 < 4.19.300)
• linux linux kernel (>= 4.20 < 5.4.262)
• linux linux kernel (>= 5.5 < 5.10.202)
• linux linux kernel (>= 5.11 < 5.15.140)
• linux linux kernel (>= 5.16 < 6.1.64)
• linux linux kernel (>= 6.2 < 6.5.13)
• linux linux kernel (>= 6.6 < 6.6.3)
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953 Patch
- https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26 Patch
- https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb Patch
- https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060 Patch
- https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b Patch
- https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809 Patch
- https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177 Patch
- https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a Patch
- https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3 Patch
- https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953 Patch
- https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26 Patch
- https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb Patch
- https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060 Patch
- https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b Patch
- https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809 Patch
- https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177 Patch
- https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a Patch
- https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3 Patch