An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofprotoruleinsert_ in ofproto/ofproto.c. During bundle commit, flows that are added in a bundle are applied to ofproto in order. If a flow cannot be added (e.g., the flow action is a go-to for a group id that does not exist), OvS tries to revert back all previous flows that were successfully applied from the same bundle. This is possible since OvS maintains list of old flows that were replaced by flows from the bundle. While reinserting old flows, OvS has an assertion failure due to a check on rule state != RULEINITIALIZED. This would work for new flows, but for an old flow the rule state is RULE_REMOVED. The assertion failure causes an OvS crash.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-common" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-dbg" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-doc" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-pki" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-switch" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-switch-dpdk" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-test" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-testcontroller" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "openvswitch-vtep" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "ovn-central" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "ovn-common" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "ovn-controller-vtep" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "ovn-docker" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "ovn-host" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "python-openvswitch" }, { "binary_version": "2.9.2-0ubuntu0.18.04.3", "binary_name": "python3-openvswitch" } ] }