🇰🇷 한글 설명
Linux 커널의 JFS 파일 시스템에서 jfs_evict_inode 함수 내 Use-After-Free(UAF) 취약점이 발견되었습니다. diMount 과정에서 실패할 경우 이미 해제된 ipimap 객체에 diFreeSpecial()을 통해 접근할 수 있는 문제가 있습니다.
💡 쉬운 설명
컴퓨터가 파일을 관리하는 과정에서 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix uaf in jfs_evict_inode
When the execution of diMount(ipimap) fails, the object ipimap that has been
released may be accessed in diFreeSpecial(). Asynchronous ipimap release occurs
when rcu_core() calls jfs_free_node().
Therefore, when diMount(ipimap) fails, sbi->ipimap should not be initialized as
ipimap.
📍 영향받는 시스템
JFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 파일 시스템 마운트 시도를 통한 메모리 오염
🛡️ 대응 방법
JFS 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전 이후인지 확인합니다.