🇰🇷 한글 설명
Linux 커널의 ntfs3 파일 시스템 드라이버에서 hdr_delete_de() 함수 호출 시 slab-out-of-bounds 읽기 취약점이 발견되었습니다. 손상되었거나 악의적으로 조작된 NTFS 파일 시스템 이미지를 사용할 경우 인덱스 헤더의 유효성을 검사하지 않아 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
조작된 NTFS 저장 장치를 컴퓨터에 연결하면 운영체제의 핵심 부분인 커널이 잘못된 메모리 영역을 읽으려다 시스템이 멈추거나 충돌할 수 있습니다. 이는 파일 시스템의 정보를 확인하는 과정에서 검증 절차가 누락되어 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
Here is a BUG report from syzbot:
BUG: KASAN: slab-out-of-bounds in hdr_delete_de+0xe0/0x150 fs/ntfs3/index.c:806
Read of size 16842960 at addr ffff888079cc0600 by task syz-executor934/3631
Call Trace:
memmove+0x25/0x60 mm/kasan/shadow.c:54
hdr_delete_de+0xe0/0x150 fs/ntfs3/index.c:806
indx_delete_entry+0x74f/0x3670 fs/ntfs3/index.c:2193
ni_remove_name+0x27a/0x980 fs/ntfs3/frecord.c:2910
ntfs_unlink_inode+0x3d4/0x720 fs/ntfs3/inode.c:1712
ntfs_rename+0x41a/0xcb0 fs/ntfs3/namei.c:276
Before using the meta-data in struct INDEX_HDR, we need to
check index header valid or not. Otherwise, the corruptedi
(or malicious) fs image can cause out-of-bounds access which
could make kernel panic.
📍 영향받는 시스템
Linux Kernel (ntfs3 파일 시스템 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
악의적으로 조작된 NTFS 파일 시스템 이미지가 포함된 저장 매체 연결 또는 마운트
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.