🇰🇷 한글 설명
Linux 커널의 ext4 파일 시스템에서 get_max_inline_xattr_value_size() 함수에 경계 검사 로직이 누락된 취약점입니다. 파일 시스템이 마운트된 상태에서 블록 장치에 직접 쓰기 작업을 수행하여 inode 테이블이 손상될 경우, 할당된 메모리 범위를 벗어나 읽는 문제가 발생할 수 있습니다.
💡 쉬운 설명
파일 시스템의 데이터가 비정상적으로 조작될 경우, 컴퓨터가 허용된 메모리 범위를 넘어서 데이터를 읽으려다 오류가 발생할 수 있는 문제입니다. 이는 시스템의 안정성을 해치거나 잘못된 정보를 읽어오는 원인이 됩니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: add bounds checking in get_max_inline_xattr_value_size()
Normally the extended attributes in the inode body would have been
checked when the inode is first opened, but if someone is writing to
the block device while the file system is mounted, it's possible for
the inode table to get corrupted. Add bounds checking to avoid
reading beyond the end of allocated memory if this happens.
📍 영향받는 시스템
ext4 파일 시스템을 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
파일 시스템이 마운트된 상태에서 블록 장치에 직접 데이터를 쓰는 방식의 조작
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인