CVE-2026-31756
- 공개
- 2026년 5월 2일
- 수정
- 2026년 11월 12일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc2: gadget: Fix spin_lock/unlock mismatch in dwc2_hsotg_udc_stop()
dwc2_gadget_exit_clock_gating() internally calls call_gadget() macro, which expects hsotg->lock to be held since it does spin_unlock/spin_lock around the gadget driver callback invocation.
However, dwc2_hsotg_udc_stop() calls dwc2_gadget_exit_clock_gating() without holding the lock. This leads to: - spin_unlock on a lock that is not held (undefined behavior) - The lock remaining held after dwc2_gadget_exit_clock_gating() returns, causing a deadlock when spin_lock_irqsave() is called later in the same function.
Fix this by acquiring hsotg->lock before calling dwc2_gadget_exit_clock_gating() and releasing it afterwards, which satisfies the locking requirement of the call_gadget() macro.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.15.187 | ≤ | 취약 | < | 5.15.203 | 5.15.203이상 |
| 6.1.143 | ≤ | 취약 | < | 6.1.168 | 6.1.168이상 | |
| 6.6.96 | ≤ | 취약 | < | 6.6.134 | 6.6.134이상 | |
| 6.12.36 | ≤ | 취약 | < | 6.12.81 | 6.12.81이상 | |
| 6.15.5 | ≤ | 취약 | < | 6.18.22 | 6.18.22이상 | |
| 6.19 | ≤ | 취약 | < | 6.19.12 | 6.19.12이상 | |
| 이 버전만 | 취약 | = | 7.0 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.0 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.0 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.0 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.0 rc5 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.0 rc6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.0 rc7 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 14줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.15.187 | ≤ | 취약 | < | 5.15.203 | 5.15.203이상 |
| 6.1.143 | ≤ | 취약 | < | 6.1.168 | 6.1.168이상 | |
| 6.6.96 | ≤ | 취약 | < | 6.6.134 | 6.6.134이상 | |
| 6.12.36 | ≤ | 취약 | < | 6.12.81 | 6.12.81이상 | |
| 6.15.5 | ≤ | 취약 | < | 6.16 | 6.16이상 | |
| 이 버전만 | 취약 | = | 6.16 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.16 | — | |
| 5.15.203 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.168 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.134 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.81 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.22 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19.12 | ≤ | 영향 없음 | ≤ | 6.19.* | — | |
| 7.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/4ed9d2dd9f29828c311db6ec4b8e0d34bfd6d6a4
- git.kernel.org/stable/c/51b62286fc668c6eb74dee7624ec0beec3c5a0ed
- git.kernel.org/stable/c/61937f686290494998236c680ce0836b8dd63a3f
- git.kernel.org/stable/c/8ffe31acb3b77a30ae34d01719a269881569fb7f
- git.kernel.org/stable/c/9bb4b5ed7f8c4f95cc556bdf042b0ba2fa13557a