🇰🇷 한글 설명
리눅스 커널의 mm 서브시스템에서 clear_gigantic_page() 함수가 거대 페이지(huge page) 크기에 정렬되지 않은 주소를 사용할 때 발생하는 취약점입니다. 이로 인해 메모리 오염이나 정보 유출이 발생할 수 있으며, 이를 해결하기 위해 주소 정렬 로직이 수정되었습니다.
💡 쉬운 설명
컴퓨터 메모리를 관리할 때 정해진 규칙(주소 정렬)을 지키지 않고 데이터를 처리하여 오류가 발생하는 문제입니다. 이 오류를 이용하면 시스템의 중요한 정보가 새어나가거나 메모리가 망가질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm: use aligned address in clear_gigantic_page()
In current kernel, hugetlb_no_page() calls folio_zero_user() with the
fault address. Where the fault address may be not aligned with the huge
page size. Then, folio_zero_user() may call clear_gigantic_page() with
the address, while clear_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
clear_gigantic_page().
📍 영향받는 시스템
거대 페이지(Huge Pages) 기능을 사용하는 취약한 버전의 리눅스 커널
⚔️ 공격 벡터
정렬되지 않은 메모리 주소에 접근을 유도하여 메모리 오염 또는 정보 유출 유발
🛡️ 대응 방법
커널 패치가 적용된 최신 버전의 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인