Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2023-52764
HistoryMay 21, 2024 - 4:15 p.m.

CVE-2023-52764

2024-05-2116:15:15
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
3
linux kernel
gspca
cpia1
vulnerability
cve-2023-52764
shift-out-of-bounds
syzkaller
ubsan
conditional expression

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

13.0%

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.