🔍 CVE-2026-99076

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널에서 ICMPv6 Packet Too Big 및 Redirect 메시지가 로컬 전달될 때, UDP 패킷을 인용한 경우 커널이 해당 UDP 패킷을 기존 소켓과 매칭할 수 있을 때만 IPv6 예외 캐시에 예외가 생성되는 문제가 해결되었습니다. 이로 인해 외부 공격자가 예외 캐시를 이용한 사이드채널 공격으로 연결된 UDP 소켓의 임시 포트를 알아낼 수 있었습니다. 수정으로 소켓 매칭 이전에 항상 예외를 생성하도록 변경되었습니다.

💡 쉬운 설명

공격자가 네트워크 메시지의 변화를 관찰해 컴퓨터가 사용하는 UDP 포트 번호를 몰래 알아낼 수 있는 문제였습니다. 이제는 추측이 맞든 틀리든 항상 같은 방식으로 동작하도록 고쳐졌습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ipv6: udp: Create exceptions before socket matching Currently, when ICMPv6 Packet Too Big and Redirect Message packets are locally delivered and quote a UDP packet, an exception is only created in the IPv6 exception cache if the kernel can match the UDP packet to an existing socket. This behavior allows off-path attackers to conduct a side-channel attack on the exception cache in order to discover the ephemeral port used by a connected UDP socket. Commit 4785305c05b2 ("ipv6: use siphash in rt6_exception_hash()") and commit a00df2caffed ("ipv6: make exception cache less predictible") tried to mitigate such attacks by making it harder for attackers to discover hash collisions in the exception cache and by randomizing the number of exceptions a hash bucket can hold, respectively. Unfortunately, both of the mitigations can be bypassed. Instead, mitigate such attacks by always creating an exception, even before trying to find a matching socket. Do that by calling ip6_update_pmtu() and ip6_redirect(), the helpers used when the quoted packet did not originate from a socket. This means that guesses (right or wrong) from an off-path attacker will always result in an exception being created or updated in the cache that the attacker can observe. Pass the ifindex of the ingress device and the default uid, in a similar fashion to icmpv6_err(). Unlike IPv4, an oif of 0 would not match any nexthop in ip6_redirect_nh_match() and no exception would be created in response to a Redirect Message. Note that this does not allow attackers to create exceptions that they could not create before, as both helpers can already be reached with little to no validation. For example, by sending an ICMPv6 error that quotes an ICMPv6 Echo Reply or one that quotes a UDP source port that matches a wildcard socket. Also note that in the good case (matched socket) the above scheme comes at the cost of an extra route lookup, as the no socket helpers perform their own lookup before the one performed by ip6_sk_update_pmtu() / ip6_sk_redirect(). When the two resolve to different nexthops, it also results in two exceptions being created for the same destination IP. One in the exception cache of the nexthop resolved by the no socket helpers and another in the exception cache of the nexthop used by the socket.

📍 영향받는 시스템

패치 이전의 Linux 커널 (IPv6 네트워킹 사용 시스템, 정확한 영향 버전은 공식 커널 저장소의 수정 커밋 기준으로 확인 필요)

⚔️ 공격 벡터

네트워크 경로상 외부(off-path) 공격자가 위조된 ICMPv6 오류 메시지를 보내 예외 캐시 변화를 관찰하여 UDP 임시 포트를 추론

🛡️ 대응 방법

배포판 제공 최신 커널로 업데이트하고 재부팅하거나, 커널 소스의 수정 커밋을 적용

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지 또는 커널 패치 정보와 비교하여 수정이 포함된 버전인지 확인하며, 해당 버전보다 낮으면 업데이트가 필요합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel