{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139385","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.930Z","datePublished":"2026-11-30T13:34:16.033Z","dateUpdated":"2026-12-01T05:42:42.470Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:42:42.470Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipvs: fix buffer overflow when sending sync messages\n\nSashiko reports for possible heap buffer overflow when\ngenerating sync message for the v0 and v1 message formats.\nWe should read the cp->flags only once because another\nCPU can concurrently set the SEQ_MASK between the two\nreads.\n\nNote that IPVS does not set the SEQ_MASK anymore for the\nip_vs_ftp.c helper starting from commit 7f1c40757951\n(\"IPVS: make FTP work with full NAT support\") (2.6.36+),\nso the problem should not be reproducible."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The racing write comes from forged IPVS sync messages that the attacker sends to a backup daemon they started inside their own netns. The overflow is in ip_vs_sync_conn()/ip_vs_sync_conn_v0(), reached when the attacker drives packets through their own IPVS service. Hitting a real director remotely would need a sync-segment attacker plus a non-default config, so this is local.\nAC:L - The attacker drives both sides of the race. Their own packets call ip_vs_sync_conn() on every packet (sync_threshold 0, sync_period 1), and their own forged sync messages make ip_vs_proc_conn() flip SEQ_MASK under cp->lock between the length read and the option write. Lost races are harmless and can be retried indefinitely.\nPR:L - IPVS_CMD_NEW_DAEMON and the service commands are GENL_ADMIN_PERM on a netnsok family, so CAP_NET_ADMIN in a user-namespace-owned netns is enough (unshare -Urn). The IPVS sync sysctls are writable there, and the genl family alias autoloads ip_vs.\nUI:N - No victim action is needed. The attacker sets up the service, both sync daemons, the packets and the forged sync updates themselves.\nS:U - The overflow corrupts kernel heap memory in the same kernel security authority; no VM or hardware boundary is crossed.\nC:H - With IPVS_DAEMON_ATTR_SYNC_MAXLEN set to 1, each sync buffer is exactly one entry long (e.g. v0 kmalloc(28) from kmalloc-32), so the 24/26-byte seq-option write corrupts the adjacent slab object. Such a heap overflow can be built into an arbitrary read.\nI:H - The bytes written past the buffer are cp->in_seq/out_seq values that the attacker set through the forged sync opt in ip_vs_proc_conn(), plus tail pe_data. That is a controlled heap out-of-bounds write of up to 20-26 bytes into a neighbouring object, usable for control-flow hijack.\nA:H - Corrupting the adjacent slab object from softirq context under sync_buff_lock can oops or panic the kernel, and the attacker can repeat it at will."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/ipvs/ip_vs_sync.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"b8bf3f5d57deb99fd37a0f48e19c0a971c7d4558","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"4fe760dc1423a055c47fdbbdd2b55c0c39d8be33","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"fd252d7fb19881c845b1b99905ae2bbb6d51b7ef","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"4f7c8b9de7e322a0c7802d3d7667794a318acdf3","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"87fcafc86e46c644297e59b709d3f712f4c02c03","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"e95811f53987778f24428591d9cea8381e192d91","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"bb53343912435e7fa0bc9bbe4f7087690624420a","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"3e3fe49e8678c1a3d535ed02f32a9a6e80674263","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/ipvs/ip_vs_sync.c"],"versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b8bf3f5d57deb99fd37a0f48e19c0a971c7d4558"},{"url":"https://git.kernel.org/stable/c/4fe760dc1423a055c47fdbbdd2b55c0c39d8be33"},{"url":"https://git.kernel.org/stable/c/fd252d7fb19881c845b1b99905ae2bbb6d51b7ef"},{"url":"https://git.kernel.org/stable/c/4f7c8b9de7e322a0c7802d3d7667794a318acdf3"},{"url":"https://git.kernel.org/stable/c/87fcafc86e46c644297e59b709d3f712f4c02c03"},{"url":"https://git.kernel.org/stable/c/e95811f53987778f24428591d9cea8381e192d91"},{"url":"https://git.kernel.org/stable/c/bb53343912435e7fa0bc9bbe4f7087690624420a"},{"url":"https://git.kernel.org/stable/c/3e3fe49e8678c1a3d535ed02f32a9a6e80674263"}],"title":"ipvs: fix buffer overflow when sending sync messages","x_generator":{"engine":"bippy-1.2.0"}}}}