CVE-2026-72463 xfrm: Fix dev use-after-free in xfrm async resumption
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.12.94 이상 6.12.112 미만
- 6.18.23 이상 6.18.54 미만
- 6.1.191 이상 6.2 미만
- 6.6.160 이상 6.7 미만
- 6.19.13 이상 6.20 미만
- 7.0
해결 버전
- 6.12.112 이상
- 6.18.54 이상
- 6.2 이상
- 6.7 이상
- 6.20 이상
- 7.0 미만
- 7.1.5 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/1acd93259b6be269e26be5d71c224bccd1f8352f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/63a30015199912bd5055bead8001b1ae68a67cdb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8045c0df98d4f14c54e5cb875f1c9c0ce89fe4ff (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fed4d3195a31125566876952ce66113ec1eb9008 (새 창)