CVE-2022-49755
- 공개
- 2025년 3월 28일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
While performing fast composition switch, there is a possibility that the process of ffs_ep0_write/ffs_ep0_read get into a race condition due to ep0req being freed up from functionfs_unbind.
Consider the scenario that the ffs_ep0_write calls the ffs_ep0_queue_wait by taking a lock &ffs->ev.waitq.lock. However, the functionfs_unbind isn't bounded so it can go ahead and mark the ep0req to NULL, and since there is no NULL check in ffs_ep0_queue_wait we will end up in use-after-free.
Fix this by making a serialized execution between the two functions using a mutex_lock(ffs->mutex).
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 2.6.35 | ≤ | 취약 | < | 4.14.305 | 4.14.305이상 |
| 4.15 | ≤ | 취약 | < | 4.19.272 | 4.19.272이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.231 | 5.4.231이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.166 | 5.10.166이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.91 | 5.15.91이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.9 | 6.1.9이상 | |
| 이 버전만 | 취약 | = | 6.2 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.2 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.2 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.2 rc4 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.35 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.35 | — | |
| 4.14.305 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.272 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.231 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.166 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.91 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.9 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/6a19da111057f69214b97c62fb0ac59023970850
- git.kernel.org/stable/c/6aee197b7fbcd61596a78b47d553f2f99111f217
- git.kernel.org/stable/c/6dd9ea05534f323668db94fcc2726c7a84547e78
- git.kernel.org/stable/c/a8d40942df074f4ebcb9bd3413596d92f323b064
- git.kernel.org/stable/c/ae8e136bcaae96163b5821984de1036efc9abb1a