CVE-2023-53354
- 공개
- 2025년 9월 18일
- 수정
- 2026년 8월 4일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
skbuff: skb_segment, Call zero copy functions before using skbuff frags
Commit bf5c25d60861 ("skbuff: in skb_segment, call zerocopy functions once per nskb") added the call to zero copy functions in skb_segment(). The change introduced a bug in skb_segment() because skb_orphan_frags() may possibly change the number of fragments or allocate new fragments altogether leaving nrfrags and frag to point to the old values. This can cause a panic with stacktrace like the one below.
[ 193.894380] BUG: kernel NULL pointer dereference, address: 00000000000000bc [ 193.895273] CPU: 13 PID: 18164 Comm: vh-net-17428 Kdump: loaded Tainted: G O 5.15.123+ #26 [ 193.903919] RIP: 0010:skb_segment+0xb0e/0x12f0 [ 194.021892] Call Trace: [ 194.027422] <TASK> [ 194.072861] tcp_gso_segment+0x107/0x540 [ 194.082031] inet_gso_segment+0x15c/0x3d0 [ 194.090783] skb_mac_gso_segment+0x9f/0x110 [ 194.095016] __skb_gso_segment+0xc1/0x190 [ 194.103131] netem_enqueue+0x290/0xb10 [sch_netem] [ 194.107071] dev_qdisc_enqueue+0x16/0x70 [ 194.110884] __dev_queue_xmit+0x63b/0xb30 [ 194.121670] bond_start_xmit+0x159/0x380 [bonding] [ 194.128506] dev_hard_start_xmit+0xc3/0x1e0 [ 194.131787] __dev_queue_xmit+0x8a0/0xb30 [ 194.138225] macvlan_start_xmit+0x4f/0x100 [macvlan] [ 194.141477] dev_hard_start_xmit+0xc3/0x1e0 [ 194.144622] sch_direct_xmit+0xe3/0x280 [ 194.147748] __dev_queue_xmit+0x54a/0xb30 [ 194.154131] tap_get_user+0x2a8/0x9c0 [tap] [ 194.157358] tap_sendmsg+0x52/0x8e0 [tap] [ 194.167049] handle_tx_zerocopy+0x14e/0x4c0 [vhost_net] [ 194.173631] handle_tx+0xcd/0xe0 [vhost_net] [ 194.176959] vhost_worker+0x76/0xb0 [vhost] [ 194.183667] kthread+0x118/0x140 [ 194.190358] ret_from_fork+0x1f/0x30 [ 194.193670] </TASK>
In this case calling skb_orphan_frags() updated nr_frags leaving nrfrags local variable in skb_segment() stale. This resulted in the code hitting i >= nrfrags prematurely and trying to move to next frag_skb using list_skb pointer, which was NULL, and caused kernel panic. Move the call to zero copy functions before using frags and nr_frags.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.16 | ≤ | 취약 | < | 4.19.295 | 4.19.295이상 |
| 4.20 | ≤ | 취약 | < | 5.4.257 | 5.4.257이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.195 | 5.10.195이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.132 | 5.15.132이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.53 | 6.1.53이상 | |
| 6.2 | ≤ | 취약 | < | 6.4.16 | 6.4.16이상 | |
| 6.5 | ≤ | 취약 | < | 6.5.3 | 6.5.3이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.16 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.16 | — | |
| 4.19.295 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.257 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.195 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.132 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.53 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.4.16 | ≤ | 영향 없음 | ≤ | 6.4.* | — | |
| 6.5.3 | ≤ | 영향 없음 | ≤ | 6.5.* | — | |
| 6.6 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/04c3eee4e13f60bf6f9a366ad39f88a01a57166e
- git.kernel.org/stable/c/2ea35288c83b3d501a88bc17f2df8f176b5cc96f
- git.kernel.org/stable/c/6c26ed3c6abe86ddab0510529000b970b05c9b40
- git.kernel.org/stable/c/8836c266201c29a5acb4f582227686f47b65ad61
- git.kernel.org/stable/c/d44403ec0676317b7f7edf2a035bb219fee3304e