CVE-2026-74581 PUBLISHED

net: ipv6: clear suppressed fib6 rule result

Assigner: Linux
Reserved: 15.08.2026 Published: 21.08.2026 Updated: 25.08.2026

In the Linux kernel, the following vulnerability has been resolved:

net: ipv6: clear suppressed fib6 rule result

fib6_rule_suppress() drops a suppressed route with ip6_rt_put_flags(), but leaves res->rt6 pointing at the released rt6_info.

If no later rule supplies a replacement, fib6_rule_lookup() still sees res.rt6 and returns that stale dst to its caller. A suppressing rule can therefore leak a released route back to rt6_lookup(), and the next put hits rcuref_put_slowpath() from dst_release().

Clear res->rt6 when suppressing the route so suppressed lookups fall through to the null dst instead of reusing the released one.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

AV:N - fib6_rule_suppress() runs on every IPv6 route lookup via fib6_rule_lookup(), including ip6_route_input() for received packets and icmp6/icmpv6 redirect handlers; WireGuard/VPN servers commonly deploy suppress_prefixlength rules (wg-quick), so remote IPv6 traffic to those hosts reaches the bug. AC:L - Once suppress_prefixlength IPv6 policy routing rules exist, any matching packet deterministically triggers fib6_rule_suppress() to release the route while leaving a stale res->rt6 pointer; no race or uncontrollable memory layout is required. PR:N - Remote exploitation needs only the ability to send IPv6 packets through a host whose operator already configured suppress rules (e.g., wg-quick); CAP_NET_ADMIN is an admin deployment prerequisite, not attacker privilege on the target. UI:N - No victim action is required beyond normal delivery of attacker-generated IPv6 traffic (or ICMPv6 redirect) to a host performing policy-route lookup. S:U - The stale rt6_info/dst_entry UAF corrupts kernel heap memory within the same host security boundary; it is not a VM escape or cross-authority sandbox break. C:H - Returning a released rt6_info leaves a dangling dst_entry in ip6_dst_cache; subsequent reads through ip6_dst_idev(), dst metrics, or error paths are classic slab UAF with attacker-influencable heap reuse via sustained IPv6 traffic. I:H - Double-free/imbalanced rcuref put and post-free use of rt6_info fields give heap corruption primitives; UAF on dst/route cache objects is routinely leveraged for kernel write and control-flow hijack. A:H - Commit explicitly reports rcuref_put_slowpath() WARN from dst_release() on the freed route; UAF and refcount corruption can oops/panic the kernel, fully denying availability.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 209d35ee34e25f9668c404350a1c86d914c54ffa to 90c57310e266eb94e4a80d6b15a9ca131d2e82cb (excl.)
  • affected from 8ef8a76a340ebdb2c2eea3f6fb0ebbed09a16383 to 5d29b286c9de0b309e94b9ed083aa1a2f429434f (excl.)
  • affected from cdef485217d30382f3bf6448c54b4401648fe3f1 to 354db6243eca59e9d187ffbf8b7955b044ce84dc (excl.)
  • affected from cdef485217d30382f3bf6448c54b4401648fe3f1 to 6d98c70fe0ba8c7708bfd5b2a5174d2086775daa (excl.)
  • affected from cdef485217d30382f3bf6448c54b4401648fe3f1 to 9bad152c42b37499162367fe47867411e62fffa3 (excl.)
  • affected from cdef485217d30382f3bf6448c54b4401648fe3f1 to dc3ab04220667f254f4348572b2a0b3febff89fb (excl.)
  • affected from cdef485217d30382f3bf6448c54b4401648fe3f1 to a341c091ca0bfae377747b1b59a3bd8ebe18a937 (excl.)
  • affected from cdef485217d30382f3bf6448c54b4401648fe3f1 to 6aea62e433fe1b586202a5fee8b5807ce635e1d7 (excl.)
  • Version ee38eb8cf9a7323884c2b8e0adbbeb2192d31e29 is affected
  • affected from 5.10.84 to 5.10.265 (excl.)
  • affected from 5.15.7 to 5.15.216 (excl.)
  • affected from 5.4.164 to 5.5 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.16 is affected
  • unaffected from 0 to 5.16 (excl.)
  • unaffected from 5.10.265 to 5.10.* (incl.)
  • unaffected from 5.15.216 to 5.15.* (incl.)
  • unaffected from 6.1.183 to 6.1.* (incl.)
  • unaffected from 6.6.151 to 6.6.* (incl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References