🇰🇷 한글 설명
리눅스 커널의 mm 서브시스템에서 copy_user_gigantic_page() 함수가 거대 페이지(huge page) 크기에 정렬되지 않은 주소를 사용할 때 발생하는 취약점입니다. 이로 인해 메모리 오염이나 정보 유출이 발생할 수 있으며, 이를 해결하기 위해 주소 정렬 로직이 수정되었습니다.
💡 쉬운 설명
컴퓨터 메모리를 관리할 때 주소가 정확한 위치에 맞춰져 있어야 하는데, 이 규칙이 어긋나면서 데이터가 엉뚱한 곳에 저장되거나 유출될 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 정보가 새 나갈 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm: use aligned address in copy_user_gigantic_page()
In current kernel, hugetlb_wp() calls copy_user_large_folio() with the
fault address. Where the fault address may be not aligned with the huge
page size. Then, copy_user_large_folio() may call
copy_user_gigantic_page() with the address, while
copy_user_gigantic_page() requires the address to be huge page size
aligned. So, this may cause memory corruption or information leak,
addtional, use more obvious naming 'addr_hint' instead of 'addr' for
copy_user_gigantic_page().
📍 영향받는 시스템
Linux Kernel (hugetlb 관련 기능이 활성화된 버전)
⚔️ 공격 벡터
정렬되지 않은 주소를 이용한 메모리 접근을 유도하여 메모리 오염 또는 정보 유출 시도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인