# CVE-2026-139385: ipvs: fix buffer overflow when sending sync messages

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:16.033Z
- Modified: 2026-12-01T06:17:45.270Z
- Assigned by: Linux

## Description

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

ipvs: fix buffer overflow when sending sync messages

Sashiko reports for possible heap buffer overflow when
generating sync message for the v0 and v1 message formats.
We should read the cp->flags only once because another
CPU can concurrently set the SEQ_MASK between the two
reads.

Note that IPVS does not set the SEQ_MASK anymore for the
ip_vs_ftp.c helper starting from commit 7f1c40757951
("IPVS: make FTP work with full NAT support") (2.6.36+),
so the problem should not be reproducible.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b8bf3f5d57deb99fd37a0f48e19c0a971c7d4558; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4fe760dc1423a055c47fdbbdd2b55c0c39d8be33; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd252d7fb19881c845b1b99905ae2bbb6d51b7ef; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4f7c8b9de7e322a0c7802d3d7667794a318acdf3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 87fcafc86e46c644297e59b709d3f712f4c02c03; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e95811f53987778f24428591d9cea8381e192d91; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bb53343912435e7fa0bc9bbe4f7087690624420a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3e3fe49e8678c1a3d535ed02f32a9a6e80674263; 2.6.12 (not affected: before 2.6.12; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b8bf3f5d57deb99fd37a0f48e19c0a971c7d4558>
- <https://git.kernel.org/stable/c/4fe760dc1423a055c47fdbbdd2b55c0c39d8be33>
- <https://git.kernel.org/stable/c/fd252d7fb19881c845b1b99905ae2bbb6d51b7ef>
- <https://git.kernel.org/stable/c/4f7c8b9de7e322a0c7802d3d7667794a318acdf3>
- <https://git.kernel.org/stable/c/87fcafc86e46c644297e59b709d3f712f4c02c03>
- <https://git.kernel.org/stable/c/e95811f53987778f24428591d9cea8381e192d91>
- <https://git.kernel.org/stable/c/bb53343912435e7fa0bc9bbe4f7087690624420a>
- <https://git.kernel.org/stable/c/3e3fe49e8678c1a3d535ed02f32a9a6e80674263>

## Sources

- CVE List: [CVE-2026-139385](https://www.cve.org/CVERecord?id=CVE-2026-139385), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139385](https://nvd.nist.gov/vuln/detail/CVE-2026-139385), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139385 · Whole record: https://cve.day/CVE-2026-139385.json · Rebuilt by cve.day 2026-12-01T06:32:24.038Z
