CVE-2022-49913
- 공개
- 2025년 5월 2일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix inode list leak during backref walking at find_parent_nodes()
During backref walking, at find_parent_nodes(), if we are dealing with a data extent and we get an error while resolving the indirect backrefs, at resolve_indirect_refs(), or in the while loop that iterates over the refs in the direct refs rbtree, we end up leaking the inode lists attached to the direct refs we have in the direct refs rbtree that were not yet added to the refs ulist passed as argument to find_parent_nodes(). Since they were not yet added to the refs ulist and prelim_release() does not free the lists, on error the caller can only free the lists attached to the refs that were added to the refs ulist, all the remaining refs get their inode lists never freed, therefore leaking their memory.
Fix this by having prelim_release() always free any attached inode list to each ref found in the rbtree, and have find_parent_nodes() set the ref's inode list to NULL once it transfers ownership of the inode list to a ref added to the refs ulist passed to find_parent_nodes().
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.14 | ≤ | 취약 | < | 5.4.224 | 5.4.224이상 |
| 5.5 | ≤ | 취약 | < | 5.10.154 | 5.10.154이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.78 | 5.15.78이상 | |
| 5.16 | ≤ | 취약 | < | 6.0.8 | 6.0.8이상 | |
| 이 버전만 | 취약 | = | 6.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc3 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.14 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.14 | — | |
| 5.4.224 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.154 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.78 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.0.8 | ≤ | 영향 없음 | ≤ | 6.0.* | — | |
| 6.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/222a3d533027b9492d5b7f5ecdc01a90f57bb5a9
- git.kernel.org/stable/c/61e06128113711df0534c404fb6bb528eb7d2332
- git.kernel.org/stable/c/6a6731a0df8c47ecc703bd7bb73459df767051e0
- git.kernel.org/stable/c/83ea8c5b54d452a5769e605e3c5c687e8ca06d89
- git.kernel.org/stable/c/92876eec382a0f19f33d09d2c939e9ca49038ae5