CVE-2026-72463
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 1c428b03840094410c5fb6a5db30640486bbbfcb < 63a30015199912bd5055bead8001b1ae68a67cdb | affected |
| Linux | Linux | 1c428b03840094410c5fb6a5db30640486bbbfcb < 8045c0df98d4f14c54e5cb875f1c9c0ce89fe4ff | affected |
| Linux | Linux | 4236c30b437b80f673b9e08c8fae38b8d471ac9e | affected |
| Linux | Linux | 0f451b43c88bf2b9c038b414be580efee42e031b | affected |
| Linux | Linux | 5002beda5cac69d522dc54da0d5d463ed9c963d2 | affected |
| Linux | Linux | 6.12.94 < 6.13 | affected |
| Linux | Linux | 6.18.23 < 6.19 | affected |
| Linux | Linux | 6.19.13 < 6.20 | affected |
| Linux | Linux | 7.0 | affected |
| Linux | Linux | 0 < 7.0 | unaffected |
| Linux | Linux | 7.1.5 <= 7.1.* | unaffected |
| Linux | Linux | 7.2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/63a30015199912bd5055bead8001b1ae68a67cdb
- https://git.kernel.org/stable/c/8045c0df98d4f14c54e5cb875f1c9c0ce89fe4ff
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.