CVE-2023-52764

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
21/05/2024
Last modified:
23/09/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> media: gspca: cpia1: shift-out-of-bounds in set_flicker<br /> <br /> Syzkaller reported the following issue:<br /> UBSAN: shift-out-of-bounds in drivers/media/usb/gspca/cpia1.c:1031:27<br /> shift exponent 245 is too large for 32-bit type &amp;#39;int&amp;#39;<br /> <br /> When the value of the variable "sd-&gt;params.exposure.gain" exceeds the<br /> number of bits in an integer, a shift-out-of-bounds error is reported. It<br /> is triggered because the variable "currentexp" cannot be left-shifted by<br /> more than the number of bits in an integer. In order to avoid invalid<br /> range during left-shift, the conditional expression is added.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.14.331 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.15 (including) 4.19.300 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.262 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.202 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.140 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.64 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.5.13 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6 (including) 6.6.3 (excluding)