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.
References
| Link | Resource |
|---|---|
| https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c | Patch Third Party Advisory |
| https://github.com/szymonh/d-os-descriptor | Issue Tracking Third Party Advisory |
| https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10 | Release Notes Vendor Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/ | Mailing List Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5096 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html | Mailing List Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html | Mailing List Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5092 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2022-02-16 20:15
Updated : 2022-05-11 14:07
NVD link : CVE-2022-25258
Mitre link : CVE-2022-25258
JSON object : View
Products Affected
fedoraproject
- fedora
linux
- linux_kernel
debian
- debian_linux
CWE
CWE-476
NULL Pointer Dereference
