{"id":41242,"date":"2026-10-19T00:32:46","date_gmt":"2026-10-18T16:32:46","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98770"},"modified":"2026-10-19T00:32:46","modified_gmt":"2026-10-18T16:32:46","slug":"cve-2026-98770","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98770","title":{"rendered":"CVE-2026-98770 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: midi2: F"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: midi2: Fix the jack descriptor array sizes<\/p>\n<p>The jack in\/out descriptor arrays in struct f_midi2_usb_config have<br \/>\nthe size of MAX_CABLES, which look reasonable &#8212; but it turned out to<br \/>\nbe incorrect.  Namely, the entries for those arrays are added from<br \/>\nboth inputs and outputs, hence for each loop cycle, it adds two, ended<br \/>\nup with as twice as the expected size.  This inconsistency may result<br \/>\nin potential OOB when a large number of jacks are set up via configfs,<br \/>\nalthough the max number of cables (the loop count) is limited to<br \/>\nMAX_CABLES.<\/p>\n<p>For addressing it, correct the jack_ins &amp; jack_outs array sizes to<br \/>\ntwice, MAX_CABLES * 2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: midi2: Fix the jack descriptor array sizes<\/p>\n<p>The jack in\/out descriptor arrays in struct f_midi2_usb_config have<br \/>\nthe si<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41242","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}