CVE-2026-99665
- 공개
- 2026년 11월 20일
- 수정
- 2026년 12월 1일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
mm/khugepaged: preserve dirty bits when collapsing PTE-mapped THPs
try_collapse_pte_mapped_thp() clears PTEs without transferring their dirty bits to the folio. A shmem read fault can map a clean folio writable, so a later store only dirties the PTE. Losing that dirty bit allows reclaim to discard modified data.
The assumption that regular files are read-only is also obsolete since commit 1b6444331bebb ("mm/khugepaged: enable clean pagecache folio collapse for writable files"). In any case, transferring PTE dirty bits to the folio when removing mappings (and while the folio is still mapped) is the right thing to do.
Use get_and_clear_ptes() to collect the dirty bits and mark the folio dirty before unmapping it. Update the comment.
This was reproduced with shmem using MADV_COLLAPSE followed by MADV_PAGEOUT.
Fix generated by an LLM and sent by Chris Mason in private.
[ david: adjust comment; simplify description; cover file-thp as well ]
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.4 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.4 | — | |
| 5.10.276 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.227 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.12.120 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.64 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.3.5 | ≤ | 영향 없음 | ≤ | 7.3.* | — | |
| 7.4-rc2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타6
- git.kernel.org/stable/c/0af947ae4d91af0c6e9573220a1298cd8302b6c3
- git.kernel.org/stable/c/1f54708f40b8dea6951426ca567fc96160693388
- git.kernel.org/stable/c/3e5e2c190539f360f48a98301f5ba3a0946ca093
- git.kernel.org/stable/c/6c464f31f20de4a402361b47aa1ed03c1c751ea7
- git.kernel.org/stable/c/6f27bc4072cd1b4c451056244595bf8d28185fd7