Kernel undefined behavior via unchecked exposure gain
Published May 21, 2024 · Updated May 11, 2026
Shift-out-of-bounds in Linux kernel 2.6.34 and later allows local users to trigger undefined behavior through CPiA camera controls. The cpia1 set_flicker function left-shifts currentexp by the unchecked sd->params.exposure.gain value, so gains above 31 exceed the width of an int. Reachability requires the gspca cpia1 media driver and access to its V4L2 control path; published testing observed a UBSAN kernel fault, not a demonstrated privilege gain.
Summary
What happened
Shift-out-of-bounds in Linux kernel 2.6.34 and later allows local users to trigger undefined behavior through CPiA camera controls. The cpia1 set_flicker function left-shifts currentexp by the unchecked sd->params.exposure.gain value, so gains above 31 exceed the width of an int. Reachability requires the gspca cpia1 media driver and access to its V4L2 control path; published testing observed a UBSAN kernel fault, not a demonstrated privilege gain.
The record
- CVE
- CVE-2023-52764
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.34
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <099be1822d1f095433f4b08af9cc9d6308ec1953
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <09cd8b561aa9796903710a1046957f2b112c8f26
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <2eee8edfff90e22980a6b22079d238c3c9d323bb
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <69bba62600bd91d6b7c1e8ca181faf8ac64f7060
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <8f83c85ee88225319c52680792320c02158c2a9b
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <93bddd6529f187f510eec759f37d0569243c9809
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <a647f27a7426d2fe1b40da7c8fa2b81354a51177
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <c6b6b8692218da73b33b310d7c1df90f115bdd9a
- Affected versionversion=54e8bc5d64a651e2fb8b2366637e6a7d920a4c70 <e2d7149b913d14352c82624e723ce1c211ca06d3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Syzkaller set_flicker reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo