CVE-2026-99813 in Linux정보

요약

\~에 의해 VulDB • 2026. 11. 30.

리눅스 커널에서 다음 취약점이 해결되었습니다:

fs/ntfs3: ntfs_read_mft()에서 사용 전에 INDEX_ROOT의 resident 크기를 확인함

ntfs_read_mft()가 ATTR_ROOT 속성을 파싱할 때 다음과 같이 계산합니다.

root = Add2Ptr(attr, roff);

여기서 on-disk resident 데이터 오프셋(roff = attr->res.data_off)을 사용하고, 그 후 root->type 및 root->rule에 대한 포인터를 역참조하며, 나중에 root를 indx_init()으로 전달합니다. resident 데이터가 충분히 큰지(asize >= sizeof(struct X) + roff 및 rsize >= sizeof(struct X)) 확인하는 ATTR_STD 및 ATTR_NAME 경우와 달리, ATTR_ROOT 경우에는 이러한 검증이 없습니다.

mi_enum_attr()는 data_off + data_size <= attribute size를 보장하므로, 악의적으로 제작된 이미지(data_size == 0 등)가 root가 MFT 레코드의 slab 할당 영역 끝(또는 그 너머)에 위치하도록 data_off을 설정하더라도 해당 검사를 통과할 수 있습니다. 이후 root->type 읽기는 slab-out-of-bounds read이며, 이미지를 마운트할 때 KASAN에서 다음과 같이 보고됩니다:

BUG: KASAN: slab-out-of-bounds in ntfs_iget5 (fs/ntfs3/inode.c:283) Read of size 4 at addr ffff88800c06a400 by task exploit/142 Call Trace: ... [KASAN report internals]
ntfs_iget5 (fs/ntfs3/inode.c:283 fs/ntfs3/inode.c:542) ntfs_fill_super (fs/ntfs3/super.c:1690) get_tree_bdev_flags (fs/super.c:1634) vfs_get_tree (fs/super.c:1694) fc_mount (fs/namespace.c:1198) path_mount (fs/namespace.c:3765 ...) __x64_sys_mount (fs/namespace.c:4174 ...) do_syscall_64 (arch/x86/entry/syscall_64.c:63) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) 버그가 있는 주소는 할당된 1024바이트 영역 [ffff88800c06a000, ffff88800c06a400)의 오른쪽 끝에서 0byte 지점에 위치하며, 이 영역은 크기가 1024인 kmalloc-1k 캐시에 속합니다.

근처 사례들과 동일한 방식으로 ATTR_ROOT 경우에도 resident 데이터 크기를 검증하여, root가 역참조되기 전에 잘리거나 오프셋이 잘못된 INDEX_ROOT를 거부하도록 합니다.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

책임이 있는

Linux

예약하다

2026. 09. 25.

모더레이션

수락

항목

VDB-445315

EPSS

0.00000

출처

Do you want to use VulDB in your project?

Use the official API to access entries easily!