UVC gadget configuration failure via pointer-size length check
Published May 30, 2024 · Updated May 11, 2026
Input validation error in the Linux kernel UVC gadget configfs parser allows local users to disrupt gadget configuration on 32-bit systems. The __uvcg_iter_item_entries() helper allocates a computed heap buffer but limits each parsed attribute item with sizeof(buf), the pointer width, instead of the allocation size. Writing a normal six-digit dwFrameInterval value can therefore fail on a 32-bit build; access to the gadget's configfs attributes is required, and no memory corruption is established.
Summary
What happened
Input validation error in the Linux kernel UVC gadget configfs parser allows local users to disrupt gadget configuration on 32-bit systems. The __uvcg_iter_item_entries() helper allocates a computed heap buffer but limits each parsed attribute item with sizeof(buf), the pointer width, instead of the allocation size. Writing a normal six-digit dwFrameInterval value can therefore fail on a 32-bit build; access to the gadget's configfs attributes is required, and no memory corruption is established.
The record
- CVE
- CVE-2024-36895
- Published
- May 30, 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 30, 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=0df28607c5cb4fe60bba591e9858a8f7ba39aa4a <650ae71c80749fc7cb8858c8049f532eaec64410
- Affected versionversion=0df28607c5cb4fe60bba591e9858a8f7ba39aa4a <7a54e5052bde582fd0e7677334fe7a5be92e242c
- Affected versionversion=0df28607c5cb4fe60bba591e9858a8f7ba39aa4a <a422089ce42ced73713e5032aad29a9a7cbe9528
- Affected versionversion=6.3
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
No public exploit references are available in this record.
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