Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: xfrm: Fix skb double-free in xfrm_dev_direct_output() A return value other than 1 from local_out() means that the skb has been consumed or its ownership was transferred. xfrm_dev_direct_output() nevertheless frees the skb on this path, causing a double-free when netfilter drops the packet and invalidating any other owner. Return the local_out() result directly, matching the ownership handling in xfrm_output_resume().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected bfb9b9404a53a72524ce695551755117e9d3deb0 before 621871b696b108026bf4b44ed4085ffa2102f417; affected a0395e96831adee8ffa016bf958e4dce9ece656e before bc9297796bfdcc8d9609236e54519a4f38737aac; affected 5eddd76ec2fd1988f0a3450fde9730b10dd22992 before 02deb637e965950148752a304dd1471212dd6470; affected 5eddd76ec2fd1988f0a3450fde9730b10dd22992 before 56a347950e661c1a7f8f31c43a2ea53c2323b6f4; affected 5eddd76ec2fd1988f0a3450fde9730b10dd22992 before 2aed51fc58d9ce450e2c116efb956160fd06fa02; affected d1d673a5bede3767252cff19c0ab1e5387c6f43f; affected 6.6.85 before 6.6.157; affected 6.12.21 before 6.12.110; affected 6.13.9 before 6.14 |
| Linux / Linux | affected 6.14; unaffected 0 before 6.14; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/621871b696b108026bf4b44ed4085ffa2102f417
- https://git.kernel.org/stable/c/bc9297796bfdcc8d9609236e54519a4f38737aac
- https://git.kernel.org/stable/c/02deb637e965950148752a304dd1471212dd6470
- https://git.kernel.org/stable/c/56a347950e661c1a7f8f31c43a2ea53c2323b6f4
- https://git.kernel.org/stable/c/2aed51fc58d9ce450e2c116efb956160fd06fa02