CVE-2026-99077

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
23/10/2026
Last modified:
30/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ipv4: udp: Create exceptions before socket matching<br /> <br /> Currently, when ICMP Fragmentation Needed and Redirect Message packets<br /> are locally delivered and quote a UDP packet, a FIB nexthop exception<br /> (FNHE) is only created if the kernel can match the UDP packet to an<br /> existing socket.<br /> <br /> This behavior allows off-path attackers to conduct a side-channel attack<br /> on the FNHE cache in order to discover the ephemeral port used by a<br /> connected UDP socket.<br /> <br /> Commit 6457378fe796 ("ipv4: use siphash instead of Jenkins in<br /> fnhe_hashfun()") and commit 67d6d681e15b ("ipv4: make exception cache<br /> less predictible") tried to mitigate such attacks by making it harder<br /> for attackers to discover hash collisions in the FNHE cache and by<br /> randomizing the number of exceptions a hash bucket can hold,<br /> respectively. Unfortunately, both of the mitigations can be bypassed.<br /> <br /> Instead, mitigate such attacks by always creating a FNHE, even before<br /> trying to find a matching socket. Do that by calling ipv4_update_pmtu()<br /> and ipv4_redirect(), the helpers used when the quoted packet did not<br /> originate from a socket.<br /> <br /> This means that guesses (right or wrong) from an off-path attacker will<br /> always result in a FNHE being created or updated in the cache that the<br /> attacker can observe.<br /> <br /> Pass an oif of 0, in a similar fashion to icmp_err(). This is also the<br /> oif used by the socket path for sockets that are not bound to a device.<br /> <br /> Note that this does not allow attackers to create FNHEs that they could<br /> not create before, as both helpers can already be reached with little to<br /> no validation. For example, by sending an ICMP error that quotes an ICMP<br /> Echo Reply or one that quotes a UDP source port that matches a wildcard<br /> socket.<br /> <br /> Also note that in the good case (matched socket) the above scheme comes<br /> at the cost of an extra route lookup, as the no socket helpers perform<br /> their own lookup before the one performed by ipv4_sk_update_pmtu() /<br /> ipv4_sk_redirect(). When the two resolve to different nexthops, it also<br /> results in two exceptions being created for the same destination IP. One<br /> in the FNHE cache of the nexthop resolved by the no socket helpers and<br /> another in the FNHE cache of the nexthop used by the socket.