CVE 목록
Medium5.5유형: 운영체제

CVE-2026-31617

공개
2026년 4월 25일
수정
2026년 11월 12일
조회
0
상태
Modified
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
5.5Medium

개요

이 취약점이 무엇인지

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_kernellinux5.9≤취약<6.6.1366.6.136이상
6.12≤취약<6.12.836.12.83이상
6.13≤취약<6.18.246.18.24이상
6.19≤취약<6.19.146.19.14이상
7.0≤취약<7.0.17.0.1이상

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 16줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux4.9.235≤취약<4.104.10이상
4.14.196≤취약<4.154.15이상
4.19.143≤취약<4.204.20이상
5.4.62≤취약<5.55.5이상
5.8.6≤취약<5.95.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에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.