Skip to contentSkip to conversation

CVE-2026-98078: ipvs: fix reversed sequence option serialization

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

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

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

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

ipvs: fix reversed sequence option serialization

hton_seq() expects the host-order source first and the unaligned network-order destination second. The version 1 sync sender passes these arguments in reverse for both sequence blocks. This leaves 24 bytes of the kmalloc-backed message unwritten. It may disclose stale heap data and replace the live connection sequence state with values read from the buffer.

Pass the connection sequence state as the source and the message payload as the destination for both blocks.

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

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

	Issue introduced in 2.6.39 with commit 986a075795339c5ea1122ce9290dfd5504252eb0 and fixed in 6.12.111 with commit e1c9f9446d3eaae323f1689f9e5de3b1ad6e47ec
	Issue introduced in 2.6.39 with commit 986a075795339c5ea1122ce9290dfd5504252eb0 and fixed in 6.18.53 with commit 524599714558da83747c04952d378155c69f5b6b
	Issue introduced in 2.6.39 with commit 986a075795339c5ea1122ce9290dfd5504252eb0 and fixed in 7.2.7 with commit de6cc6ec7932bc530f2bb92005dac9123d50659c
	Issue introduced in 2.6.39 with commit 986a075795339c5ea1122ce9290dfd5504252eb0 and fixed in 7.3-rc3 with commit b04578b74f2d3755548fe9e829e3b2a6c6f966a1

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

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/netfilter/ipvs/ip_vs_sync.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/e1c9f9446d3eaae323f1689f9e5de3b1ad6e47ec
	https://git.kernel.org/stable/c/524599714558da83747c04952d378155c69f5b6b
	https://git.kernel.org/stable/c/de6cc6ec7932bc530f2bb92005dac9123d50659c
	https://git.kernel.org/stable/c/b04578b74f2d3755548fe9e829e3b2a6c6f966a1