🔍 CVE-2025-40067

7.8
CVSS Score
HIGH
2025-10-28
2026-10-30 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ntfs3 파일 시스템 드라이버에서 인덱스 블록은 존재하지만 $BITMAP 속성이 비어 있는 경우, 인덱스 할당을 거부하지 않아 발생하는 취약점입니다. 이는 손상된 NTFS 이미지에서 파일 이름 변경(rename) 작업 시 잘못된 인덱스 상태를 유발하여 파일 삭제 실패 등의 오류를 일으킬 수 있습니다.

💡 쉬운 설명

파일 시스템의 기록 방식에 오류가 있는 파일을 읽을 때, 컴퓨터가 이를 제대로 처리하지 못해 파일 관리 기능이 오작동할 수 있는 문제입니다. 잘못된 파일 정보를 강제로 처리하려다 파일이 삭제되지 않는 등의 문제가 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist Index allocation requires at least one bit in the $BITMAP attribute to track usage of index entries. If the bitmap is empty while index blocks are already present, this reflects on-disk corruption. syzbot triggered this condition using a malformed NTFS image. During a rename() operation involving a long filename (which spans multiple index entries), the empty bitmap allowed the name to be added without valid tracking. Subsequent deletion of the original entry failed with -ENOENT, due to unexpected index state. Reject such cases by verifying that the bitmap is not empty when index blocks exist.

📍 영향받는 시스템

Linux kernel (ntfs3 driver 사용 환경)

⚔️ 공격 벡터

조작된(malformed) NTFS 이미지 파일을 시스템에 마운트하거나 해당 파일에 대한 rename() 연산을 수행

🛡️ 대응 방법

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