🇰🇷 한글 설명
Linux 커널의 XFS 파일 시스템에서 push 콜백 이후 로그 아이템을 역참조할 때 발생하는 취약점입니다. AIL 잠금이 해제된 사이 백그라운드 프로세스에 의해 로그 아이템이 해제될 수 있어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 저장하는 과정에서 이미 삭제된 정보를 다시 읽으려고 시도하여 시스템 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xfs: avoid dereferencing log items after push callbacks
After xfsaild_push_item() calls iop_push(), the log item may have been
freed if the AIL lock was dropped during the push. Background inode
reclaim or the dquot shrinker can free the log item while the AIL lock
is not held, and the tracepoints in the switch statement dereference
the log item after iop_push() returns.
Fix this by capturing the log item type, flags, and LSN before calling
xfsaild_push_item(), and introducing a new xfs_ail_push_class trace
event class that takes these pre-captured values and the ailp pointer
instead of the log item pointer.
📍 영향받는 시스템
XFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 파일 시스템 작업(inode reclaim 또는 dquot shrinker 유도)을 통해 메모리 오류를 유발할 수 있음
🛡️ 대응 방법
XFS 로그 아이템 처리 방식을 개선한 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인