🇰🇷 한글 설명
Linux 커널의 ext4 파일 시스템에서 ext4_get_inode_loc() 함수가 실패할 경우 iloc.bh가 NULL로 유지되는 취약점이 발견되었습니다. 이로 인해 ext4_xattr_inode_dec_ref_all()에서 오류 검사가 이루어지지 않아 ext4_raw_inode() 호출 시 Null Pointer Dereference가 발생할 수 있습니다.
💡 쉬운 설명
파일 시스템의 특정 정보를 읽어오는 과정에서 오류가 발생했을 때, 프로그램이 이를 제대로 확인하지 않고 잘못된 메모리 주소에 접근하여 시스템이 멈추거나 충돌할 수 있는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: xattr: fix null pointer deref in ext4_raw_inode()
If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED),
iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all()
lacks error checking, this will lead to a null pointer dereference
in ext4_raw_inode(), called right after ext4_get_inode_loc().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
📍 영향받는 시스템
ext4 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
손상된 파일 시스템 구조를 통해 특정 함수를 호출하여 Null Pointer Dereference 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 보안 업데이트 버전인지 확인