🔍 CVE-2026-89839

0.0
CVSS Score
UNKNOWN
2026-09-16
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 f2fs 파일 시스템에서 xattr(확장 속성) 설정 시 권한 확인 과정에 오류가 발견되었습니다. f2fs_xattr_advise_set() 함수가 VFS에서 전달된 올바른 idmap 대신 기본값인 nop_mnt_idmap을 사용하여 소유권 검사를 수행함으로써 권한 확인 로직이 잘못 작동할 수 있습니다.

💡 쉬운 설명

파일의 권한을 확인하는 과정에서 잘못된 기준을 사용하여, 실제 주인은 접근이 거부되고 권한이 없는 다른 사용자는 접근이 허용될 수 있는 보안 결함입니다. 이는 파일 시스템의 사용자 ID 매핑 방식이 꼬여서 발생하는 문제입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: f2fs: use the mount idmap for the owner check in f2fs_xattr_advise_set() f2fs_xattr_advise_set() calls inode_owner_or_capable() with &nop_mnt_idmap before allowing the "system.advise" xattr to be set, instead of the idmap that the VFS passes to the ->set() handler. f2fs supports idmapped mounts, so on such a mount this checks the caller's fsuid against the unmapped on-disk owner rather than the mapped owner: the actual owner can be wrongly denied with -EPERM and an unrelated caller wrongly allowed. Pass the handler's idmap instead.

📍 영향받는 시스템

idmapped mount를 지원하는 Linux 커널의 f2fs 파일 시스템을 사용하는 시스템

⚔️ 공격 벡터

권한이 없는 사용자가 특정 조건(idmapped mount) 하에서 f2fs의 확장 속성을 조작하여 권한 상승을 시도할 수 있음

🛡️ 대응 방법

f2fs의 xattr 설정 시 VFS에서 전달된 올바른 idmap을 사용하도록 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel