🇰🇷 한글 설명
Linux 커널의 ntfs3 드라이버에서 mi_format_new 함수 실행 중 mi_read 실패 시 초기화되지 않은 메모리를 사용하는 취약점이 발견되었습니다. 이 문제는 syzkaller에 의해 발견된 KMSAN 미초기화 버그로, 버퍼를 최신 상태로 업데이트하지 않아 발생합니다.
💡 쉬운 설명
컴퓨터가 NTFS 파일 시스템을 읽을 때, 아직 준비되지 않은 메모리 영역의 데이터를 잘못 읽어 들일 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: fix uninit memory after failed mi_read in mi_format_new
Fix a KMSAN un-init bug found by syzkaller.
ntfs_get_bh() expects a buffer from sb_getblk(), that buffer may not be
uptodate. We do not bring the buffer uptodate before setting it as
uptodate. If the buffer were to not be uptodate, it could mean adding a
buffer with un-init data to the mi record. Attempting to load that record
will trigger KMSAN.
Avoid this by setting the buffer as uptodate, if it’s not already, by
overwriting it.
📍 영향받는 시스템
Linux kernel (ntfs3 driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 조작된 NTFS 파일 시스템을 마운트하여 미초기화 메모리 노출 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인