🇰🇷 한글 설명
Linux 커널의 x86/amd_node 구성 요소에서 가상화 시스템 사용 시 0으로 나누기 오류가 발생하여 시스템이 충돌할 수 있는 취약점입니다. Xen PVH dom0 환경에서 노드 수와 루트 수의 관계가 불일치할 때 roots_per_node가 0으로 계산되어 발생합니다.
💡 쉬운 설명
가상 컴퓨터 환경에서 시스템의 구조를 계산할 때 숫자를 0으로 나누는 수학적 오류가 발생하여 컴퓨터가 갑자기 멈출 수 있는 문제입니다. 이 문제는 특정 가상화 환경에서 시스템 설정값이 예상과 다르게 계산될 때 나타납니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
x86/amd_node: Avoid divide by zero on virtualized systems
On a virtualized system, the number of nodes does not have a relationship to
the number of roots. A Xen PVH dom0 can calculate roots_per_node as 0, which
crashes with a divide by zero in:
if (count++ % roots_per_node)
because the underlying topology code on Xen ends up making num_nodes
2 and num_roots 1 and the integer division result is 0.
The issue is seen with Xen, but it could affect other systems.
Set roots_per_node to 1 in this case. Print a firmware bug when this is
performed for non-virtualized systems.
[ bp: Massage commit message. ]
📍 영향받는 시스템
Xen 가상화 환경을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
직접적인 외부 공격보다는 특정 가상화 환경 구성 시 시스템 내부 로직에 의해 발생 (DoS 가능성)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.