IPVS, the kernel’s layer-4 load balancer, can replicate its connection table to a backup director by multicast sync messages. The kernel CNA record says the code that builds those messages “should read the cp->flags only once because another CPU can concurrently set the SEQ_MASK between the two reads”, and that the double read gives a “possible heap buffer overflow when generating sync message for the v0 and v1 message formats”. The record adds a bound on its own severity: IPVS “does not set the SEQ_MASK anymore for the ip_vs_ftp.c helper starting from commit 7f1c40757951 (2.6.36+), so the problem should not be reproducible”. The CNA scores it 7.8 and Red Hat rates it Important. On a director that runs IPVS with connection synchronisation enabled, upgrade to a kernel at or above 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 and reboot; a host that does not run ipvsadm --start-daemon is not in the path.
CVE-2026-139385 at a glance.
| Component | Linux kernel, IPVS connection sync (net/netfilter/ipvs/ip_vs_sync.c): the v0 and v1 sync-message builders ip_vs_sync_conn_v0() and ip_vs_sync_conn() |
| Affected versions | every kernel from the initial git import (Fixes: 1da177e4c3f4, 2.6.12) up to the fixed releases: 5.10 before 5.10.275, 5.15 before 5.15.226, 6.1 before 6.1.193, 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1 |
| Fixed in | mainline 7.4-rc1 (commit 3e3fe49e, the one Debian cites) and stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6. One file, +14/−9: both builders now take one READ_ONCE() snapshot of cp->flags and size, check and fill the message from it |
| Severity | Kernel CNA CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD shows the CNA metric only; Red Hat Important, 7.8 in its bulk security-data list (the per-CVE hydra record refused the automated reader on 2 December, so Red Hat’s bug number, CWE and statement are not quoted here); the record’s own note is that the race is not reproducible on any kernel since 2.6.36 |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00202 (11th percentile) on 1 December 2026 |
| Who is exposed | A load-balancing director running IPVS with the sync daemon (ipvsadm --start-daemon master, or keepalived’s lvs_sync_daemon). The overflowing write happens on the master when it serialises a connection whose flags change under it; the record says no current code path sets the flag that triggers it. A host without ip_vs loaded is not in the path |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
IPVS keeps a table of forwarded connections, and a director can stream changes to that table to a standby so a failover keeps established sessions. Each connection is serialised into a sync message whose size depends on the connection’s flags: a connection with IP_VS_CONN_F_SEQ_MASK carries extra sequence-adjustment data. The builders read cp->flags once to decide how many bytes to reserve in the sync buffer, and again when writing the fields into it.
The record, crediting the Sashiko automated review, describes the gap: another CPU can set SEQ_MASK on the same connection between those two reads, so the second read sees a larger message than the first one reserved space for, and the extra bytes land past the end of the heap buffer. The fix reads the flags once into a local with READ_ONCE(), derives the sequence mask from that one value, and uses the snapshot for the length calculation, the one-packet check, the mask check and the flags written into the message, so the length and the data always agree.
The record also says why this is unlikely to bite anyone: the only code that set SEQ_MASK was the FTP helper, and since commit 7f1c40757951 in 2.6.36 it no longer does. The defect is real in the source and has been since 2.6.12, which is why every stable series took the backport, but on a shipping kernel the race has no trigger that the maintainers know of. git.kernel.org refuses automated readers, so the commit was read on GitHub; it is by Julian Anastasov, committed by Pablo Neira Ayuso, with no Cc: stable tag.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Every maintained kernel series carries the code, so the practical filter is whether the host runs the IPVS sync daemon at all.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page: the Alpine tracker refused the automated reader on 2 December 2026 | — |
| Debian | bookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; fixed in forky and sid (7.3.6-1); no DSA | unstable 7.3.6-1 |
| Ubuntu | Not consulted for this page: the Ubuntu CVE page refused the automated reader on 2 December 2026 (client error); the Ubuntu row will be filled when the page can be read | — |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8 in Red Hat’s bulk security-data list (public 30 November 13:34Z); the per-CVE record refused the automated reader on 2 December 2026, so per-product fix states are not shown here | nothing released on 2 December 2026 |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error) | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later |
How to check
Two questions: is the running kernel below the fixed version for its series, and is IPVS connection synchronisation running here. Only a director with the sync daemon started is in the path at all.
# 1. the running kernel against the fixed version for its series
uname -r # fixed: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
# 2. is IPVS loaded, and is the sync daemon running
lsmod | grep -E '^ip_vs( |_)' # ip_vs and helpers loaded?
ipvsadm -L --daemon 2>/dev/null # "master sync daemon" / "backup sync daemon" lines mean sync is on
grep -rn lvs_sync_daemon /etc/keepalived/ 2>/dev/null # keepalived can start it tooA kernel at or above the fixed version is done. If ip_vs is not loaded, or ipvsadm -L --daemon prints nothing and keepalived does not configure lvs_sync_daemon, no sync messages are ever built and the overflowing path never runs. A director with the master sync daemon on is the only host that serialises connections, and even there the record says no current kernel sets the flag that would make the two reads disagree. There is no log signature for a successful overflow; a KASAN build would report a slab-out-of-bounds write in ip_vs_sync_conn.
How to fix it
Install the fixed kernel and reboot. Debian forky and sid had 7.3.6-1; bookworm, trixie, Ubuntu and Red Hat had it pending on 2 December. The record lists no mitigation; the one operational lever is the sync daemon itself.
# Debian forky / sid (bookworm and trixie once a security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf update kernel && systemctl reboot
zypper patch && systemctl reboot# Interim: on a director where connection sync is not actually needed, stop the daemon
ipvsadm --stop-daemon master
ipvsadm --stop-daemon backupStopping the sync daemon removes the only path that builds these messages, at the cost of losing connection state on a failover, which on most directors is a real cost, so treat it as a short bridge rather than a fix. What not to do: do not conclude from the record’s “should not be reproducible” note that the kernel does not need the update; the overflow is in code every series ships, and the fixed kernel is the answer on a director that syncs connections. A host that merely has ip_vs loaded for local balancing without the daemon has nothing to mitigate.
Sources
- CVE-2026-139385 at CVE.org — the kernel CNA record: the “read the cp->flags only once because another CPU can concurrently set the SEQ_MASK between the two reads” and “should not be reproducible” sentences, the git ranges, the single file touched (30 November 2026)
- Fix commit 3e3fe49e (mainline, 7.4-rc1) and the stable backports in the record; git.kernel.org refuses automated readers, so it was read on GitHub: Julian Anastasov, committed by Pablo Neira Ayuso,
Fixes:1da177e4c3f4(the 2.6.12 import), noCc: stable, one file +14/−9, both sync builders now use a singleREAD_ONCE()snapshot of the flags - NVD entry — Received on 30 November 2026; shows the CNA’s 7.8 as its only metric, no NVD score or CWE on 2 December
- Distribution trackers: Debian (bookworm and trixie vulnerable, forky and sid fixed in 7.3.6-1) · Ubuntu (page refused the automated reader on 2 December) · Red Hat (Important 7.8 in the bulk list; the per-CVE record refused on 2 December) · SUSE and Alpine (both refused the automated reader on 2 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00202 (percentile 0.108) on 1 December 2026
Related reading
- CVE-2026-139683: Linux kernel MD accepts a v0.90 RAID superblock that claims more devices than the format holds, then writes past the buffer — the same day’s other long-standing bug from the 2.6.12 import, in the MD RAID superblock parser
- CVE-2026-99835: Linux kernel packet sockets charge an oversized TX_RING frame to socket memory before rejecting it, saturating a refcount and freeing a live socket — another packet-path race that frees or overruns memory under a concurrent change
- CVE-2026-139281: Linux kernel conntrack miscomputes an IPv6 next-header offset — the Critical-rated netfilter entry from the same day
- CVE-2026-139219: Linux kernel counts socket-buffer references in sixteen bits, so enough clones free a shared buffer while clones still point at it — the highest-ranked of the 30 November set
- The Kernel — why a flag read twice is a race, and what READ_ONCE() promises
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

