CVE-2022-49741
- 공개
- 2025년 3월 28일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
fbdev: smscufx: fix error handling code in ufx_usb_probe
The current error handling code in ufx_usb_probe have many unmatching issues, e.g., missing ufx_free_usb_list, destroy_modedb label should only include framebuffer_release, fb_dealloc_cmap only matches fb_alloc_cmap.
My local syzkaller reports a memory leak bug:
memory leak in ufx_usb_probe
BUG: memory leak unreferenced object 0xffff88802f879580 (size 128): comm "kworker/0:7", pid 17416, jiffies 4295067474 (age 46.710s) hex dump (first 32 bytes): 80 21 7c 2e 80 88 ff ff 18 d0 d0 0c 80 88 ff ff .!|............. 00 d0 d0 0c 80 88 ff ff e0 ff ff ff 0f 00 00 00 ................ backtrace: [<ffffffff814c99a0>] kmalloc_trace+0x20/0x90 mm/slab_common.c:1045 [<ffffffff824d219c>] kmalloc include/linux/slab.h:553 [inline] [<ffffffff824d219c>] kzalloc include/linux/slab.h:689 [inline] [<ffffffff824d219c>] ufx_alloc_urb_list drivers/video/fbdev/smscufx.c:1873 [inline] [<ffffffff824d219c>] ufx_usb_probe+0x11c/0x15a0 drivers/video/fbdev/smscufx.c:1655 [<ffffffff82d17927>] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396 [<ffffffff82712f0d>] call_driver_probe drivers/base/dd.c:560 [inline] [<ffffffff82712f0d>] really_probe+0x12d/0x390 drivers/base/dd.c:639 [<ffffffff8271322f>] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:778 [<ffffffff827132da>] driver_probe_device+0x2a/0x120 drivers/base/dd.c:808 [<ffffffff82713c27>] __device_attach_driver+0xf7/0x150 drivers/base/dd.c:936 [<ffffffff82710137>] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:427 [<ffffffff827136b5>] __device_attach+0x105/0x2d0 drivers/base/dd.c:1008 [<ffffffff82711d36>] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:487 [<ffffffff8270e242>] device_add+0x642/0xdc0 drivers/base/core.c:3517 [<ffffffff82d14d5f>] usb_set_configuration+0x8ef/0xb80 drivers/usb/core/message.c:2170 [<ffffffff82d2576c>] usb_generic_driver_probe+0x8c/0xc0 drivers/usb/core/generic.c:238 [<ffffffff82d16ffc>] usb_probe_device+0x5c/0x140 drivers/usb/core/driver.c:293 [<ffffffff82712f0d>] call_driver_probe drivers/base/dd.c:560 [inline] [<ffffffff82712f0d>] really_probe+0x12d/0x390 drivers/base/dd.c:639 [<ffffffff8271322f>] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:778
Fix this bug by rewriting the error handling code in ufx_usb_probe.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 최초 버전 | ≤ | 취약 | < | 5.4.232 | 5.4.232이상 |
| 5.5 | ≤ | 취약 | < | 5.10.168 | 5.10.168이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.93 | 5.15.93이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.11 | 6.1.11이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 14줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.4.223 | ≤ | 취약 | < | 5.4.232 | 5.4.232이상 |
| 5.10.153 | ≤ | 취약 | < | 5.10.168 | 5.10.168이상 | |
| 5.15.77 | ≤ | 취약 | < | 5.15.93 | 5.15.93이상 | |
| 4.9.332 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.298 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.264 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 6.0.7 | ≤ | 취약 | < | 6.1 | 6.1이상 | |
| 이 버전만 | 취약 | = | 6.1 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.1 | — | |
| 5.4.232 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.168 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.93 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.11 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/1b4c08844628dfc8d72d3f51b657f2a5e63b7b4b
- git.kernel.org/stable/c/3931014367ef31d26af65386a4ca496f50f0cfdf
- git.kernel.org/stable/c/3b3d3127f5b4291ae4caaf50f7b66089ad600480
- git.kernel.org/stable/c/64fa364ad3245508d393e16ed4886f92d7eb423c
- git.kernel.org/stable/c/b76449ee75e21acfe9fa4c653d8598f191ed7d68