szymonh/d-os-descriptor

szymonh/d-os-descriptor

Releases0
CVE-2022-25258 - Demo exploit targeting usb gadget's os descriptor handler

CVE History

CVEPublishedCVSS v3CVSS v2
4.6 MEDIUM4.9 MEDIUM

An issue was discovered in drivers/usb/gadget/composite.c in the Linux kernel before 5.16.10. The USB Gadget subsystem lacks certain validation of interface OS descriptor requests (ones with a large array index and ones associated with NULL function pointer retrieval). Memory corruption might occur.