{"id":"CVE-2023-52764","published":"2024-05-21T15:30:49Z","modified":"2026-05-11T19:32:41Z","title":"media: gspca: cpia1: shift-out-of-bounds in set_flicker","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: gspca: cpia1: shift-out-of-bounds in set_flicker\n\nSyzkaller reported the following issue:\nUBSAN: shift-out-of-bounds in drivers/media/usb/gspca/cpia1.c:1031:27\nshift exponent 245 is too large for 32-bit type 'int'\n\nWhen the value of the variable \"sd->params.exposure.gain\" exceeds the\nnumber of bits in an integer, a shift-out-of-bounds error is reported. It\nis triggered because the variable \"currentexp\" cannot be left-shifted by\nmore than the number of bits in an integer. In order to avoid invalid\nrange during left-shift, the conditional expression is added.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00333,"percentile":0.18974,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060","tags":[]},{"url":"https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb","tags":[]},{"url":"https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b","tags":[]},{"url":"https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a","tags":[]},{"url":"https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26","tags":[]},{"url":"https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177","tags":[]},{"url":"https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809","tags":[]},{"url":"https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3","tags":[]},{"url":"https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953","tags":[]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":3.79}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < 69bba62600bd91d6b7c1e8ca181faf8ac64f7060",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < 2eee8edfff90e22980a6b22079d238c3c9d323bb",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < 8f83c85ee88225319c52680792320c02158c2a9b",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < c6b6b8692218da73b33b310d7c1df90f115bdd9a",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < 09cd8b561aa9796903710a1046957f2b112c8f26",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < a647f27a7426d2fe1b40da7c8fa2b81354a51177",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < 93bddd6529f187f510eec759f37d0569243c9809",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < e2d7149b913d14352c82624e723ce1c211ca06d3",">= 54e8bc5d64a651e2fb8b2366637e6a7d920a4c70, < 099be1822d1f095433f4b08af9cc9d6308ec1953"]},{"vendor":"Linux","product":"Linux","versions":["2.6.34"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:37:06.356182Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59481","exploited":false,"provenance":"source"}}