🔍 CVE-2026-72191

9.8
CVSS Score
CRITICAL
2026-08-15
2026-10-16 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ntfs3 드라이버에서 인덱스 버퍼 삽입 시 분할 지점 오프셋을 적절히 검증하지 않아 발생하는 취약점입니다. 조작된 NTFS 이미지를 마운트할 경우 정수 언더플로우가 발생하여 커널 메모리에 잘못된 값이 쓰여지는 Out-of-Bounds Write가 발생하며, 이는 커널 패닉이나 시스템 권한 탈취로 이어질 수 있습니다.

💡 쉬운 설명

악의적으로 만들어진 USB나 저장 장치를 컴퓨터에 연결하기만 해도 컴퓨터의 핵심 시스템(커널)이 망가질 수 있는 보안 결함입니다. 잘못된 데이터 크기 계산으로 인해 시스템의 중요한 메모리 영역을 덮어쓰게 되어 컴퓨터가 멈추거나 해킹될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ntfs3: validate split-point offset in indx_insert_into_buffer indx_insert_into_buffer() computes used = used1 - to_copy - sp_size; memmove(de_t, Add2Ptr(sp, sp_size), used - le32_to_cpu(hdr1->de_off)); where sp and sp_size come from hdr_find_split(). hdr_find_split() walks entries by le16_to_cpu(e->size) without validating that each step stays within hdr->used or that the size field is at least sizeof(struct NTFS_DE). index_hdr_check(), the on-load gatekeeper, only validates header-level fields (used, total, de_off) and does not walk per-entry sizes. A crafted NTFS image whose leaf INDEX_HDR reports used == total but contains one interior NTFS_DE with size = 0xFFF0 therefore passes validation, descends to indx_insert_into_buffer() through the ntfs_create() -> indx_insert_entry() path, and makes hdr_find_split() return an sp whose sp_size (0xFFF0) greatly exceeds the remaining bytes in the buffer. The u32 subtraction underflows and the memmove count becomes a near-4-GiB value, producing an out-of-bounds kernel write that corrupts adjacent allocations and panics the kernel. Reproduced on 7.0.0-rc7 with UML + KASAN via a crafted image and a single 'touch' inside the mounted directory; crash site resolves to fs/ntfs3/index.c at the memmove. Trigger requires only local mount of an attacker-supplied filesystem image (USB, loopback, or removable media auto-mount). Reject the split whenever the chosen sp plus its declared size already extends past hdr1->used. This is the minimal fix; it preserves the existing hdr_find_split() contract and relies on the same out: cleanup path as the pre-existing error returns. A prior OOB read in the very same indx_insert_into_buffer() memmove was fixed in commit b8c44949044e ("fs/ntfs3: Fix OOB read in indx_insert_into_buffer") by tightening hdr_find_e(), but that fix does not cover the split-point size field path addressed here: sp is returned by hdr_find_split(), not hdr_find_e(), and the underflow is driven by sp->size rather than hdr->used exceeding hdr->total.

📍 영향받는 시스템

Linux kernel (ntfs3 driver 사용 환경, 7.0.0-rc7 등 포함)

⚔️ 공격 벡터

공격자가 조작한 NTFS 파일 시스템 이미지가 포함된 USB, 루프백 장치 또는 이동식 매체를 로컬 시스템에 마운트함

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ntfs3 드라이버의 indx_insert_into_buffer 검증 로직을 수정해야 함

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel