🔍 CVE-2025-40307

7.8
CVSS Score
HIGH
2025-12-08
2026-10-15 22:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 exfat 파일 시스템에서 할당 비트맵의 클러스터 할당 비트를 검증하지 않는 취약점이 발견되었습니다. 공격자가 조작된 exfat 이미지를 사용하여 디렉토리를 생성할 경우, 기존 데이터가 삭제되거나 할당 비트맵이 초기화되어 데이터 무결성이 훼손될 수 있습니다.

💡 쉬운 설명

특수하게 만들어진 USB 메모리나 외장 하드를 컴퓨터에 연결하면, 컴퓨터가 파일을 저장하는 과정에서 기존에 있던 중요한 데이터를 실수로 지워버릴 수 있는 문제입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: exfat: validate cluster allocation bits of the allocation bitmap syzbot created an exfat image with cluster bits not set for the allocation bitmap. exfat-fs reads and uses the allocation bitmap without checking this. The problem is that if the start cluster of the allocation bitmap is 6, cluster 6 can be allocated when creating a directory with mkdir. exfat zeros out this cluster in exfat_mkdir, which can delete existing entries. This can reallocate the allocated entries. In addition, the allocation bitmap is also zeroed out, so cluster 6 can be reallocated. This patch adds exfat_test_bitmap_range to validate that clusters used for the allocation bitmap are correctly marked as in-use.

📍 영향받는 시스템

Linux kernel (exfat-fs 모듈을 사용하는 시스템)

⚔️ 공격 벡터

조작된 exfat 파일 시스템 이미지가 포함된 저장 매체를 시스템에 마운트하여 공격

🛡️ 대응 방법

exfat_test_bitmap_range 검증 로직이 포함된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel