KernelScan.io

HIGH Introduced in 5.3

ip6mr CacheReport UAF

CVE-2026-90111

CVSS 7.8 / 10.0 NVD

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

KernelScan AI8.1HIGH

01

In the Linux kernel, the following vulnerability has been resolved: ip6mr: do not clone dst in ip6mr_cache_report() IPv6 input attaches a non-refcounted (NOREF) dst to skbs under RCU. When an ingress multicast packet misses MFC lookup, ip6mr_cache_unresolved() places the skb onto the unresolved queue, escaping the receive-side RCU grace period. If the underlying route is deleted and freed, and the MFC queue is later resolved with a wrong parent interface, ip6_mr_forward() invokes ip6mr_cache_report(..., MRT6MSG_WRONGMIF), which executes dst_clone(skb_dst(pkt)) on the freed dst entry, triggering a slab use-after-free. Report packets queued to mroute6_sk (a raw socket) and netlink notifications do not require an attached dst entry. Fix this by: 1. Removing dst_clone() in ip6mr_cache_report() and ensuring report skbs do not hold a dst. 2. Dropping skb_dst before queuing unresolved skbs in ip6mr_cache_unresolved(), matching the fact that multicast forwarding resolves outgoing routes anew via ip6_route_output().

02

Engine v0.6.0

Risk summary

A remote attacker can trigger a use-after-free in the Linux kernel's IPv6 multicast routing subsystem by sending specially timed multicast packets to a device with IPv6 multicast routing enabled. Successful exploitation could lead to kernel memory corruption, potentially allowing arbitrary code execution or a system crash. The attack requires no privileges from the sender but depends on a race condition involving route deletion and multicast forwarding cache resolution.

Affectednet/ipv6/ip6mr.c (IPv6 multicast routing)

Vulnerability analysis

IPv6 multicast routing keeps a queue of unresolved multicast forwarding cache entries, each holding a packet that arrived before a matching route was configured. The receive path attaches a destination route to these packets without taking a reference, relying on RCU to keep it valid. When a packet is moved to the unresolved queue, it outlives the RCU grace period; if the route is later deleted and freed, the queued packet still points to the stale destination. When the forwarding cache is eventually resolved on a different interface, the multicast routing code clones that stale destination for a report message, accessing freed memory. The fix drops the destination reference before a packet is queued as unresolved and stops cloning it when building report messages, since report packets delivered to multicast routing sockets and netlink do not need a destination. The vulnerability is reachable by sending IPv6 multicast packets to a device that has IPv6 multicast routing enabled, which requires administrator configuration but no privileges from the sender.

03

BranchIntroducedFixed inPatch commit
6.15.36.1.191b50d3cfb8513
6.125.36.12.11442ef371466d5
6.185.36.18.57f57b0fd1c62e
6.65.36.6.1607f8287f606c8
7.25.37.2.64a674afaae41
mainline5.37.3235b42b58601
cip/6.125.36.12.114-cip3442ef371466d5

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)