🇰🇷 한글 설명
리눅스 커널의 eventfs 구성 요소에서 디렉토리 생성 시 inode 리스트가 적절히 초기화되지 않는 취약점이 발견되었습니다. 메모리 부족으로 인해 디렉토리 생성이 실패할 경우, 초기화되지 않은 리스트를 참조하게 되어 잘못된 경고(false warning)를 발생시킬 수 있습니다.
💡 쉬운 설명
컴퓨터가 폴더를 만들다가 메모리가 부족해서 실패할 때, 아직 준비되지 않은 목록을 확인하려다 오류 메시지를 잘못 내보내는 문제입니다. 이는 시스템의 안정성에 영향을 줄 수 있는 논리적 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
eventfs: Initialize ei->children and ei->list in init_ei()
eventfs_create_dir() allocates the eventfs_inode and initializes it with
init_ei(). But this does not initialize the eventfs_inode list_heads. If
the eventfs_create_dir() fails due to memory pressure, it will call
free_ei() before it initialized the lists, and that checks to make sure
the eventfs_inode has no children. But because the list wasn't
initialized, it will give a false warning.
Fix it by moving the list initialization into init_ei().
[ Rewrote change log ]
📍 영향받는 시스템
Linux Kernel (eventfs 관련 모듈을 사용하는 시스템)
⚔️ 공격 벡터
메모리 압박(Memory Pressure) 상황을 유도하여 디렉토리 생성 실패를 일으킴으로써 잘못된 커널 경고 유발
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 init_ei() 함수 내 리스트 초기화 로직을 적용해야 함
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인