🔍 CVE-2026-63817

7.8
CVSS Score
HIGH
2026-07-19
2026-08-17 05:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 F2FS 파일 시스템에서 압축 캐시 기능이 비활성화된 경우에도 특정 inode 번호가 메타 데이터로 잘못 처리되는 취약점입니다. 이로 인해 유효하지 않은 inode 범위에 대한 검증이 우회되어 시스템 안정성에 영향을 줄 수 있습니다.

💡 쉬운 설명

파일 시스템의 특정 설정이 꺼져 있을 때, 잘못된 파일 번호가 시스템의 보안 검사를 통과해버리는 오류가 발견되었습니다. 이로 인해 시스템이 비정상적인 파일 정보를 읽으려 시도할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: f2fs: validate compress cache inode only when enabled F2FS_COMPRESS_INO() uses NM_I(sbi)->max_nid as the synthetic inode number for the compressed page cache inode. That inode only exists when the compress_cache mount option is enabled. When compress_cache is disabled, max_nid is outside the valid inode range. A corrupted directory entry that points to ino == max_nid should therefore be rejected by f2fs_check_nid_range(). However, is_meta_ino() currently treats F2FS_COMPRESS_INO() as a meta inode unconditionally, so f2fs_iget() bypasses do_read_inode() and its nid range check, and instantiates a fake internal inode instead. Gate the compressed cache inode case on COMPRESS_CACHE, matching f2fs_init_compress_inode(). With compress_cache disabled, ino == max_nid now follows the normal inode path and is rejected as an out-of-range nid.

📍 영향받는 시스템

Linux kernel (F2FS 파일 시스템 사용 환경)

⚔️ 공격 벡터

손상된 디렉터리 엔트리를 통해 유효하지 않은 inode 번호를 주입하여 검증 로직을 우회

🛡️ 대응 방법

F2FS 관련 보안 패치가 적용된 최신 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