CVE-2022-50282
- 공개
- 2025년 9월 16일
- 수정
- 2026년 11월 6일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
chardev: fix error handling in cdev_device_add()
While doing fault injection test, I got the following report:
------------[ cut here ]------------ kobject: '(null)' (0000000039956980): is not initialized, yet kobject_put() is being called. WARNING: CPU: 3 PID: 6306 at kobject_put+0x23d/0x4e0 CPU: 3 PID: 6306 Comm: 283 Tainted: G W 6.1.0-rc2-00005-g307c1086d7c9 #1253 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:kobject_put+0x23d/0x4e0 Call Trace: <TASK> cdev_device_add+0x15e/0x1b0 __iio_device_register+0x13b4/0x1af0 [industrialio] __devm_iio_device_register+0x22/0x90 [industrialio] max517_probe+0x3d8/0x6b4 [max517] i2c_device_probe+0xa81/0xc00
When device_add() is injected fault and returns error, if dev->devt is not set, cdev_add() is not called, cdev_del() is not needed. Fix this by checking dev->devt in error path.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.16.83 | ≤ | 취약 | < | 3.17 | 3.17이상 |
| 4.4.224 | ≤ | 취약 | < | 4.5 | 4.5이상 | |
| 4.9.224 | ≤ | 취약 | < | 4.9.337 | 4.9.337이상 | |
| 4.12 | ≤ | 취약 | < | 4.14.303 | 4.14.303이상 | |
| 4.15 | ≤ | 취약 | < | 4.19.270 | 4.19.270이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.229 | 5.4.229이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.163 | 5.10.163이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.86 | 5.15.86이상 | |
| 5.16 | ≤ | 취약 | < | 6.0.16 | 6.0.16이상 | |
| 6.1 | ≤ | 취약 | < | 6.1.2 | 6.1.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 14줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 4.9.224 | ≤ | 취약 | < | 4.9.337 | 4.9.337이상 |
| 3.16.83 | ≤ | 취약 | < | 3.17 | 3.17이상 | |
| 4.4.224 | ≤ | 취약 | < | 4.5 | 4.5이상 | |
| 이 버전만 | 취약 | = | 4.12 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 4.12 | — | |
| 4.9.337 | ≤ | 영향 없음 | ≤ | 4.9.* | — | |
| 4.14.303 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.270 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.229 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.163 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.86 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.0.16 | ≤ | 영향 없음 | ≤ | 6.0.* | — | |
| 6.1.2 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/11fa7fefe3d8fac7da56bc9aa3dd5fb3081ca797
- git.kernel.org/stable/c/28dc61cc49c6e995121c6d86bef4b73df78dda80
- git.kernel.org/stable/c/34d17b39bceef25e4cf9805cd59250ae05d0a139
- git.kernel.org/stable/c/5d2146889fad4cb9e6c13e790d4cfd871486eca8
- git.kernel.org/stable/c/6acf8597c5b04f455ee0649e11e5f3bcd28f381e