CVE-2026-63984
- 공개
- 2026년 7월 20일
- 수정
- 2026년 11월 13일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()
ipv6_rpl_srh_decompress() computes:
outhdr->hdrlen = (((n + 1) * sizeof(struct in6_addr)) >> 3);
hdrlen is __u8. For n >= 127 the result exceeds 255 and silently truncates. With n=127 (cmpri=15, cmpre=15, pad=0, hdrlen=16):
(128 * 16) >> 3 = 256, truncated to 0 as __u8
The caller in ipv6_rpl_srh_rcv() then places the compressed header at buf + ((ohdr->hdrlen + 1) << 3). With hdrlen=0 this is buf + 8, but the decompressed region occupies buf[0..2055] (8-byte header plus 128 full addresses). The compressed header overlaps the decompressed data, and ipv6_rpl_srh_compress() writes into this overlap, corrupting the routing header of the forwarded packet.
The existing guard at exthdrs.c:546 checks (n + 1) > 255, which prevents n+1 from overflowing unsigned char (the segments_left field), but does not prevent the computed hdrlen from overflowing __u8. n=127 passes because 128 <= 255, yet hdrlen=256 does not fit.
Tighten the bound to (n + 1) > 127. This caps n at 126, giving hdrlen = (127 * 16) >> 3 = 254, which fits in __u8. The compressed header then lands at buf + ((254 + 1) << 3) = buf + 2040, exactly past the decompressed region (buf[0..2039]). No overlap. 127 segments is well beyond any realistic RPL deployment.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.7 | ≤ | 취약 | < | 5.10.259 | 5.10.259이상 |
| 5.11 | ≤ | 취약 | < | 5.15.210 | 5.15.210이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.176 | 6.1.176이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.143 | 6.6.143이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.93 | 6.12.93이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.35 | 6.18.35이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.12 | 7.0.12이상 | |
| 이 버전만 | 취약 | = | 7.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.7 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.7 | — | |
| 5.10.259 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.210 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.176 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.143 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.93 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.35 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.12 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/3618b34942b76471d044369bfd30d58c39068bf1
- git.kernel.org/stable/c/6fe1cb312038516cb4d9fa089d700af7059f1a64
- git.kernel.org/stable/c/75b3680047bf09af8e7e471a7a6ddf2ce5847f56
- git.kernel.org/stable/c/97e06791368c01f0ad2a4b3269c2abe19485ca32
- git.kernel.org/stable/c/9d5e7a46a9f6d8f503b41bfefef70659845f1679