🇰🇷 한글 설명
Linux 커널의 F2FS 파일 시스템에서 MOVE_RANGE 명령 수행 시 목적지 크기를 적절히 검증하지 않는 취약점이 발견되었습니다. 소스 범위에 구멍(hole)이 있을 경우 목적지 inode의 크기가 검증 없이 확장되어 데이터 무결성 문제가 발생할 수 있습니다.
💡 쉬운 설명
파일 데이터를 옮기는 과정에서 목적지 공간이 충분한지 확인하지 않아 발생하는 오류입니다. 이를 통해 파일 시스템의 크기가 비정상적으로 늘어나 시스템에 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
f2fs: validate MOVE_RANGE destination size
F2FS_IOC_MOVE_RANGE checks the source range, but not the destination end
before updating i_size. A source hole can expose this: __clone_blkaddrs()
skips NULL_ADDR entries and returns success, so the caller can still extend
the destination inode with unchecked pos_out + len.
Reject destination overflow and use inode_newsize_ok() before extending
the destination inode.
📍 영향받는 시스템
F2FS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 MOVE_RANGE ioctl 명령을 통한 파일 시스템 크기 확장 유도
🛡️ 대응 방법
inode_newsize_ok() 검증 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.