🇰🇷 한글 설명
Linux 커널의 netdevsim 구성 요소에서 dummy sk_buff 생성 시 iphdr 구조체가 제대로 초기화되지 않는 취약점이 발견되었습니다. 이로 인해 초기화되지 않은 메모리 값이 사용되는 KMSAN 오류가 발생할 수 있습니다. skb_put 대신 skb_put_zero를 사용하여 IP 헤더 전체를 0으로 초기화함으로써 이 문제가 해결되었습니다.
💡 쉬운 설명
컴퓨터 네트워크를 흉내 내는 기능에서 메모리 공간을 깨끗이 비우지 않고 사용하면서 발생한 문제입니다. 비어 있어야 할 공간에 이전의 데이터가 남아 있어 시스템 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netdevsim: zero initialize struct iphdr in dummy sk_buff
Syzbot reports a KMSAN uninit-value originating from
nsim_dev_trap_skb_build, with the allocation also
being performed in the same function.
Fix this by calling skb_put_zero instead of skb_put to
guarantee zero initialization of the whole IP header.
📍 영향받는 시스템
Linux Kernel (netdevsim 모듈을 사용하는 환경)
⚔️ 공격 벡터
로컬 시스템에서 네트워크 시뮬레이션 기능을 통해 초기화되지 않은 메모리 값을 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.