CVE-2022-25258

Published
View on NVD ↗
CVSS v3
4.6
MEDIUM
CVSS v2
4.9
MEDIUM
Affected
2
PROJECTS

Description

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.

Linux kernel source tree
GitHubGitHub
237K
CVE-2022-25258 - Demo exploit targeting usb gadget's os descriptor handler
GitHubGitHub