Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: usb: core: config: Prevent OOB read in SS endpoint companion parsing usb_parse_ss_endpoint_companion() checks descriptor type before length, enabling a potentially odd read outside of the buffer size. Fix this up by checking the size first before looking at any of the fields in the descriptor.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before 5c3097ede7835d3caf6543eb70ff689af4550cd2; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before 058ad2b722812708fe90567875704ae36563e33b; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before b10e0f868067c6f25bbfabdcf3e1e6432c24ca55; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before 5badd56c711e2c8371d1670f9bd486697575423c; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before 9512510cee7d1becdb0e9413fdd3ab783e4e30ee; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before 4fe6f472f0beef4281e6f03bc38a910a33be663f; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before 9843bcb187cb933861f7805022e6873905f669e4; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 before cf16f408364efd8a68f39011a3b073c83a03612d |
| Linux / Linux | affected 2.6.35; unaffected 0 before 2.6.35; unaffected 5.10.241 through 5.10.*; unaffected 5.15.190 through 5.15.*; unaffected 6.1.149 through 6.1.*; unaffected 6.6.103 through 6.6.*; unaffected 6.12.43 through 6.12.*; unaffected 6.15.11 through 6.15.*; unaffected 6.16.2 through 6.16.*; unaffected 6.17 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/5c3097ede7835d3caf6543eb70ff689af4550cd2
- https://git.kernel.org/stable/c/058ad2b722812708fe90567875704ae36563e33b
- https://git.kernel.org/stable/c/b10e0f868067c6f25bbfabdcf3e1e6432c24ca55
- https://git.kernel.org/stable/c/5badd56c711e2c8371d1670f9bd486697575423c
- https://git.kernel.org/stable/c/9512510cee7d1becdb0e9413fdd3ab783e4e30ee
- https://git.kernel.org/stable/c/4fe6f472f0beef4281e6f03bc38a910a33be663f
- https://git.kernel.org/stable/c/9843bcb187cb933861f7805022e6873905f669e4
- https://git.kernel.org/stable/c/cf16f408364efd8a68f39011a3b073c83a03612d
ADP enrichment
No English description supplied.
No English description supplied.
No English description supplied.
No references supplied.