🔍 CVE-2026-64532

7.8
CVSS Score
HIGH
2026-07-27
2026-11-03 18:15
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ntfs3 파일 시스템 드라이버에서 NTFS_DE 구조체의 data_off 필드에 대한 경계 검사가 누락되어 발생하는 취약점입니다. 이로 인해 UpdateRecordData 함수 실행 시 메모리 경계를 벗어난 쓰기(Out-of-bounds write)가 발생할 수 있습니다.

💡 쉬운 설명

파일 시스템의 특정 데이터를 업데이트할 때, 데이터가 저장될 위치가 허용된 범위를 벗어나는지 확인하지 않는 오류입니다. 공격자가 조작된 NTFS 디스크 이미지를 사용하면 시스템 메모리의 잘못된 위치에 데이터를 써서 시스템을 불안정하게 만들 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation} In do_action()'s UpdateRecordDataRoot (fslog.c:3489) and UpdateRecordDataAllocation (fslog.c:3697) cases, the memmove destination is `Add2Ptr(e, le16_to_cpu(e->view.data_off))`, where e->view.data_off comes from an on-disk NTFS_DE inside an INDEX_ROOT or INDEX_BUFFER. Neither case validates view.data_off + dlen against e->size; the existing check_if_index_root / check_if_alloc_index helpers walk the entry chain and validate the entry's offset, but not its internal view fields. The neighbouring read sites (e.g., fs/ntfs3/index.c when iterating view entries) check view.data_off + view.data_size <= e->size. Apply the same bound at the two memmove sites. Reproduced under UML+KASAN on mainline 8d90b09e6741 via pr_warn-only probe instrumentation: with view.data_off forced to 0xFFFC, the memmove writes 32 bytes past the end of the NTFS_DE. This is similar in shape to Pavitra Jha's 2026-05-02 patch "fs/ntfs3: prevent oob in case UpdateRecordDataRoot" (<[email protected]>) which proposes calling ntfs3_bad_de_range(); that helper does not exist in mainline. This patch uses inline checks.

📍 영향받는 시스템

Linux kernel (ntfs3 driver 사용 환경)

⚔️ 공격 벡터

조작된 NTFS 디스크 이미지 또는 파일 시스템 구조를 마운트하여 메모리 오버플로우 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel