Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: usb: rndis_host: Secure rndis_query check against int overflow Variables off and len typed as uint32 in rndis_query function are controlled by incoming RNDIS response message thus their value may be manipulated. Setting off to a unexpectetly large value will cause the sum with len and 8 to overflow and pass the implemented validation step. Consequently the response pointer will be referring to a location past the expected buffer boundaries allowing information leakage e.g. via RNDIS_OID_802_3_PERMANENT_ADDRESS OID.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before 55782f6d63a5a3dd3b84c1e0627738fc5b146b4e; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before 02ffb4ecf0614c58e3d0e5bfbe99588c9ddc77c0; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before ebe6d2fcf7835f98cdbb1bd5e0414be20c321578; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before 232ef345e5d76e5542f430a29658a85dbef07f0b; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before 11cd4ec6359d90b13ffb8f85a9df8637f0cf8d95; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before 39eadaf5611ddd064ad1c53da65c02d2b0fe22a4; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before a713602807f32afc04add331410c77ef790ef77a; affected ddda08624013e8435e9f7cfc34a35bd7b3520b6d before c7dd13805f8b8fc1ce3b6d40f6aff47e66b72ad2 |
| Linux / Linux | affected 2.6.22; unaffected 0 before 2.6.22; unaffected 4.14.303 through 4.14.*; unaffected 4.19.270 through 4.19.*; unaffected 5.4.229 through 5.4.*; unaffected 5.10.163 through 5.10.*; unaffected 5.15.87 through 5.15.*; unaffected 6.0.19 through 6.0.*; unaffected 6.1.5 through 6.1.*; unaffected 6.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/55782f6d63a5a3dd3b84c1e0627738fc5b146b4e
- https://git.kernel.org/stable/c/02ffb4ecf0614c58e3d0e5bfbe99588c9ddc77c0
- https://git.kernel.org/stable/c/ebe6d2fcf7835f98cdbb1bd5e0414be20c321578
- https://git.kernel.org/stable/c/232ef345e5d76e5542f430a29658a85dbef07f0b
- https://git.kernel.org/stable/c/11cd4ec6359d90b13ffb8f85a9df8637f0cf8d95
- https://git.kernel.org/stable/c/39eadaf5611ddd064ad1c53da65c02d2b0fe22a4
- https://git.kernel.org/stable/c/a713602807f32afc04add331410c77ef790ef77a
- https://git.kernel.org/stable/c/c7dd13805f8b8fc1ce3b6d40f6aff47e66b72ad2