CVE-2022-49661
- 공개
- 2025년 2월 26일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
can: gs_usb: gs_usb_open/close(): fix memory leak
The gs_usb driver appears to suffer from a malady common to many USB CAN adapter drivers in that it performs usb_alloc_coherent() to allocate a number of USB request blocks (URBs) for RX, and then later relies on usb_kill_anchored_urbs() to free them, but this doesn't actually free them. As a result, this may be leaking DMA memory that's been used by the driver.
This commit is an adaptation of the techniques found in the esd_usb2 driver where a similar design pattern led to a memory leak. It explicitly frees the RX URBs and their DMA memory via a call to usb_free_coherent(). Since the RX URBs were allocated in the gs_can_open(), we remove them in gs_can_close() rather than in the disconnect function as was done in esd_usb2.
For more information, see the 928150fad41b ("can: esd_usb2: fix memory leak").
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.16 | ≤ | 취약 | < | 4.9.323 | 4.9.323이상 |
| 4.10 | ≤ | 취약 | < | 4.14.288 | 4.14.288이상 | |
| 4.15 | ≤ | 취약 | < | 4.19.252 | 4.19.252이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.205 | 5.4.205이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.130 | 5.10.130이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.54 | 5.15.54이상 | |
| 5.16 | ≤ | 취약 | < | 5.18.11 | 5.18.11이상 | |
| 이 버전만 | 취약 | = | 5.19 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.16 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.16 | — | |
| 4.9.323 | ≤ | 영향 없음 | ≤ | 4.9.* | — | |
| 4.14.288 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.252 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.205 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.130 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.54 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.18.11 | ≤ | 영향 없음 | ≤ | 5.18.* | — | |
| 5.19 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/0e60230bc64355c80abe993d1719fdb318094e20
- git.kernel.org/stable/c/2bda24ef95c0311ab93bda00db40486acf30bd0a
- git.kernel.org/stable/c/339fa9f80d3b94177a7a459c6d115d3b56007d5a
- git.kernel.org/stable/c/6f655b5e13fa4b27e915b6c209ac0da74fd75963
- git.kernel.org/stable/c/c1d806bc29ff7ffe0e2a023583c8720ed96cb0b0