CVE-2026-72429
JSON

9.8critical

ipv6: ioam: fix type confusion of dst_entry

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.60% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: ioam: fix type confusion of dst_entry IOAM uses a dummy dst_entry(null_dst) to mark that the destination should not be changed after the transformation. This dst is stored in the IOAM lwt state and may be passed to dst_cache_set_ip6(). However, the IPv6 dst cache path eventually calls rt6_get_cookie(), which treats the dst_entry as part of a struct rt6_info. Since the null_dst was embedded directly as a struct dst_entry in struct ioam6_lwt, this resulted in an invalid cast and rt6_get_cookie() reading fields from the wrong object. In practice, the wrong cookie is not used while dst->obsolete is zero, but rt6_get_cookie() may also access per-cpu value when rt->sernum is zero. In this case, rt->sernum aliases ioam6_lwt::cache::reset_ts, which can become zero, making this a potential invalid pointer access. Fix this by embedding a full struct rt6_info for the dummy IPv6 route and passing its dst member to the dst APIs.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 47ce7c854563fe8450e9cb8dcd62c6470e28076b before ea24f911ead85ba3d570a31e37c52b6c949f6928, from 47ce7c854563fe8450e9cb8dcd62c6470e28076b before 5a3b2ee1e96d0580a8ed8deda6dfa430604f9ab0, from 47ce7c854563fe8450e9cb8dcd62c6470e28076b before 9ed19e11d2146076d117d51a940643990118449b, 6.16
Not affected: before 6.16, from 6.18.40 up to 6.18.*, from 7.1.5 up to 7.1.*, from 7.2 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72429 changed 2026-08-17CVE Terms of Use
NVDCVE-2026-72429 changed 2026-08-17Public domain