# CVE-2026-63914: xfrm: route MIGRATE notifications to caller's netns

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:18.618Z
- Modified: 2026-10-30T17:47:30.490Z
- Weaknesses: CWE-668, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

xfrm: route MIGRATE notifications to caller's netns

xfrm_send_migrate() in net/xfrm/xfrm_user.c and pfkey_send_migrate()
in net/key/af_key.c both hardcode &init_net for the multicast that
announces a successful XFRM_MSG_MIGRATE / SADB_X_MIGRATE.

XFRM_MSG_MIGRATE arrives on a per-netns NETLINK_XFRM socket, and the
rest of the xfrm/af_key netlink path was made netns-aware in 2008.
The other 14 multicast paths in xfrm_user.c route their event using
xs_net(x), xp_net(xp) or sock_net(skb->sk); only the migrate path
was missed.

Two consequences of the init_net hardcoding:

  1. The notification (selector, old/new endpoint addresses, and the
     km_address) is delivered to listeners on init_net's
     XFRMNLGRP_MIGRATE / pfkey BROADCAST_ALL groups rather than on
     the issuing netns. An IKE daemon running in init_net therefore
     receives migration notifications originating from any other
     netns on the host.

  2. An IKE daemon running inside a non-init netns and subscribed
     to its own XFRMNLGRP_MIGRATE / pfkey groups never receives the
     notification of its own migration. IKEv2 MOBIKE / address-update
     handling inside a netns is silently broken.

Thread struct net through km_migrate() and the xfrm_mgr.migrate
function pointer, drop the &init_net override in xfrm_send_migrate()
and pfkey_send_migrate(), and pass the caller's net (already in
scope in xfrm_migrate() via sock_net(skb->sk)) all the way down.
struct xfrm_mgr is in-tree only and not exported as a stable API,
so the function-pointer signature change is internal.

pfkey_broadcast() is already netns-aware via net_generic(net,
pfkey_net_id) since the pernet conversion. The five other
pfkey_broadcast() callers in af_key.c already pass xs_net(x),
sock_net(sk) or a per-netns net, so this only removes the
&init_net outlier.

(As written by CVE List.)

## Affected

- Linux Linux: from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before bafc7d0774b9bf52909c70ed990bc5ccf7ec4bad; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before 6df8157547347b5257bf640a0ae3dfc4411e06cd; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before fe463798343382c8fe9416a95959f005a3c30aa5; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before 00f2c451e57df50b1151d9b2254878f106b7c892; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before a306cf2ac8849c487791369fad6f216399d000f6; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before 448bb92ca101dde8a6e88b4dc824044b4e341604; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before 26ce8dbf2e23fe4fcc3351d19ef6d3fb703ed126; from 5c79de6e79cd8ecfbae28886be3ee49044f3a4d4 before 7e2a4f7ca0952820731ef7bdadfc9a9e9d3571b4; 2.6.21 (not affected: before 2.6.21; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.21 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/bafc7d0774b9bf52909c70ed990bc5ccf7ec4bad> (patch)
- <https://git.kernel.org/stable/c/6df8157547347b5257bf640a0ae3dfc4411e06cd> (patch)
- <https://git.kernel.org/stable/c/fe463798343382c8fe9416a95959f005a3c30aa5> (patch)
- <https://git.kernel.org/stable/c/00f2c451e57df50b1151d9b2254878f106b7c892> (patch)
- <https://git.kernel.org/stable/c/a306cf2ac8849c487791369fad6f216399d000f6> (patch)
- <https://git.kernel.org/stable/c/448bb92ca101dde8a6e88b4dc824044b4e341604> (patch)
- <https://git.kernel.org/stable/c/26ce8dbf2e23fe4fcc3351d19ef6d3fb703ed126> (patch)
- <https://git.kernel.org/stable/c/7e2a4f7ca0952820731ef7bdadfc9a9e9d3571b4> (patch)

## Sources

- CVE List: [CVE-2026-63914](https://www.cve.org/CVERecord?id=CVE-2026-63914), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63914](https://nvd.nist.gov/vuln/detail/CVE-2026-63914), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63914 · Whole record: https://cve.day/CVE-2026-63914.json · Rebuilt by cve.day 2026-11-25T22:59:28.822Z
