{"id":28714,"date":"2026-09-25T04:31:37","date_gmt":"2026-09-24T20:31:37","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97482"},"modified":"2026-09-25T04:31:37","modified_gmt":"2026-09-24T20:31:37","slug":"cve-2026-97482","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97482","title":{"rendered":"CVE-2026-97482 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: goku_udc"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: goku_udc: avoid NULL deref of dev-&gt;driver in INT_USBRESET log<\/p>\n<p>goku_irq() handles a number of bus events under a single ep0 path.<br \/>\nIt already guards the gadget driver suspend\/resume callbacks against a<br \/>\nNULL -&gt;driver:<\/p>\n<p>\tif (dev-&gt;gadget.speed != USB_SPEED_UNKNOWN<br \/>\n\t\t\t&amp;&amp; dev-&gt;driver<br \/>\n\t\t\t&amp;&amp; dev-&gt;driver-&gt;resume) {<br \/>\n\t\tspin_unlock(&amp;dev-&gt;lock);<br \/>\n\t\tdev-&gt;driver-&gt;resume(&amp;dev-&gt;gadget);<br \/>\n\t\t&#8230;<br \/>\n\t}<\/p>\n<p>but the very next branch unconditionally dereferences dev-&gt;driver<br \/>\nwhen an INT_USBRESET arrives:<\/p>\n<p>\tif (stat &amp; INT_USBRESET) {<br \/>\n\t\tACK(INT_USBRESET);<br \/>\n\t\tINFO(dev, &#8220;USB reset done, gadget %sn&#8221;,<br \/>\n\t\t\tdev-&gt;driver-&gt;driver.name);<br \/>\n\t}<\/p>\n<p>If the controller raises INT_USBRESET before any gadget driver has<br \/>\nbeen bound (or after one has been unbound), dev-&gt;driver is NULL and<br \/>\nthe printk dereferences NULL.<\/p>\n<p>smatch flags the inconsistency:<\/p>\n<p>  drivers\/usb\/gadget\/udc\/goku_udc.c:1618 goku_irq() error:<br \/>\n  we previously assumed &#8216;dev-&gt;driver&#8217; could be null (see line 1607)<\/p>\n<p>Fall back to a placeholder when the gadget driver is not bound.<\/p>\n<p>No functional change while a gadget driver is bound.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: goku_udc: avoid NULL deref of dev-&gt;driver in INT_USBRESET log<\/p>\n<p>goku_irq() handles a number of bus events under a singl<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28714","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28714","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=28714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}