Skip to contentSkip to conversation

CVE-2026-98251: openvswitch: avoid reallocating confirmed conntrack labels

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

openvswitch: avoid reallocating confirmed conntrack labels

ovs_ct_get_conn_labels() adds the labels extension when a conntrack entry does not have one. Confirmed conntracks can be read locklessly, so adding an extension may reallocate and free the extension block while another CPU accesses it.

Only add the extension for unconfirmed conntracks. A confirmed conntrack without labels now fails the caller's label operation instead of reallocating its extension storage.

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

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

	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 5.10.271 with commit 4371d79ea74407fb992c985b1f94391e35bb8289
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 5.15.222 with commit 7ff688aceada1160331a789385ea146f62fbddf7
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 6.1.189 with commit 05eab8dced6bf4d3009a6eeee16ddac99047dc83
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 6.6.158 with commit 579d87ec1e1e85729a6cb2c25961e58beb78640c
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 6.12.112 with commit 2e6dd889c325abf23821e1459c3ffef59b7f0009
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 6.18.54 with commit d16f089bd700f45d720ce989d5495e1dc3be0cf8
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 7.2.8 with commit 8c9fcc6c33950d3db551af664d1fd3d998bfee56
	Issue introduced in 4.3 with commit c2ac667358708d7cce64c78f58af6adf4c1e848b and fixed in 7.3-rc4 with commit 3f118c8217c109fd13ca61caa301d72c483897ef

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-98251

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/conntrack.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/4371d79ea74407fb992c985b1f94391e35bb8289
	https://git.kernel.org/stable/c/7ff688aceada1160331a789385ea146f62fbddf7
	https://git.kernel.org/stable/c/05eab8dced6bf4d3009a6eeee16ddac99047dc83
	https://git.kernel.org/stable/c/579d87ec1e1e85729a6cb2c25961e58beb78640c
	https://git.kernel.org/stable/c/2e6dd889c325abf23821e1459c3ffef59b7f0009
	https://git.kernel.org/stable/c/d16f089bd700f45d720ce989d5495e1dc3be0cf8
	https://git.kernel.org/stable/c/8c9fcc6c33950d3db551af664d1fd3d998bfee56
	https://git.kernel.org/stable/c/3f118c8217c109fd13ca61caa301d72c483897ef