CVE-2026-43187
- 공개
- 2026년 5월 6일
- 수정
- 2026년 11월 12일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
xfs: delete attr leaf freemap entries when empty
Back in commit 2a2b5932db6758 ("xfs: fix attr leaf header freemap.size underflow"), Brian Foster observed that it's possible for a small freemap at the end of the end of the xattr entries array to experience a size underflow when subtracting the space consumed by an expansion of the entries array. There are only three freemap entries, which means that it is not a complete index of all free space in the leaf block.
This code can leave behind a zero-length freemap entry with a nonzero base. Subsequent setxattr operations can increase the base up to the point that it overlaps with another freemap entry. This isn't in and of itself a problem because the code in _leaf_add that finds free space ignores any freemap entry with zero size.
However, there's another bug in the freemap update code in _leaf_add, which is that it fails to update a freemap entry that begins midway through the xattr entry that was just appended to the array. That can result in the freemap containing two entries with the same base but different sizes (0 for the "pushed-up" entry, nonzero for the entry that's actually tracking free space). A subsequent _leaf_add can then allocate xattr namevalue entries on top of the entries array, leading to data loss. But fixing that is for later.
For now, eliminate the possibility of confusion by zeroing out the base of any freemap entry that has zero size. Because the freemap is not intended to be a complete index of free space, a subsequent failure to find any free space for a new xattr will trigger block compaction, which regenerates the freemap.
It looks like this bug has been in the codebase for quite a long time.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 2.6.12.1 | ≤ | 취약 | < | 5.10.252 | 5.10.252이상 |
| 5.11 | ≤ | 취약 | < | 5.15.202 | 5.15.202이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.165 | 6.1.165이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.128 | 6.6.128이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.75 | 6.12.75이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.16 | 6.18.16이상 | |
| 6.19 | ≤ | 취약 | < | 6.19.6 | 6.19.6이상 | |
| 이 버전만 | 취약 | = | 2.6.12 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.12 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.12 | — | |
| 5.10.252 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.202 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.165 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.128 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.75 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.16 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19.6 | ≤ | 영향 없음 | ≤ | 6.19.* | — | |
| 7.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/479b05fc3ee272090f671b06a41f3da8aa78eece
- git.kernel.org/stable/c/6f13c1d2a6271c2e73226864a0e83de2770b6f34
- git.kernel.org/stable/c/a631899025d47ea1aa6464d76db5b4d3b6d196fd
- git.kernel.org/stable/c/aa9083d97e2157da3c6fb45ddb1a97af7f188f7f
- git.kernel.org/stable/c/e1b8c6452ee99a30e188a88f3f3f804fb1c6004a