CVE-2023-52764

HIGH

Linux Kernel < 4.14.331 - Out-of-bounds Write in gspca cpia1 set_flicker

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0026
EPSS Percentile 17.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-787
Status published
Products (21)
Linux/Linux < 2.6.34
Linux/Linux 2.6.34
Linux/Linux 4.14.331 - 4.14.*
Linux/Linux 4.19.300 - 4.19.*
Linux/Linux 5.10.202 - 5.10.*
Linux/Linux 5.15.140 - 5.15.*
Linux/Linux 5.4.262 - 5.4.*
Linux/Linux 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 - 099be1822d1f095433f4b08af9cc9d6308ec1953
Linux/Linux 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 - 09cd8b561aa9796903710a1046957f2b112c8f26
Linux/Linux 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 - 2eee8edfff90e22980a6b22079d238c3c9d323bb
... and 11 more
Published May 21, 2024
Tracked Since Feb 18, 2026