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

CVE-2026-45842

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

개요

이 취약점이 무엇인지

In the Linux kernel, the following vulnerability has been resolved:

slip: reject VJ receive packets on instances with no rstate array

slhc_init() accepts rslots == 0 as a valid configuration, with the documented meaning of 'no receive compression'. In that case the allocation loop in slhc_init() is skipped, so comp->rstate stays NULL and comp->rslot_limit stays 0 (from the kzalloc of struct slcompress).

The receive helpers do not defend against that configuration. slhc_uncompress() dereferences comp->rstate[x] when the VJ header carries an explicit connection ID, and slhc_remember() later assigns cs = &comp->rstate[...] after only comparing the packet's slot number to comp->rslot_limit. Because rslot_limit is 0, slot 0 passes the range check, and the code dereferences a NULL rstate.

The configuration is reachable in-tree through PPP. PPPIOCSMAXCID stores its argument in a signed int, and (val >> 16) uses arithmetic shift. Passing 0xffff0000 therefore sign-extends to -1, so val2 + 1 is 0 and ppp_generic.c ends up calling slhc_init(0, 1). Because /dev/ppp open is gated by ns_capable(CAP_NET_ADMIN), the whole path is reachable from an unprivileged user namespace. Once the malformed VJ state is installed, any inbound VJ-compressed or VJ-uncompressed frame that selects slot 0 crashes the kernel in softirq context:

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:slhc_uncompress (drivers/net/slip/slhc.c:519) Call Trace: <TASK> ppp_receive_nonmp_frame (drivers/net/ppp/ppp_generic.c:2466) ppp_input (drivers/net/ppp/ppp_generic.c:2359) ppp_async_process (drivers/net/ppp/ppp_async.c:492) tasklet_action_common (kernel/softirq.c:926) handle_softirqs (kernel/softirq.c:623) run_ksoftirqd (kernel/softirq.c:1055) smpboot_thread_fn (kernel/smpboot.c:160) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:164) </TASK>

Reject the receive side on such instances instead of touching rstate. slhc_uncompress() falls through to its existing 'bad' label, which bumps sls_i_error and enters the toss state. slhc_remember() mirrors that with an explicit sls_i_error increment followed by slhc_toss(); the sls_i_runt counter is not used here because a missing rstate is an internal configuration state, not a runt packet.

The transmit path is unaffected: the only in-tree caller that picks rslots from userspace (ppp_generic.c) still supplies tslots >= 1, and slip.c always calls slhc_init(16, 16), so comp->tstate remains valid and slhc_compress() continues to work.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
linux_kernellinux2.6.32.70≤취약<2.6.332.6.33이상
3.2.75≤취약<3.33.3이상
3.4.111≤취약<3.53.5이상
3.10.96≤취약<3.113.11이상
3.12.53≤취약<3.133.13이상
3.14.60≤취약<3.153.15이상
3.18.27≤취약<3.193.19이상
4.1.17≤취약<4.24.2이상
4.3.5≤취약<5.10.2585.10.258이상
5.11≤취약<5.15.2095.15.209이상
5.16≤취약<6.1.1756.1.175이상
6.2≤취약<6.6.1416.6.141이상
6.7≤취약<6.12.916.12.91이상
6.13≤취약<6.18.336.18.33이상
6.19≤취약<7.0.107.0.10이상

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

할당 기관(CNA)이 적은 버전 19줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux2.6.32.70≤취약<2.6.332.6.33이상
3.2.75≤취약<3.33.3이상
3.4.111≤취약<3.53.5이상
3.10.96≤취약<3.113.11이상
3.12.53≤취약<3.133.13이상
3.14.60≤취약<3.153.15이상
3.18.27≤취약<3.193.19이상
4.1.17≤취약<4.24.2이상
4.3.5≤취약<4.44.4이상
이 버전만취약=4.4벤더 공지 확인
최초 버전≤영향 없음<4.4—
5.10.258≤영향 없음≤5.10.*—
5.15.209≤영향 없음≤5.15.*—
6.1.175≤영향 없음≤6.1.*—
6.6.141≤영향 없음≤6.6.*—
6.12.91≤영향 없음≤6.12.*—
6.18.33≤영향 없음≤6.18.*—
7.0.10≤영향 없음≤7.0.*—
7.1≤영향 없음≤최신 버전—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.