🇰🇷 한글 설명
리눅스 커널의 ring-buffer 구현 중 ring_buffer_map_get_reader() 함수에서 발생하는 경고 문제입니다. 리더가 라이터의 데이터를 따라잡아 더 이상 가져올 새 페이지가 없는 정상적인 상황임에도 불구하고, 이를 오류로 판단하여 불필요한 경고를 발생시키는 결함이 수정되었습니다.
💡 쉬운 설명
데이터를 읽는 속도가 쓰는 속도와 비슷해져서 더 읽을 데이터가 없는 정상적인 상황인데, 컴퓨터가 이를 오류라고 착각하여 경고 메시지를 띄우던 문제입니다. 이제는 정상적인 상황임을 인식하여 불필요한 경고를 내보내지 않습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up
The function ring_buffer_map_get_reader() is a bit more strict than the
other get reader functions, and except for certain situations the
rb_get_reader_page() should not return NULL. If it does, it triggers a
warning.
This warning was triggering but after looking at why, it was because
another acceptable situation was happening and it wasn't checked for.
If the reader catches up to the writer and there's still data to be read
on the reader page, then the rb_get_reader_page() will return NULL as
there's no new page to get.
In this situation, the reader page should not be updated and no warning
should trigger.
📍 영향받는 시스템
Linux Kernel (ring-buffer 관련 모듈 사용 시스템)
⚔️ 공격 벡터
직접적인 보안 공격 벡터는 없으며, 시스템 로그에 불필요한 경고를 생성하는 로직 결함입니다.
🛡️ 대응 방법
리눅스 커널을 최신 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.