{"id":"CVE-2025-21958","published":"2025-04-01T15:46:57Z","modified":"2026-08-05T11:55:36Z","title":"Revert \"openvswitch: switch to per-action label counting in conntrack\"","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRevert \"openvswitch: switch to per-action label counting in conntrack\"\n\nCurrently, ovs_ct_set_labels() is only called for confirmed conntrack\nentries (ct) within ovs_ct_commit(). However, if the conntrack entry\ndoes not have the labels_ext extension, attempting to allocate it in\novs_ct_get_conn_labels() for a confirmed entry triggers a warning in\nnf_ct_ext_add():\n\n  WARN_ON(nf_ct_is_confirmed(ct));\n\nThis happens when the conntrack entry is created externally before OVS\nincrements net->ct.labels_used. The issue has become more likely since\ncommit fcb1aa5163b1 (\"openvswitch: switch to per-action label counting\nin conntrack\"), which changed to use per-action label counting and\nincrement net->ct.labels_used when a flow with ct action is added.\n\nSince there’s no straightforward way to fully resolve this issue at the\nmoment, this reverts the commit to avoid breaking existing use cases.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0022,"percentile":0.07417,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9e79fdabd52cfce1a021640a81256878a2c516a2","tags":[]},{"url":"https://git.kernel.org/stable/c/d91bfc64a4886102746e74d2c6f3a61e9a77fd7d","tags":[]},{"url":"https://git.kernel.org/stable/c/1063ae07383c0ddc5bcce170260c143825846b03","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.48},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fcb1aa5163b1ae4cf2864b688b08927aac51f51e, < 9e79fdabd52cfce1a021640a81256878a2c516a2",">= fcb1aa5163b1ae4cf2864b688b08927aac51f51e, < d91bfc64a4886102746e74d2c6f3a61e9a77fd7d",">= fcb1aa5163b1ae4cf2864b688b08927aac51f51e, < 1063ae07383c0ddc5bcce170260c143825846b03"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2025-9362","exploited":false,"provenance":"source"}}