Skip to main content
← All vulnerabilities
CVE-2026-72463

xfrm: Fix dev use-after-free in xfrm async resumption

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.112, 6.18.54, 6.2, 6.7, 6.20, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: xfrm: Fix dev use-after-free in xfrm async resumption xfrm async resumption hold skb->dev refcnt until after transport_finish. However, xfrm_rcv_cb may modify skb->dev to tunnel dev without taking device reference, such as vti_rcv_cb. The subsequent async resumption will decrement the tunnel device's reference count, which lead to uaf of tunnel dev and refcnt leak of orig dev as below: unregister_netdevice: waiting for vti1 to become free. Usage count = -2 Stash the original skb->dev to fix refcnt imbalance. The new skb->dev set by xfrm_rcv_cb can race with device teardown. Extend rcu protection over xfrm_rcv_cb and transport_finish to prevent races.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.12.94 · fixed in 6.12.112; From 6.18.23 · fixed in 6.18.54; From 6.1.191 · fixed in 6.2; From 6.6.160 · fixed in 6.7; From 6.19.13 · fixed in 6.20

  • Linux Linux

    7.0

  • KernelLinux

    fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.1.5

References 4

git.kernel.org