{"id":"CVE-2026-99076","title":"ipv6: udp: Create exceptions before socket matching","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: udp: Create exceptions before socket matching\n\nCurrently, when ICMPv6 Packet Too Big and Redirect Message packets are\nlocally delivered and quote a UDP packet, an…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 2b760fcf5cfb34e8610df56d83745b2b74ae1379 < 8c9b310c958be33ba8fb9d0e6b77811d013e10c0","Linux >= 2b760fcf5cfb34e8610df56d83745b2b74ae1379 < ac76cab50e899a7346408b8d3c3a4192c2eefb9f","Linux 4.15"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:23:19.727Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99076","references":[{"url":"https://git.kernel.org/stable/c/8c9b310c958be33ba8fb9d0e6b77811d013e10c0"},{"url":"https://git.kernel.org/stable/c/ac76cab50e899a7346408b8d3c3a4192c2eefb9f"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.514Z","slug":"CVE-2026-99076","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nipv6: udp: Create exceptions before socket matching\n\nCurrently, when ICMPv6 Packet Too Big and Redirect Message packets are\nlocally delivered and quote a UDP packet, an exception is only created\nin the IPv6 exception cache if the kernel can match the UDP packet to an\nexisting socket.\n\nThis behavior allows off-path attackers to conduct a side-channel attack\non the exception cache in order to discover the ephemeral port used by a\nconnected UDP socket.\n\nCommit 4785305c05b2 (\"ipv6: use siphash in rt6_exception_hash()\") and\ncommit a00df2caffed (\"ipv6: make exception cache less predictible\") tried\nto mitigate such attacks by making it harder for attackers to discover\nhash collisions in the exception cache and by randomizing the number of\nexceptions a hash bucket can hold, respectively. Unfortunately, both of\nthe mitigations can be bypassed.\n\nInstead, mitigate such attacks by always creating an exception, even\nbefore trying to find a matching socket. Do that by calling\nip6_update_pmtu() and ip6_redirect(), the helpers used when the quoted\npacket did not originate from a socket.\n\nThis means that guesses (right or wrong) from an off-path attacker will\nalways result in an exception being created or updated in the cache that\nthe attacker can observe.\n\nPass the ifindex of the ingress device and the default uid, in a similar\nfashion to icmpv6_err(). Unlike IPv4, an oif of 0 would not match any\nnexthop in ip6_redirect_nh_match() and no exception would be created in\nresponse to a Redirect Message.\n\nNote that this does not allow attackers to create exceptions that they\ncould not create before, as both helpers can already be reached with\nlittle to no validation. For example, by sending an ICMPv6 error that\nquotes an ICMPv6 Echo Reply or one that quotes a UDP source port that\nmatches a wildcard socket.\n\nAlso note that in the good case (matched socket) the above scheme comes\nat the cost of an extra route lookup, as the no socket helpers perform\ntheir own lookup before the one performed by ip6_sk_update_pmtu() /\nip6_sk_redirect(). When the two resolve to different nexthops, it also\nresults in two exceptions being created for the same destination IP. One\nin the exception cache of the nexthop resolved by the no socket helpers\nand another in the exception cache of the nexthop used by the socket.\n\n## Affected\n\n- `Linux >= 2b760fcf5cfb34e8610df56d83745b2b74ae1379 < 8c9b310c958be33ba8fb9d0e6b77811d013e10c0`\n- `Linux >= 2b760fcf5cfb34e8610df56d83745b2b74ae1379 < ac76cab50e899a7346408b8d3c3a4192c2eefb9f`\n- `Linux 4.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}