Bug 2294696 (CVE-2016-20022)

Summary: CVE-2016-20022 kernel: USB: improper validation of wMaxPacketValue entries in endpoint descriptors
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mauro Matteo Cascella 2024-06-28 06:58:45 UTC
In the Linux kernel before 4.8, usb_parse_endpoint in drivers/usb/core/config.c does not validate the wMaxPacketSize field of an endpoint descriptor. NOTE: This vulnerability only affects products that are no longer supported by the supplier.

References:
https://github.com/torvalds/linux/commit/aed9d65ac3278d4febd8665bd7db59ef53e825fe
https://lore.kernel.org/lkml/1486322541-8206-8-git-send-email-w%401wt.eu/
https://www.spinics.net/lists/linux-usb/msg144177.html