🔍 CVE-2026-46120

7.8
CVSS Score
HIGH
2026-05-28
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ip6_gre 모듈에서 네트워크 네임스페이스 이동 시 잘못된 해시 테이블을 사용하여 발생하는 취약점입니다. 이로 인해 네트워크 네임스페이스가 삭제될 때 stale entry를 참조하게 되어 Slab Use-After-Free 및 커널 버그를 유발할 수 있습니다.

💡 쉬운 설명

네트워크 설정이 변경될 때 시스템이 엉뚱한 메모리 주소를 참조하여 오류가 발생하는 문제입니다. 공격자가 이를 이용하면 시스템을 강제로 종료시키거나 보안을 무너뜨릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ip6_gre: Use cached t->net in ip6erspan_changelink(). After commit 5e72ce3e3980 ("net: ipv6: Use link netns in newlink() of rtnl_link_ops"), ip6erspan_newlink() correctly resolves the per-netns ip6gre hash via link_net. ip6erspan_changelink() was not converted in that series and still uses dev_net(dev), which diverges from the device's creation netns after IFLA_NET_NS_FD migration. This re-inserts the tunnel into the wrong per-netns hash. The original netns keeps a stale entry. When that netns is later destroyed, ip6gre_exit_rtnl_net() walks the stale entry, producing a slab-use-after-free reported by KASAN, followed by a kernel BUG at net/core/dev.c (LIST_POISON1) in unregister_netdevice_many_notify(). Reachable from an unprivileged user namespace (unshare --user --map-root-user --net). ip6gre_changelink() earlier in the same file already uses the cached t->net; only ip6erspan_changelink() has the wrong shape.

📍 영향받는 시스템

Linux Kernel (ip6_gre 모듈 사용 환경)

⚔️ 공격 벡터

권한이 없는 사용자가 User Namespace를 생성하여 네트워크 설정을 변경함으로써 공격 가능

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel