CVE-2023-52764: Linux Kernel

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Linux Linux Kernel: before 4.14.331 (fixed in 4.14.331); from 4.15, before 4.19.300 (fixed in 4.19.300); from 4.20, before 5.4.262 (fixed in 5.4.262); from 5.5, before 5.10.202 (fixed in 5.10.202); from 5.11, before 5.15.140 (fixed in 5.15.140); from 5.16, before 6.1.64 (fixed in 6.1.64); …

Published 2024-05-21. Last modified 2026-06-17.