2084AI Security Observatory

CVE

CVE-2023-52764

CVE-2023-52764HIGH 7.8EPSS 17%

CNA 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 versions

All Linux kernel vulnerabilities →

  • ≥ 6.6, < 6.6.3Fixed in 6.6.3
  • ≥ 6.2, < 6.5.13Fixed in 6.5.13
  • ≥ 5.16, < 6.1.64Fixed in 6.1.64
  • ≥ 5.11, < 5.15.140Fixed in 5.15.140
  • ≥ 5.5, < 5.10.202Fixed in 5.10.202
  • ≥ 4.20, < 5.4.262Fixed in 5.4.262
  • ≥ 4.15, < 4.19.300Fixed in 4.19.300
  • < 4.14.331Fixed in 4.14.331

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.