CVE-2022-49814
- 공개
- 2025년 5월 2일
- 수정
- 2026년 8월 4일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
kcm: close race conditions on sk_receive_queue
sk->sk_receive_queue is protected by skb queue lock, but for KCM sockets its RX path takes mux->rx_lock to protect more than just skb queue. However, kcm_recvmsg() still only grabs the skb queue lock, so race conditions still exist.
We can teach kcm_recvmsg() to grab mux->rx_lock too but this would introduce a potential performance regression as struct kcm_mux can be shared by multiple KCM sockets.
So we have to enforce skb queue lock in requeue_rx_msgs() and handle skb peek case carefully in kcm_wait_data(). Fortunately, skb_recv_datagram() already handles it nicely and is widely used by other sockets, we can just switch to skb_recv_datagram() after getting rid of the unnecessary sock lock in kcm_recvmsg() and kcm_splice_read(). Side note: SOCK_DONE is not used by KCM sockets, so it is safe to get rid of this check too.
I ran the original syzbot reproducer for 30 min without seeing any issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.6 | ≤ | 취약 | < | 4.14.300 | 4.14.300이상 |
| 4.15 | ≤ | 취약 | < | 4.19.267 | 4.19.267이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.225 | 5.4.225이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.156 | 5.10.156이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.80 | 5.15.80이상 | |
| 5.16 | ≤ | 취약 | < | 6.0.10 | 6.0.10이상 | |
| 이 버전만 | 취약 | = | 6.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.6 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.6 | — | |
| 4.14.300 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.267 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.225 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.156 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.80 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.0.10 | ≤ | 영향 없음 | ≤ | 6.0.* | — | |
| 6.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/22f6b5d47396b4287662668ee3f5c1f766cb4259
- git.kernel.org/stable/c/4154b6afa2bd639214ff259d912faad984f7413a
- git.kernel.org/stable/c/5121197ecc5db58c07da95eb1ff82b98b121a221
- git.kernel.org/stable/c/bf92e54597d842da127c59833b365d6faeeaf020
- git.kernel.org/stable/c/ce57d6474ae999a3b2d442314087473a646a65c7