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.
Impact
Base Score 3.x
7.40
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0cf0ff2f728f2a1434c56c0bcf267fe230abf124
- https://git.kernel.org/stable/c/3b92e4349c6b0dd1e05d5f0483e71ef37691b1c3
- https://git.kernel.org/stable/c/4c3499f79f8c7e8561266bcc220a18538cec0458
- https://git.kernel.org/stable/c/9f97b01ee799bdf57d9183623f3987c8bbfd4f6f
- https://git.kernel.org/stable/c/be4fd05398f2b5e42029be70ee875fc749b8ce3a
- https://git.kernel.org/stable/c/e0cd4942831d4ef8f6d4b90b0d3510460fdfbceb
- https://git.kernel.org/stable/c/e8f211a37396f1684af9ac81b3fc53538eb9c2f7
- https://git.kernel.org/stable/c/ecd7ead4bf05e221e90f18a29aec570a50fd1592


