CVE-2026-74464: net: openvswitch: fix skb leak on flow key update failure during ct

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081533-CVE-2026-74464-c410@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: openvswitch: fix skb leak on flow key update failure during ct

ovs_ct_execute() always steals or frees the skb on failure while
ovs_flow_key_update() does not.  So, if it fails and we return right
away, the skb ends up leaked.

Fix that by breaking instead and letting the common error handling
code at the bottom of the loop to free the skb properly.

This is a very unlikely scenario as it requires the packet to become
unparseable by applying a set of actions on a previously parseable skb,
but should be fixed nevertheless.

Reported by Sashiko.

The Linux kernel CVE team has assigned CVE-2026-74464 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.3 with commit ec0d043d05e6e3c0c2fac5de922c800c027c6386 and fixed in 6.6.151 with commit 736e972f3f8a304158345223ac6e816166a467ce
	Issue introduced in 4.3 with commit ec0d043d05e6e3c0c2fac5de922c800c027c6386 and fixed in 6.12.103 with commit e84dfaac50aab45ad8c670da43e3aa1f97bd2a41
	Issue introduced in 4.3 with commit ec0d043d05e6e3c0c2fac5de922c800c027c6386 and fixed in 6.18.44 with commit e0ba8eaef2a0d02a7a485e6a7157e47272b65cea
	Issue introduced in 4.3 with commit ec0d043d05e6e3c0c2fac5de922c800c027c6386 and fixed in 7.1.8 with commit 393f3c72600ab6721d732a0ab245bc896c5b28fc
	Issue introduced in 4.3 with commit ec0d043d05e6e3c0c2fac5de922c800c027c6386 and fixed in 7.2-rc6 with commit bc62e843bc48f933da765ce47079fd992e535794

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-74464
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/openvswitch/actions.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/736e972f3f8a304158345223ac6e816166a467ce
	https://git.kernel.org/stable/c/e84dfaac50aab45ad8c670da43e3aa1f97bd2a41
	https://git.kernel.org/stable/c/e0ba8eaef2a0d02a7a485e6a7157e47272b65cea
	https://git.kernel.org/stable/c/393f3c72600ab6721d732a0ab245bc896c5b28fc
	https://git.kernel.org/stable/c/bc62e843bc48f933da765ce47079fd992e535794
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.