First published: Tue Sep 25 2018(Updated: )
An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofproto_rule_insert__ 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 != RULE_INITIALIZED. This would work for new flows, but for an old flow the rule state is RULE_REMOVED. The assertion failure causes an OvS crash. Upstream Patch: <a href="https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6">https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Open vSwitch | >=2.7.x<=2.7.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-1632525 is classified as moderate due to potential flow inconsistencies in Open vSwitch.
To fix REDHAT-BUG-1632525, you should upgrade Open vSwitch to a version higher than 2.7.6.
REDHAT-BUG-1632525 affects Open vSwitch versions from 2.7.x through 2.7.6.
The impact of REDHAT-BUG-1632525 may lead to unexpected behavior when adding flow rules in Open vSwitch.
Yes, REDHAT-BUG-1632525 has been publicly disclosed and documented in the Red Hat bug tracker.