🇰🇷 한글 설명
리눅스 커널의 메모리 관리(mm) 과정에서 페이지 이동(migration) 중 지연된 분할 큐(deferred split queue)의 레이스 컨디션 취약점이 발견되었습니다. 페이지 이동 시 순서 오류로 인해 메모리 매핑 상태가 불일치할 수 있으며, 이로 인해 시스템 경고가 발생하거나 메모리 데이터가 유실될 위험이 있습니다.
💡 쉬운 설명
컴퓨터가 메모리를 정리하고 옮기는 과정에서 순서가 꼬여 데이터가 사라지거나 오류가 발생할 수 있는 문제입니다. 메모리 관리 시스템의 타이밍 문제로 인해 발생하는 소프트웨어 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm: fix deferred split queue races during migration
migrate_folio_move() records the deferred split queue state from src and
replays it on dst. Replaying it after remove_migration_ptes(src, dst, 0)
makes dst visible before it is requeued, so a concurrent rmap-removal path
can mark dst partially mapped and trip the WARN in deferred_split_folio().
Move the requeue before remove_migration_ptes() so dst is back on the
deferred split queue before it becomes visible again.
Because migration still holds dst locked at that point, teach
deferred_split_scan() to requeue a folio when folio_trylock() fails.
Otherwise a fully mapped underused folio can be dequeued by the shrinker
and silently lost from split_queue.
[
[email protected]: move the comment]
📍 영향받는 시스템
Linux Kernel (mm subsystem 관련 버전)
⚔️ 공격 벡터
로컬 공격자가 메모리 관리 프로세스의 타이밍을 조작하여 시스템 오류나 데이터 유실을 유도할 수 있음
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.