ipvs: fix protocol data lifetime during namespace teardown

Summary

CVECVE-2026-143142
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:48 UTC
Updated2026-12-03 10:17:48 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: ipvs: fix protocol data lifetime during namespace teardown IPVS frees its per-net protocol data before control cleanup cancels defense work and unregisters the sysctl table. A defense worker can load a protocol data pointer, then namespace cleanup can unlink and free that object before the worker dereferences pd->pp or pd->next. The worker's securetcp_lock does not serialize with protocol cleanup. A concurrent defense-mode sysctl write can reach the same timeout update path. KASAN reported: BUG: KASAN: slab-use-after-free in ip_vs_protocol_timeout_change Workqueue: events_long defense_work_handler Call Trace: ip_vs_protocol_timeout_change+0x1b4/0x1e0 update_defense_level+0x63e/0xd80 defense_work_handler+0x1e/0xc0 Allocated by task 125: ip_vs_protocol_net_init+0xda/0x2f0 __ip_vs_init+0x16b/0x240 setup_net+0xfc/0x310 Freed by task 12: ip_vs_protocol_net_cleanup+0x1d6/0x2e0 __ip_vs_cleanup_batch+0x7d/0x100 cleanup_net+0x38c/0x770 Run control cleanup before protocol cleanup so that defense work and active sysctl handlers have finished before their protocol data is freed. Initialize protocols before exposing the control interface, and unwind in reverse order, to enforce the same lifetime on initialization failure. Protocol initialization and exit do not depend on control state.

Risk And Classification

EPSS: 0.002150000 probability, percentile 0.126030000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 9330419d9aa4f97df412ac9be9fc0388c67dd315 d79875219c85ef029e70732c280e7731bd7c13ee git Not specified
CNA Linux Linux affected 9330419d9aa4f97df412ac9be9fc0388c67dd315 0d6446c29960dda45b5ba227921e460268fc1c8c git Not specified
CNA Linux Linux affected 9330419d9aa4f97df412ac9be9fc0388c67dd315 0e0ea09b4bb74f472fea3ab9c0ccb696729d9f39 git Not specified
CNA Linux Linux affected 9330419d9aa4f97df412ac9be9fc0388c67dd315 adcdf2952ba52e6c3b68dec270a78096a6cedc15 git Not specified
CNA Linux Linux affected 9330419d9aa4f97df412ac9be9fc0388c67dd315 3d8230282abfadd000f919c1f6ab7ab9208b1577 git Not specified
CNA Linux Linux affected 9330419d9aa4f97df412ac9be9fc0388c67dd315 832aa3e89e806bb2667fe4e656b705f4088b3c9d git Not specified
CNA Linux Linux affected 2.6.39 Not specified
CNA Linux Linux unaffected 2.6.39 semver Not specified
CNA Linux Linux unaffected 5.10.276 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.227 5.15.* semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/3d8230282abfadd000f919c1f6ab7ab9208b1577 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/adcdf2952ba52e6c3b68dec270a78096a6cedc15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d6446c29960dda45b5ba227921e460268fc1c8c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/832aa3e89e806bb2667fe4e656b705f4088b3c9d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0e0ea09b4bb74f472fea3ab9c0ccb696729d9f39 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d79875219c85ef029e70732c280e7731bd7c13ee 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report