{"id":24710,"date":"2026-09-16T20:32:40","date_gmt":"2026-09-16T12:32:40","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90022"},"modified":"2026-09-16T20:32:40","modified_gmt":"2026-09-16T12:32:40","slug":"cve-2026-90022","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90022","title":{"rendered":"CVE-2026-90022 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_midi2:"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: f_midi2: fix use-after-free in string attribute show path<\/p>\n<p>f_midi2_opts_str_show() takes the string lock internally, but its<br \/>\ncallers dereference the opts-&gt;info. pointer before calling it,<br \/>\noutside the lock. This races with f_midi2_opts_str_store(), which<br \/>\nfrees the old string under opts-&gt;lock when the attribute is written<br \/>\nconcurrently, the show path can read a pointer that gets freed<br \/>\nbefore the lock inside str_show() is even taken.<\/p>\n<p>Change f_midi2_opts_str_show() to take a pointer to the string field,<br \/>\nmatching the existing pattern in f_midi2_opts_str_store(), and<br \/>\ndereference it only after the lock is held. Update all three callers<br \/>\n(iface_name, block name, and the EP string option macro) accordingly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: f_midi2: fix use-after-free in string attribute show path<\/p>\n<p>f_midi2_opts_str_show() takes the string lock internally, b<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24710","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24710","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=24710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}