media: gspca: cpia1: shift-out-of-bounds in set_flicker (Linux Linux)

CVE-2023-52764
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 17 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 69bba62600bd91d6b7c1e8ca181faf8ac64f7060 ; affected 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 2eee8edfff90e22980a6b22079d238c3c9d323bb ; affected 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 8f83c85ee88225319c52680792320c02158c2a9b ; affected 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < c6b6b8692218da73b33b310d7c1df90f115bdd9a ; affected 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < 09cd8b561aa9796903710a1046957f2b112c8f26 ; affected 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 < a647f27a7426d2fe1b40da7c8fa2b81354a51177
Linux · Linuxaffected 2.6.34 ; unaffected 0 < 2.6.34 ; unaffected 4.14.331 ≤ 4.14.* ; unaffected 4.19.300 ≤ 4.19.* ; unaffected 5.4.262 ≤ 5.4.* ; unaffected 5.10.202 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD