🇰🇷 한글 설명
리눅스 커널의 링 버퍼(ring-buffer)에서 페이지 스왑 실패 시 원격 리더 업데이트를 중단하지 않는 취약점이 발견되었습니다. 버퍼 내 이벤트가 급증할 때 페이지 교체 콜백이 -EBUSY를 반환하더라도 시스템이 이를 성공으로 간주하여 페이지 리스트를 잘못 재배열하는 문제가 있습니다.
💡 쉬운 설명
컴퓨터 메모리 관리 과정에서 데이터 교체가 실패했는데도 시스템이 성공한 것처럼 착각하여 데이터가 꼬일 수 있는 문제입니다. 이로 인해 메모리 관리 오류나 시스템 불안정이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ring-buffer: Stop remote reader update when page swap fails
The remote swap_reader_page callback can return -EBUSY when the writer
moves the head before the remote catches it, particularly during an event
storm on a small buffer. __rb_get_reader_page_from_remote() currently
warns about that failure but continues with the unchanged reader ID and
rearranges the local page list as though the swap succeeded.
Handle the callback failure as a recoverable error. Report it with
pr_warn_ratelimited() and return NULL. Callers already handle a NULL reader
page as a failed attempt. This avoids splicing the same page as both the
previous and new reader without flooding the log under contention.
📍 영향받는 시스템
Linux Kernel (ring-buffer 관련 모듈 사용 시스템)
⚔️ 공격 벡터
버퍼 내 이벤트 폭주를 유도하여 메모리 페이지 스왑 실패를 일으키는 로컬 또는 원격 공격
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.