CVE-2026-99076
High 7.4No known exploitationFix availableipv6: udp: Create exceptions before socket matching
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 2b760fcf5cfb34e8610df56d83745b2b74ae1379 before fc1fc874ceed4db566a5efbff39313d3d91d424a | fc1fc874ceed4db566a5efbff39313d3d91d424a | CVE Program |
| Linux | Linux | from 2b760fcf5cfb34e8610df56d83745b2b74ae1379 before 8c9b310c958be33ba8fb9d0e6b77811d013e10c0 | 8c9b310c958be33ba8fb9d0e6b77811d013e10c0 | CVE Program |
| Linux | Linux | from 2b760fcf5cfb34e8610df56d83745b2b74ae1379 before ac76cab50e899a7346408b8d3c3a4192c2eefb9f | ac76cab50e899a7346408b8d3c3a4192c2eefb9f | CVE Program |
| Linux | Linux | from 2b760fcf5cfb34e8610df56d83745b2b74ae1379 before 9b88f0fcbd4b746de0478b4fd99fa495eb26b857 | 9b88f0fcbd4b746de0478b4fd99fa495eb26b857 | CVE Program |
| Linux | Linux | 4.15 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.161.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.57-1.12.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.62-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.11 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 4.15 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/8c9b310c958be33ba8fb9d0e6b77811d013e10c0 (opens in a new tab)
- https://git.kernel.org/stable/c/9b88f0fcbd4b746de0478b4fd99fa495eb26b857 (opens in a new tab)
- https://git.kernel.org/stable/c/ac76cab50e899a7346408b8d3c3a4192c2eefb9f (opens in a new tab)
- https://git.kernel.org/stable/c/fc1fc874ceed4db566a5efbff39313d3d91d424a (opens in a new tab)