🔍 CVE-2025-40068

8.4
CVSS Score
HIGH
2025-10-28
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ntfs3 파일 시스템 드라이버 내 run_unpack() 함수에서 정수 오버플로 취약점이 발견되었습니다. 공격자가 MFT 레코드의 runlist 데이터를 조작할 경우, 권한 검사를 우회하여 디스크의 임의 데이터에 접근하거나 데이터를 파괴할 수 있습니다.

💡 쉬운 설명

파일이 디스크 어디에 저장되어 있는지 알려주는 정보가 계산 과정에서 오류를 일으키는 문제입니다. 이를 악용하면 허가되지 않은 파일 내용을 훔쳐보거나 중요한 데이터를 삭제할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: Fix integer overflow in run_unpack() The MFT record relative to the file being opened contains its runlist, an array containing information about the file's location on the physical disk. Analysis of all Call Stack paths showed that the values of the runlist array, from which LCNs are calculated, are not validated before run_unpack function. The run_unpack function decodes the compressed runlist data format from MFT attributes (for example, $DATA), converting them into a runs_tree structure, which describes the mapping of virtual clusters (VCN) to logical clusters (LCN). The NTFS3 subsystem also has a shortcut for deleting files from MFT records - in this case, the RUN_DEALLOCATE command is sent to the run_unpack input, and the function logic provides that all data transferred to the runlist about file or directory is deleted without creating a runs_tree structure. Substituting the runlist in the $DATA attribute of the MFT record for an arbitrary file can lead either to access to arbitrary data on the disk bypassing access checks to them (since the inode access check occurs above) or to destruction of arbitrary data on the disk. Add overflow check for addition operation. Found by Linux Verification Center (linuxtesting.org) with SVACE.

📍 영향받는 시스템

ntfs3 드라이버를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

조작된 MFT 레코드(runlist)를 포함한 NTFS 파일 시스템을 마운트하거나 처리하도록 유도

🛡️ 대응 방법

정수 오버플로 체크가 포함된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel