🇰🇷 한글 설명
Linux 커널의 dm-pcache 구성 요소에서 발생한 취약점으로, cache_replay(), writeback worker 및 GC worker 작업 시 데이터 읽기 범위가 실제 데이터 영역을 초과하여 제어 영역까지 읽을 수 있는 문제가 있었습니다. 이를 해결하기 위해 읽기 범위를 데이터 영역인 cache_seg_remain() 내로 제한하도록 수정되었습니다.
💡 쉬운 설명
데이터를 읽을 때 정해진 범위를 넘어서 옆에 있는 중요한 관리 정보까지 읽어버리는 오류가 있었습니다. 이로 인해 시스템의 중요한 정보가 노출될 위험이 있어 읽기 범위를 정확하게 제한하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm-pcache: clamp the tail kset read to the segment data region
The tail-kset read in cache_replay(), the writeback worker and the GC
worker bounds its length by PCACHE_SEG_SIZE - seg_off, the raw segment
size rather than the data region. A tail near the segment end reads past
the segment data into the following control area.
Clamp the read to cache_seg_remain(), the data region.
📍 영향받는 시스템
dm-pcache 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특정 조건에서 메모리 읽기 범위를 초과하여 제어 영역의 데이터를 탈취하는 방식
🛡️ 대응 방법
dm-pcache의 읽기 범위를 제한하는 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인