🇰🇷 한글 설명
Linux 커널의 NTFS 드라이버 내 write_mft_record_nolock() 함수에서 오류 발생 시 kmap_local_folio()로 매핑된 메모리가 해제되지 않는 누수 취약점이 발견되었습니다. 이로 인해 메모리 매핑의 중첩 구조가 손상되어 시스템 안정성에 영향을 줄 수 있습니다.
💡 쉬운 설명
파일을 저장하는 과정에서 오류가 발생했을 때, 사용했던 메모리 공간을 제대로 돌려주지 않고 남겨두는 버그입니다. 이 문제가 반복되면 컴퓨터의 메모리 관리 체계가 꼬여 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntfs: fix kmap_local leak in write_mft_record_nolock() error paths
write_mft_record_nolock() maps the MFT record folio with
kmap_local_folio(), but the pre_write_mst_fixup() and
bio_add_folio() failure paths jump to the error label without
unmapping it. kmap_local mappings are stack-ordered per task, so
leaking one corrupts the nesting for any outer mapping.
Unmap the folio on those error paths too.
📍 영향받는 시스템
NTFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 NTFS 파일 시스템의 MFT 레코드 쓰기 과정에서 의도적으로 오류를 유발하여 메모리 누수 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인