🔍 CVE-2026-63921

8.8
CVSS Score
HIGH
2026-07-19
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ip6 vti 모듈에서 네트워크 네임스페이스 이동 시 발생하는 취약점입니다. 네트워크 네임스페이스가 이동된 터널에 대해 SIOCCHGTUNNEL 명령을 수행할 때, 잘못된 네트워크 컨텍스트를 참조하여 원래 네임스페이스의 해시 테이블을 오염시킬 수 있습니다. 이를 통해 공격자는 권한이 없는 사용자 네임스페이스에서 다른 테넌트의 패킷을 가로챌 수 있습니다.

💡 쉬운 설명

리눅스 시스템에서 가상 네트워크 통로를 옮길 때 발생하는 보안 허점으로, 공격자가 가짜 통로를 만들어 다른 사용자의 데이터를 훔쳐볼 수 있는 문제입니다. 컨테이너 환경에서 한 사용자가 다른 사용자의 네트워크 정보를 조작할 수 있어 위험합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ip6: vti: Use ip6_tnl.net in vti6_siocdevprivate(). After patch 1/2 in this series, vti6_update() unlinks and relinks the tunnel through t->net. vti6_siocdevprivate() still uses dev_net(dev) for the collision lookup. For a tunnel moved through IFLA_NET_NS_FD, dev_net(dev) is the new netns, not t->net. SIOCCHGTUNNEL on a migrated tunnel then runs: net = dev_net(dev) /* migrated netns */ t = vti6_locate(net, &p1, false) /* misses target in t->net */ ... t = netdev_priv(dev) vti6_update(t, &p1, false) /* mutates t->net's hash */ A caller in the migrated netns picks params that match a tunnel in the creation netns. The lookup in dev_net(dev) finds nothing. vti6_update() prepends the migrated tunnel at the head of the creation netns hash bucket for those params. Later lookups in the creation netns resolve to the migrated device. xfrm receive delivers the matched packets through a device the caller controls. Reachable from an unprivileged user namespace (unshare --user --map-root-user --net). Cross tenant scope on container hosts. Switch the SIOCCHGTUNNEL path on a non fallback device to use t->net for the lookup. The lookup now matches the netns vti6_update() operates on. Also add ns_capable(self->net->user_ns, CAP_NET_ADMIN) before the lookup. The check at the top of the case is against dev_net(dev)->user_ns, which after migration is the attacker's netns. A caller there can pick params absent from self->net, the lookup returns NULL, t becomes self, and vti6_update() inserts the device into the creation netns hash. The new check requires CAP_NET_ADMIN in the creation netns user_ns too. SIOCADDTUNNEL and SIOCCHGTUNNEL on the fallback device keep dev_net(dev), which equals init_net there.

📍 영향받는 시스템

Linux kernel (ip6 vti module affected)

⚔️ 공격 벡터

비특권 사용자 네임스페이스(unprivileged user namespace)를 통한 네트워크 해시 테이블 오염 및 패킷 탈취

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 vti6_siocdevprivate()의 네트워크 컨텍스트 참조 및 권한 검사 로직을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 보안 공지(CVE-2026-63921 관련)와 대조하여 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel