Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Check endpoint numbers at parsing Scarlett2 mixer interfaces The Scarlett2 mixer quirk in USB-audio driver may hit a NULL dereference when a malformed USB descriptor is passed, since it assumes the presence of an endpoint in the parsed interface in scarlett2_find_fc_interface(), as reported by fuzzer. For avoiding the NULL dereference, just add the sanity check of bNumEndpoints and skip the invalid interface.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6c0a2078134aba6a77291554035304df9e16b85c before b014cc945baba75816cda0cf8934be87c9ed4947; affected 6c0a2078134aba6a77291554035304df9e16b85c before c5c5a6c53cf3b658f1d4512dfa61f3cd25bc34ba; affected 6c0a2078134aba6a77291554035304df9e16b85c before b267255c15d2a5b90c4e926146aa155e5161e264; affected 6c0a2078134aba6a77291554035304df9e16b85c before 3d542cf3c4c854cdf5d58049771f68926b9eb2b9; affected 6c0a2078134aba6a77291554035304df9e16b85c before 3d4f23885e4b90347c9a1d779af6e79a99b5172a; affected 6c0a2078134aba6a77291554035304df9e16b85c before df1d8abf36ca3681c21a6809eaa9a1e01ef897a6 |
| Linux / Linux | affected 5.14; unaffected 0 before 5.14; unaffected 6.1.167 through 6.1.*; unaffected 6.6.130 through 6.6.*; unaffected 6.12.78 through 6.12.*; unaffected 6.18.19 through 6.18.*; unaffected 6.19.9 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b014cc945baba75816cda0cf8934be87c9ed4947
- https://git.kernel.org/stable/c/c5c5a6c53cf3b658f1d4512dfa61f3cd25bc34ba
- https://git.kernel.org/stable/c/b267255c15d2a5b90c4e926146aa155e5161e264
- https://git.kernel.org/stable/c/3d542cf3c4c854cdf5d58049771f68926b9eb2b9
- https://git.kernel.org/stable/c/3d4f23885e4b90347c9a1d779af6e79a99b5172a
- https://git.kernel.org/stable/c/df1d8abf36ca3681c21a6809eaa9a1e01ef897a6