CVE-2022-50555
- 공개
- 2025년 10월 8일
- 수정
- 2026년 8월 4일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix a null-ptr-deref in tipc_topsrv_accept
syzbot found a crash in tipc_topsrv_accept:
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] Workqueue: tipc_rcv tipc_topsrv_accept RIP: 0010:kernel_accept+0x22d/0x350 net/socket.c:3487 Call Trace: <TASK> tipc_topsrv_accept+0x197/0x280 net/tipc/topsrv.c:460 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
It was caused by srv->listener that might be set to null by tipc_topsrv_stop() in net .exit whereas it's still used in tipc_topsrv_accept() worker.
srv->listener is protected by srv->idr_lock in tipc_topsrv_stop(), so add a check for srv->listener under srv->idr_lock in tipc_topsrv_accept() to avoid the null-ptr-deref. To ensure the lsock is not released during the tipc_topsrv_accept(), move sock_release() after tipc_topsrv_work_stop() where it's waiting until the tipc_topsrv_accept worker to be done.
Note that sk_callback_lock is used to protect sk->sk_user_data instead of srv->listener, and it should check srv in tipc_topsrv_listener_data_ready() instead. This also ensures that no more tipc_topsrv_accept worker will be started after tipc_conn_close() is called in tipc_topsrv_stop() where it sets sk->sk_user_data to null.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.17 | ≤ | 취약 | < | 4.19.264 | 4.19.264이상 |
| 4.20 | ≤ | 취약 | < | 5.4.223 | 5.4.223이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.153 | 5.10.153이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.77 | 5.15.77이상 | |
| 5.16 | ≤ | 취약 | < | 6.0.7 | 6.0.7이상 | |
| 이 버전만 | 취약 | = | 6.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc2 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 8줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.17 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.17 | — | |
| 4.19.264 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.223 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.153 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.77 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.0.7 | ≤ | 영향 없음 | ≤ | 6.0.* | — | |
| 6.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치6
- git.kernel.org/stable/c/24b129aed8730e48f47d852d58d76825ab6f407c
- git.kernel.org/stable/c/32a3d4660b34ce49ac0162338ebe362098e2f5df
- git.kernel.org/stable/c/7a939503fc32bff4ed60800b73ff7fbb4aea2142
- git.kernel.org/stable/c/82cb4e4612c633a9ce320e1773114875604a3cce
- git.kernel.org/stable/c/ce69bdac2310152bb70845024d5d704c52aabfc3