PT-2026-116989 · Linux · Linux

CVE-2026-98770

·

Published

2026-10-18

·

Updated

2026-10-18

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: midi2: Fix the jack descriptor array sizes
The jack in/out descriptor arrays in struct f midi2 usb config have the size of MAX CABLES, which look reasonable -- but it turned out to be incorrect. Namely, the entries for those arrays are added from both inputs and outputs, hence for each loop cycle, it adds two, ended up with as twice as the expected size. This inconsistency may result in potential OOB when a large number of jacks are set up via configfs, although the max number of cables (the loop count) is limited to MAX CABLES.
For addressing it, correct the jack ins & jack outs array sizes to twice, MAX CABLES * 2.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-98770

Affected Products

Linux