ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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
Linux · LinuxReferences
https://git.kernel.org/stable/c/17e76b19de1aff5ff4de64d269290bd1b07a01d3https://git.kernel.org/stable/c/918be519c7876329e1b6e2ea1c59f0b75e792dcahttps://git.kernel.org/stable/c/a310b4bebda5e4a1b26520c0cc5145ccd6d617e2https://git.kernel.org/stable/c/f9c184a83574549a36ea69b755f650e57d164c78https://git.kernel.org/stable/c/fafc97bd01e4c737eaeafadfdadb1af4bbfa7307