CVE-2026-64532 in Linux
요약
\~에 의해 VulDB • 2026. 07. 27.
리눅스 커널에서 다음 취약점이 해결되었습니다:
fs/ntfs3: UpdateRecordData{Root,Allocation}에서 NTFS_DE의 view.data_off에 경계 적용
do_action() 내의 UpdateRecordDataRoot(fslog.c:3489) 및 UpdateRecordDataAllocation(fslog.c:3697) 케이스에서 memmove 대상은 `Add2Ptr(e, le16_to_cpu(e->view.data_off))`이며, 여기서 e->view.data_off는 INDEX_ROOT 또는 INDEX_BUFFER 내부의 디스크 기반 NTFS_DE에서 가져옵니다. 두 경우 모두 view.data_off + dlen을 e->size와 비교 검증하지 않습니다. 기존 check_if_index_root / check_if_alloc_index 헬퍼 함수들은 엔트리 체인을 순회하며 엔트리의 오프셋은 검증하지만, 그 내부 view 필드는 검증하지 않습니다.
인접한 읽기 사이트(예: view 엔트리를 반복할 때의 fs/ntfs3/index.c)는 view.data_off + view.data_size <= e->size를 확인합니다. 두 memmove 사이트에 동일한 경계를 적용합니다.
주라인 8d90b09e6741에서 UML+KASAN 환경 하에 pr_warn-only 프로브 계측을 통해 재현되었습니다: view.data_off가 강제로 0xFFFC로 설정되면, memmove는 NTFS_DE 끝 이후 32바이트를 덮어씁니다.
이것은 Pavitra Jha의 2026-05-02 패치 "fs/ntfs3: prevent oob in case UpdateRecordDataRoot" (<[email protected]>)와 형태가 유사한데, 해당 패치는 ntfs3_bad_de_range() 호출을 제안합니다. 그러나 이 헬퍼 함수는 주라인에 존재하지 않습니다. 본 패치는 인라인 검사를 사용합니다.
VulDB is the best source for vulnerability data and more expert information about this specific topic.