Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans The USB MIDI 2.0 endpoint parser has the same descriptor walking pattern as the legacy MIDI parser. It validates bLength against bNumGrpTrmBlock before reading baAssoGrpTrmBlkID[], but not against the remaining bytes in the endpoint-extra scan. A malformed device can therefore make later baAssoGrpTrmBlkID[] reads consume bytes past the walked descriptor. Reject zero-length and overlong descriptors while walking endpoint extras.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ff49d1df79aef7580fe3ac99d17c3f886655d080 to < fafc97bd01e4c737eaeafadfdadb1af4bbfa7307affectedff49d1df79aef7580fe3ac99d17c3f886655d080 to < a310b4bebda5e4a1b26520c0cc5145ccd6d617e2affectedff49d1df79aef7580fe3ac99d17c3f886655d080 to < f9c184a83574549a36ea69b755f650e57d164c78affectedff49d1df79aef7580fe3ac99d17c3f886655d080 to < 17e76b19de1aff5ff4de64d269290bd1b07a01d3affectedff49d1df79aef7580fe3ac99d17c3f886655d080 to < 918be519c7876329e1b6e2ea1c59f0b75e792dcaaffected
Linux Linux
Default version status: affected
6.5affected0 to < 6.5unaffected6.6.141 to ≤ 6.6.*unaffected6.12.91 to ≤ 6.12.*unaffected6.18.33 to ≤ 6.18.*unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/fafc97bd01e4c737eaeafadfdadb1af4bbfa7307 ↗
- https://git.kernel.org/stable/c/a310b4bebda5e4a1b26520c0cc5145ccd6d617e2 ↗
- https://git.kernel.org/stable/c/f9c184a83574549a36ea69b755f650e57d164c78 ↗
- https://git.kernel.org/stable/c/17e76b19de1aff5ff4de64d269290bd1b07a01d3 ↗
- https://git.kernel.org/stable/c/918be519c7876329e1b6e2ea1c59f0b75e792dca ↗