CVE-2026-92489: xfrm: Fix skb double-free in xfrm_dev_direct_output()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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().
The Linux kernel CVE team has assigned CVE-2026-92489 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6.85 with commit bfb9b9404a53a72524ce695551755117e9d3deb0 and fixed in 6.6.157 with commit 621871b696b108026bf4b44ed4085ffa2102f417 Issue introduced in 6.12.21 with commit a0395e96831adee8ffa016bf958e4dce9ece656e and fixed in 6.12.110 with commit bc9297796bfdcc8d9609236e54519a4f38737aac Issue introduced in 6.14 with commit 5eddd76ec2fd1988f0a3450fde9730b10dd22992 and fixed in 6.18.52 with commit 02deb637e965950148752a304dd1471212dd6470 Issue introduced in 6.14 with commit 5eddd76ec2fd1988f0a3450fde9730b10dd22992 and fixed in 7.2.6 with commit 56a347950e661c1a7f8f31c43a2ea53c2323b6f4 Issue introduced in 6.14 with commit 5eddd76ec2fd1988f0a3450fde9730b10dd22992 and fixed in 7.3-rc1 with commit 2aed51fc58d9ce450e2c116efb956160fd06fa02 Issue introduced in 6.13.9 with commit d1d673a5bede3767252cff19c0ab1e5387c6f43f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-92489
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/xfrm/xfrm_output.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
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