🇰🇷 한글 설명
Linux 커널의 NTFS 압축 처리 과정에서 kmap_local_page() 사용 방식의 오류가 발견되었습니다. 특정 I/O 경로에서 반환된 주소를 올바르게 사용하지 않고 page_address()를 사용하여 highmem 페이지에 접근할 경우 시스템 불안정이나 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 NTFS 형식의 압축된 파일을 읽을 때 메모리를 다루는 방식에 실수가 있어 시스템이 오작동할 수 있는 문제입니다. 이 문제를 해결하기 위해 메모리 주소를 더 안전하게 관리하도록 코드가 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntfs: fix kmap_local_page() usage in compress
Several compressed I/O paths discard the address returned by
kmap_local_page() and later access or unmap the page using page_address().
This is invalid for highmem pages, and local mappings must also be unmapped
using the address returned by kmap_local_page().
Map each destination page in ntfs_decompress() only while producing the
current sub-block. Use memcpy_from_page(), memcpy_to_page(), and
memzero_page() for the other page accesses. Remove unnecessary local
mappings from ntfs_write_cb(), where pages are accessed through the vmap()
mapping.
📍 영향받는 시스템
NTFS 압축 기능을 사용하는 Linux 커널 (패치 적용 전 버전)
⚔️ 공격 벡터
조작된 NTFS 압축 파일 시스템을 마운트하거나 읽을 때 발생할 수 있는 메모리 관리 오류 유도
🛡️ 대응 방법
NTFS 압축 관련 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인