🔍 CVE-2025-68266

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-15 02:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 BFS 파일 시스템에서 디스크로부터 파일을 로드할 때 파일 유형(S_IFMT)을 재구성하는 과정에 취약점이 발견되었습니다. 디스크의 mode 또는 attributes 필드가 손상된 경우 잘못된 파일 유형 정보가 생성될 수 있는 문제입니다.

💡 쉬운 설명

파일 시스템이 저장된 데이터를 읽어올 때, 데이터가 깨져 있으면 파일의 종류를 잘못 판단할 수 있는 오류입니다. 이로 인해 시스템이 파일을 일반 파일인지 디렉토리인지 혼동할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bfs: Reconstruct file type when loading from disk syzbot is reporting that S_IFMT bits of inode->i_mode can become bogus when the S_IFMT bits of the 32bits "mode" field loaded from disk are corrupted or when the 32bits "attributes" field loaded from disk are corrupted. A documentation says that BFS uses only lower 9 bits of the "mode" field. But I can't find an explicit explanation that the unused upper 23 bits (especially, the S_IFMT bits) are initialized with 0. Therefore, ignore the S_IFMT bits of the "mode" field loaded from disk. Also, verify that the value of the "attributes" field loaded from disk is either BFS_VREG or BFS_VDIR (because BFS supports only regular files and the root directory).

📍 영향받는 시스템

BFS 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

손상된 BFS 디스크 이미지 또는 저장 매체의 데이터 조작을 통한 로컬 공격

🛡️ 대응 방법

BFS 파일 유형 재구성 로직이 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel