CVE-2022-50405
- 공개
- 2025년 9월 19일
- 수정
- 2026년 8월 4일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net/tunnel: wait until all sk_user_data reader finish before releasing the sock
There is a race condition in vxlan that when deleting a vxlan device during receiving packets, there is a possibility that the sock is released after getting vxlan_sock vs from sk_user_data. Then in later vxlan_ecn_decapsulate(), vxlan_get_sk_family() we will got NULL pointer dereference. e.g.
#0 [ffffa25ec6978a38] machine_kexec at ffffffff8c669757 #1 [ffffa25ec6978a90] __crash_kexec at ffffffff8c7c0a4d #2 [ffffa25ec6978b58] crash_kexec at ffffffff8c7c1c48 #3 [ffffa25ec6978b60] oops_end at ffffffff8c627f2b #4 [ffffa25ec6978b80] page_fault_oops at ffffffff8c678fcb #5 [ffffa25ec6978bd8] exc_page_fault at ffffffff8d109542 #6 [ffffa25ec6978c00] asm_exc_page_fault at ffffffff8d200b62 [exception RIP: vxlan_ecn_decapsulate+0x3b] RIP: ffffffffc1014e7b RSP: ffffa25ec6978cb0 RFLAGS: 00010246 RAX: 0000000000000008 RBX: ffff8aa000888000 RCX: 0000000000000000 RDX: 000000000000000e RSI: ffff8a9fc7ab803e RDI: ffff8a9fd1168700 RBP: ffff8a9fc7ab803e R8: 0000000000700000 R9: 00000000000010ae R10: ffff8a9fcb748980 R11: 0000000000000000 R12: ffff8a9fd1168700 R13: ffff8aa000888000 R14: 00000000002a0000 R15: 00000000000010ae ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018 #7 [ffffa25ec6978ce8] vxlan_rcv at ffffffffc10189cd [vxlan] #8 [ffffa25ec6978d90] udp_queue_rcv_one_skb at ffffffff8cfb6507 #9 [ffffa25ec6978dc0] udp_unicast_rcv_skb at ffffffff8cfb6e45 #10 [ffffa25ec6978dc8] __udp4_lib_rcv at ffffffff8cfb8807 #11 [ffffa25ec6978e20] ip_protocol_deliver_rcu at ffffffff8cf76951 #12 [ffffa25ec6978e48] ip_local_deliver at ffffffff8cf76bde #13 [ffffa25ec6978ea0] __netif_receive_skb_one_core at ffffffff8cecde9b #14 [ffffa25ec6978ec8] process_backlog at ffffffff8cece139 #15 [ffffa25ec6978f00] __napi_poll at ffffffff8ceced1a #16 [ffffa25ec6978f28] net_rx_action at ffffffff8cecf1f3 #17 [ffffa25ec6978fa0] __softirqentry_text_start at ffffffff8d4000ca #18 [ffffa25ec6978ff0] do_softirq at ffffffff8c6fbdc3
Reproducer: https://github.com/Mellanox/ovs-tests/blob/master/test-ovs-vxlan-remove-tunnel-during-traffic.sh
Fix this by waiting for all sk_user_data reader to finish before releasing the sock.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.18 | ≤ | 취약 | < | 4.9.337 | 4.9.337이상 |
| 4.10 | ≤ | 취약 | < | 4.14.303 | 4.14.303이상 | |
| 4.15 | ≤ | 취약 | < | 4.19.270 | 4.19.270이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.229 | 5.4.229이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.163 | 5.10.163이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.86 | 5.15.86이상 | |
| 5.16 | ≤ | 취약 | < | 6.0.16 | 6.0.16이상 | |
| 6.1 | ≤ | 취약 | < | 6.1.2 | 6.1.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.18 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.18 | — | |
| 4.9.337 | ≤ | 영향 없음 | ≤ | 4.9.* | — | |
| 4.14.303 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.270 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.229 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.163 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.86 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.0.16 | ≤ | 영향 없음 | ≤ | 6.0.* | — | |
| 6.1.2 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/303000c793f705d07b551eb7c1c27001c5b33c8d
- git.kernel.org/stable/c/3cf7203ca620682165706f70a1b12b5194607dce
- git.kernel.org/stable/c/588d0b8462f5ffed3e677e65639825b2678117ab
- git.kernel.org/stable/c/84e566d157cc22ad2da8bdd970495855fbf13d92
- git.kernel.org/stable/c/91f09a776ae335ca836ed864b8f2a9461882a280