CVE-2023-52764
media: gspca: cpia1: shift-out-of-bounds in set_flicker
Check your servers for CVE-2023-52764
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52764 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before 69bba62600bd91d6b7c1e8ca181faf8ac64f7060 affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before 2eee8edfff90e22980a6b22079d238c3c9d323bb affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before 8f83c85ee88225319c52680792320c02158c2a9b affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before c6b6b8692218da73b33b310d7c1df90f115bdd9a affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before 09cd8b561aa9796903710a1046957f2b112c8f26 affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before a647f27a7426d2fe1b40da7c8fa2b81354a51177 affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before 93bddd6529f187f510eec759f37d0569243c9809 affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before e2d7149b913d14352c82624e723ce1c211ca06d3 affected from 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, before 099be1822d1f095433f4b08af9cc9d6308ec1953
Other versions: unaffected
|
| Linux |
affected 2.6.34 unaffected before 2.6.34 unaffected from 4.14.331 up to and including 4.14.* unaffected from 4.19.300 up to and including 4.19.* unaffected from 5.4.262 up to and including 5.4.* unaffected from 5.10.202 up to and including 5.10.* unaffected from 5.15.140 up to and including 5.15.* unaffected from 6.1.64 up to and including 6.1.* unaffected from 6.5.13 up to and including 6.5.* unaffected from 6.6.3 up to and including 6.6.* unaffected 6.7 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52764 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52764
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52764
trivy image --scanners vuln IMAGE | grep CVE-2023-52764
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060 git.kernel.org
- https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb git.kernel.org
- https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b git.kernel.org
- https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a git.kernel.org
- https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26 git.kernel.org
- https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177 git.kernel.org
- https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809 git.kernel.org
- https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3 git.kernel.org
- https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953 git.kernel.org
Source: the record CVE-2023-52764 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse