🇰🇷 한글 설명
리눅스 커널의 네트워크 스택에서 터널링 경로를 처리할 때 발생하는 루프 감지 로직의 결함입니다. 특정 네트워크 설정 시 WARN_ON_ONCE 경고가 발생하며, 이를 해결하기 위해 경고를 제거하고 경로 탐색을 실패 처리하도록 수정되었습니다.
💡 쉬운 설명
네트워크 통로를 만들 때 데이터가 뱅글뱅글 도는 무한 루프 상황이 발생하면 시스템에 경고를 띄우는 문제가 있었습니다. 이제는 경고를 띄우는 대신 해당 통로를 안전하게 차단하여 시스템을 보호합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: remove WARN_ON_ONCE() from the dev_fill_forward_path() loop check
ipip_fill_forward_path() and ip6_tnl_fill_forward_path() look up the
route to the tunnel's remote endpoint and set ctx->dev to its device,
which is the tunnel itself when that route resolves back to the tunnel.
dev_fill_forward_path() then makes no progress and trips
WARN_ON_ONCE(last_dev == ctx->dev) as soon as a flowtable tries to
offload a flow through the tunnel. That routing loop is a configuration
any CAP_NET_ADMIN user can set up, and ip_tunnel_xmit() and
ip6_tnl_xmit() already treat it as a tx error, so remove the warning and
just fail the walk, as commit 008e7a7c293b ("net: remove WARN_ON_ONCE
when accessing forward path array") did for the path stack overflow.
📍 영향받는 시스템
Linux Kernel (ipip 및 ip6_tnl 모듈 사용 환경)
⚔️ 공격 벡터
CAP_NET_ADMIN 권한을 가진 사용자가 의도적으로 터널링 라우팅 루프를 설정하여 경고를 유발함
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux