🇰🇷 한글 설명
리눅스 커널의 dm-pcache 구성 요소에서 리플레이 과정 중 last-kset 체인의 순환을 감지하지 못하는 취약점이 발견되었습니다. 조작된 체인이 이미 방문한 세그먼트를 다시 가리킬 경우, 리플레이 루프가 무한 반복되는 문제가 발생할 수 있습니다.
💡 쉬운 설명
데이터를 복구하는 과정에서 잘못된 연결 고리를 따라가다가 컴퓨터가 무한 루프에 빠져 멈춰버릴 수 있는 문제입니다. 공격자가 데이터 연결 순서를 조작하면 시스템을 마비시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm-pcache: detect a cycle in the last-kset chain during replay
cache_replay() follows the on-media last-kset chain by next_cache_seg_id
with no cond_resched(). A forged chain that points back into a segment it
has already visited makes the replay loop follow it forever.
Cap the last-kset hops at cache->n_segs; a valid chain visits each segment
at most once.
📍 영향받는 시스템
dm-pcache 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 last-kset 체인을 포함한 미디어 데이터를 통해 무한 루프 유도
🛡️ 대응 방법
dm-pcache의 last-kset 홉(hop) 횟수를 세그먼트 수로 제한하는 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 최신 패치 버전인지 확인