{"id":"CVE-2022-25258","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2022-02-16T00:00:00.000Z","updatedAt":"2024-08-03T04:36:06.563Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c","https://github.com/szymonh/d-os-descriptor","https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/","https://www.debian.org/security/2022/dsa-5092","https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html","https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html","https://www.debian.org/security/2022/dsa-5096","https://security.netapp.com/advisory/ntap-20221028-0007/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25258.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25258","state":"PUBLISHED","datePublished":"2022-02-16T00:00:00.000Z","dateUpdated":"2024-08-03T04:36:06.563Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-02-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c"},{"url":"https://github.com/szymonh/d-os-descriptor"},{"url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/","name":"FEDORA-2022-9d4e48836d","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5092","name":"DSA-5092","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html","name":"[debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security update","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html","name":"[debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5096","name":"DSA-5096","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221028-0007/"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2022-10-28T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c","tags":["x_transferred"]},{"url":"https://github.com/szymonh/d-os-descriptor","tags":["x_transferred"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/","name":"FEDORA-2022-9d4e48836d","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5092","name":"DSA-5092","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html","name":"[debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html","name":"[debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update","tags":["mailing-list","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5096","name":"DSA-5096","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221028-0007/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:36:06.563Z"}}]}}}