🇰🇷 한글 설명
리눅스 커널의 netfilter nft_nat 구성 과정에서 IPv4 주소 매핑 시 new_addr 유니온 구조체의 상위 12바이트가 초기화되지 않는 취약점이 발견되었습니다. 이로 인해 초기화되지 않은 값이 nf_nat_setup_info() 함수로 전달되어 메모리 내의 임의의 데이터가 노출될 수 있습니다.
💡 쉬운 설명
네트워크 주소를 변환하는 과정에서 메모리의 일부 공간을 깨끗이 비우지 않고 그대로 사용하여, 컴퓨터 내부의 민감한 정보가 의도치 않게 흘러나갈 수 있는 문제입니다. IPv4 주소를 처리할 때 발생하는 메모리 관리 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_nat: fully initialise new_addr in netmap setup
nft_nat_setup_netmap() builds the mapped address in an on-stack
union nf_inet_addr. For an IPv4 mapping it writes only the 4-byte .ip
member and the loop runs a single 32-bit iteration, but it then copies
the whole 16-byte union into range->min_addr and range->max_addr, so the
upper 12 bytes reach nf_nat_setup_info() uninitialised.
KMSAN reports an uninit-value in nf_nat_setup_info() reached from
nft_nat_eval(). The IPv6 path fills all 16 bytes and is not affected.
Zero-initialise new_addr.
📍 영향받는 시스템
nft_nat 모듈을 사용하는 Linux Kernel (IPv4 환경)
⚔️ 공격 벡터
네트워크 패킷 조작을 통해 초기화되지 않은 메모리 값을 유도하여 정보 유출 시도
🛡️ 대응 방법
nft_nat_setup_netmap() 함수 내에서 new_addr를 0으로 초기화하는 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 보안 패치 버전인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux