🇰🇷 한글 설명
Linux 커널의 XFS 파일 시스템에서 rtrmap 및 rtrefcount의 _maxlevels_ondisk 함수가 inode 루트를 계산에 포함하지 않는 취약점이 발견되었습니다. 이로 인해 매우 큰 B-tree 구조를 가진 경우 메모리 내 커서의 범위를 벗어난 메모리 접근이 발생할 수 있습니다.
💡 쉬운 설명
파일 시스템이 데이터를 관리하는 과정에서 계산 실수로 인해 정해진 메모리 공간보다 더 넓은 영역을 건드릴 수 있는 오류입니다. 이 오류를 이용하면 시스템의 중요한 정보가 노출되거나 프로그램이 강제로 종료될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions
The _maxlevels_ondisk functions are used to compute the size of
in-memory btree cursors for each btree type. Unfortunately, LOLLM
noticed that the rtrmap and rtrefcount versions of these functions
forget to account for the inode root, which means that we could access
beyond the end of the cursor given a sufficiently large btree. Fix
this.
📍 영향받는 시스템
XFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 대규모 B-tree 구조를 가진 XFS 파일 시스템을 마운트하여 메모리 경계 외 접근 유도
🛡️ 대응 방법
XFS 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 수정된 최신 보안 패치 버전인지 확인합니다.