CVE-2022-50102
- 공개
- 2025년 6월 18일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
Since the user can control the arguments of the ioctl() from the user space, under special arguments that may result in a divide-by-zero bug in: drivers/video/fbdev/arkfb.c:784: ark_set_pixclock(info, (hdiv * info->var.pixclock) / hmul); with hdiv=1, pixclock=1 and hmul=2 you end up with (1*1)/2 = (int) 0. and then in: drivers/video/fbdev/arkfb.c:504: rv = dac_set_freq(par->dac, 0, 1000000000 / pixclock); we'll get a division-by-zero.
The following log can reveal it:
divide error: 0000 [#1] PREEMPT SMP KASAN PTI RIP: 0010:ark_set_pixclock drivers/video/fbdev/arkfb.c:504 [inline] RIP: 0010:arkfb_set_par+0x10fc/0x24c0 drivers/video/fbdev/arkfb.c:784 Call Trace: fb_set_var+0x604/0xeb0 drivers/video/fbdev/core/fbmem.c:1034 do_fb_ioctl+0x234/0x670 drivers/video/fbdev/core/fbmem.c:1110 fb_ioctl+0xdd/0x130 drivers/video/fbdev/core/fbmem.c:1189
Fix this by checking the argument of ark_set_pixclock() first.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 2.6.22 | ≤ | 취약 | < | 4.14.291 | 4.14.291이상 |
| 4.15 | ≤ | 취약 | < | 4.19.256 | 4.19.256이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.211 | 5.4.211이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.137 | 5.10.137이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.61 | 5.15.61이상 | |
| 5.16 | ≤ | 취약 | < | 5.18.18 | 5.18.18이상 | |
| 5.19 | ≤ | 취약 | < | 5.19.2 | 5.19.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.22 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.22 | — | |
| 4.14.291 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.256 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.211 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.137 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.61 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.18.18 | ≤ | 영향 없음 | ≤ | 5.18.* | — | |
| 5.19.2 | ≤ | 영향 없음 | ≤ | 5.19.* | — | |
| 6.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/0288fa799e273b08839037499d704dc7bdc13e9a
- git.kernel.org/stable/c/15661642511b2b192077684a89f42a8d95d54286
- git.kernel.org/stable/c/236c1502520b7b08955467ec2e50b3232e34f1f9
- git.kernel.org/stable/c/2f1c4523f7a3aaabe7e53d3ebd378292947e95c8
- git.kernel.org/stable/c/76b3f0a0b56e53a960a14624a0f48b3d94b5e7e7