Linuxカーネルのusbにおけるdwc2ドライバの脆弱性により、dwc2_hsotg_udc_stop()関数内でspin_lockとspin_unlockの対応が不適切となり、未保持のロックに対するspin_unlock呼び出しやデッドロックが発生しました。この問題は、dwc2_gadget_exit_clock_gating()を呼び出す前にhsotg-lockを正しく取得し、呼び出し後に解放することで修正されています。これにより、コールバック呼び出し時のロックの前提条件が満たされ、安全性が向上しました。
Linux Linux Kernel 5.15.187 以上 5.15.203 未満 Linux Kernel 6.1.143 以上 6.1.168 未満 Linux Kernel 6.12.36 以上 6.12.81 未満 Linux Kernel 6.15.5 以上 6.18.22 未満 Linux Kernel 6.19 以上 6.19.12 未満 Linux Kernel 6.6.96 以上 6.6.134 未満 Linux Kernel 7.0
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
不適切なロック(CWE-667) [NVD評価]
CVE-2026-31756
National Vulnerability Database (NVD) : CVE-2026-31756 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/51b62286fc668c6eb74dee7624ec0beec3c5a0ed) 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/9bb4b5ed7f8c4f95cc556bdf042b0ba2fa13557a) 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/61937f686290494998236c680ce0836b8dd63a3f) 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/8ffe31acb3b77a30ae34d01719a269881569fb7f) 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/4ed9d2dd9f29828c311db6ec4b8e0d34bfd6d6a4) 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/beab10429439e20708036a66fb0d97ffb79da6a1) 関連文書 : usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/e9fcca3e87463013d595c65c2189ffaa32ad3b50)
[2026年05月11日] 掲載