🇰🇷 한글 설명
Linux 커널의 mm/migrate_device 구성 요소에서 migrate_vma_insert_huge_pmd_page 함수 호출 시 스핀락(spinlock)이 해제되지 않는 결함이 발견되었습니다. check_stable_address_space() 함수가 실패할 경우 스핀락을 해제하지 않고 바로 중단 지점으로 이동하여 시스템 데드락(deadlock)을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 커널이 특정 작업을 하다가 오류가 발생했을 때, 사용 중이던 잠금 장치를 풀지 않고 멈춰버리는 문제입니다. 이로 인해 시스템이 응답하지 않는 먹통 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page
When check_stable_address_space() fails after the PMD spinlock has
been acquired via pmd_lock(), the code jumps directly to the abort
label, bypassing the spin_unlock() call in unlock_abort. This causes
the PMD spinlock to be permanently held, leading to a deadlock.
Change the goto target from abort to unlock_abort to ensure the
spinlock is always released on this error path.
📍 영향받는 시스템
Linux Kernel (mm/migrate_device 관련 모듈을 사용하는 버전)
⚔️ 공격 벡터
로컬 시스템에서 특정 메모리 마이그레이션 작업을 유도하여 시스템 데드락 유발
🛡️ 대응 방법
해당 결함이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인