🇰🇷 한글 설명
Linux 커널의 ntfs3 파일 시스템에서 iomap inline_data를 할당할 때 alloc_page를 사용하지 않아 발생하는 버그가 수정되었습니다. 기존 kmemdup 방식은 페이지 정렬을 보장하지 못해 iomap_write_end_inline 검사에서 오류를 일으킬 수 있었습니다. 이제 alloc_page를 사용하여 데이터가 페이지 경계에 맞게 정렬되도록 보장합니다.
💡 쉬운 설명
리눅스에서 NTFS 파일을 읽고 쓸 때 데이터가 메모리에 정렬되지 않아 발생하던 오류를 해결했습니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 오류가 발생하는 문제를 방지할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: Allocate iomap inline_data using alloc_page
This fixes a BUG reported in iomap_write_end_inline:
iomap_inline_data_valid checks that the inline_data fits within
a page. If the inline_data is allocated with kmemdup there's no
guarantee that it's page-aligned, so the check sometimes fails.
Allocate it with alloc_page to ensure it's page-aligned.
📍 영향받는 시스템
ntfs3 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 조작된 NTFS 파일 시스템을 마운트하여 커널 오류를 유발할 수 있음
🛡️ 대응 방법
ntfs3 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 배포판의 보안 패치 버전인지 확인