CVE-2026-31617
- 공개
- 2026년 4월 25일
- 수정
- 2026년 11월 12일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb()
The block_len read from the host-supplied NTB header is checked against ntb_max but has no lower bound. When block_len is smaller than opts->ndp_size, the bounds check of: ndp_index > (block_len - opts->ndp_size) will underflow producing a huge unsigned value that ndp_index can never exceed, defeating the check entirely.
The same underflow occurs in the datagram index checks against block_len - opts->dpe_size. With those checks neutered, a malicious USB host can choose ndp_index and datagram offsets that point past the actual transfer, and the skb_put_data() copies adjacent kernel memory into the network skb.
Fix this by rejecting block lengths that cannot hold at least the NTB header plus one NDP. This will make block_len - opts->ndp_size and block_len - opts->dpe_size both well-defined.
Commit 8d2b1a1ec9f5 ("CDC-NCM: avoid overflow in sanity checking") fixed a related class of issues on the host side of NCM.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.9 | ≤ | 취약 | < | 6.6.136 | 6.6.136이상 |
| 6.12 | ≤ | 취약 | < | 6.12.83 | 6.12.83이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.24 | 6.18.24이상 | |
| 6.19 | ≤ | 취약 | < | 6.19.14 | 6.19.14이상 | |
| 7.0 | ≤ | 취약 | < | 7.0.1 | 7.0.1이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 16줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 4.9.235 | ≤ | 취약 | < | 4.10 | 4.10이상 |
| 4.14.196 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.143 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 5.4.62 | ≤ | 취약 | < | 5.5 | 5.5이상 | |
| 5.8.6 | ≤ | 취약 | < | 5.9 | 5.9이상 | |
| 이 버전만 | 취약 | = | 5.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 5.9 | — | |
| 5.10.258 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.209 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.175 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.136 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.83 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.24 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19.14 | ≤ | 영향 없음 | ≤ | 6.19.* | — | |
| 7.0.1 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치6
- git.kernel.org/stable/c/0f156bb5334e588034ca68ac2ee92b23f66e56e7
- git.kernel.org/stable/c/6762f8a95772265dd0c2ffe7f400493f3115b135
- git.kernel.org/stable/c/74908b0318d1df1188457040b8714ff4d4b68126
- git.kernel.org/stable/c/8757a2593631443648218244b9788e193ae0fdc1
- git.kernel.org/stable/c/8f993d30b95dc9557a8a96ceca11abed674c8acb