{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52764","id":"CVE-2023-52764","title":"media: gspca: cpia1: shift-out-of-bounds in set_flicker","description":"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-o","descriptionLong":"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.","published":"2024-05-21T15:30:49.032Z","updated":"2026-10-29T11:12:04.590193168Z","reserved":"2024-05-21T15:19:24.238Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"69bba62600bd91d6b7c1e8ca181faf8ac64f7060","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"2eee8edfff90e22980a6b22079d238c3c9d323bb","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"8f83c85ee88225319c52680792320c02158c2a9b","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"c6b6b8692218da73b33b310d7c1df90f115bdd9a","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"09cd8b561aa9796903710a1046957f2b112c8f26","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"a647f27a7426d2fe1b40da7c8fa2b81354a51177","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"93bddd6529f187f510eec759f37d0569243c9809","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"e2d7149b913d14352c82624e723ce1c211ca06d3","status":"affected","versionType":"git"},{"version":"54e8bc5d64a651e2fb8b2366637e6a7d920a4c70","lessThan":"099be1822d1f095433f4b08af9cc9d6308ec1953","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","lessThan":"2.6.34","status":"unaffected","versionType":"semver"},{"version":"4.14.331","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.300","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.262","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.202","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.140","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.64","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.5.13","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6.3","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/69bba62600bd91d6b7c1e8ca181faf8ac64f7060","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/2eee8edfff90e22980a6b22079d238c3c9d323bb","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8f83c85ee88225319c52680792320c02158c2a9b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/c6b6b8692218da73b33b310d7c1df90f115bdd9a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/09cd8b561aa9796903710a1046957f2b112c8f26","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a647f27a7426d2fe1b40da7c8fa2b81354a51177","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/93bddd6529f187f510eec759f37d0569243c9809","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e2d7149b913d14352c82624e723ce1c211ca06d3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/099be1822d1f095433f4b08af9cc9d6308ec1953","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52764.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52764","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00255,"epssPercentile":0.17392,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52764","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52764","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52764","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52764","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}