CVE-2022-49197
- 공개
- 2025년 2월 26일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
af_netlink: Fix shift out of bounds in group mask calculation
When a netlink message is received, netlink_recvmsg() fills in the address of the sender. One of the fields is the 32-bit bitfield nl_groups, which carries the multicast group on which the message was received. The least significant bit corresponds to group 1, and therefore the highest group that the field can represent is 32. Above that, the UB sanitizer flags the out-of-bounds shift attempts.
Which bits end up being set in such case is implementation defined, but it's either going to be a wrong non-zero value, or zero, which is at least not misleading. Make the latter choice deterministic by always setting to 0 for higher-numbered multicast groups.
To get information about membership in groups >= 32, userspace is expected to use nl_pktinfo control messages[0], which are enabled by NETLINK_PKTINFO socket option. [0] https://lwn.net/Articles/147608/
The way to trigger this issue is e.g. through monitoring the BRVLAN group:
# bridge monitor vlan & # ip link add name br type bridge
Which produces the following citation:
UBSAN: shift-out-of-bounds in net/netlink/af_netlink.c:162:19 shift exponent 32 is too large for 32-bit type 'int'
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 2.6.14 | ≤ | 취약 | < | 4.9.311 | 4.9.311이상 |
| 4.10 | ≤ | 취약 | < | 4.14.276 | 4.14.276이상 | |
| 4.15 | ≤ | 취약 | < | 4.19.238 | 4.19.238이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.189 | 5.4.189이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.110 | 5.10.110이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.33 | 5.15.33이상 | |
| 5.16 | ≤ | 취약 | < | 5.16.19 | 5.16.19이상 | |
| 5.17 | ≤ | 취약 | < | 5.17.2 | 5.17.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.14 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.14 | — | |
| 4.9.311 | ≤ | 영향 없음 | ≤ | 4.9.* | — | |
| 4.14.276 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.238 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.189 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.110 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.33 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.16.19 | ≤ | 영향 없음 | ≤ | 5.16.* | — | |
| 5.17.2 | ≤ | 영향 없음 | ≤ | 5.17.* | — | |
| 5.18 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/0caf6d9922192dd1afa8dc2131abfb4df1443b9f
- git.kernel.org/stable/c/41249fff507387c3323b198d0052faed08b14de4
- git.kernel.org/stable/c/7409ff6393a67ff9838d0ae1bd102fb5f020d07a
- git.kernel.org/stable/c/ac5883a8890a11c00b32a19949a25d4afeaa2f5a
- git.kernel.org/stable/c/b0898362188e05b2202656058cc32d98fabf3bac