[ovs-git] [openvswitch/ovs] 480296: netlink: added check to prevent netlink attribute ...

TomCodeLV noreply at github.com
Fri Feb 22 19:22:10 UTC 2019


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 4802961072c557541aaaadb35ba58ad65d463168
      https://github.com/openvswitch/ovs/commit/4802961072c557541aaaadb35ba58ad65d463168
  Author: Toms Atteka <cpp.code.lv at gmail.com>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M lib/odp-util.c

  Log Message:
  -----------
  netlink: added check to prevent netlink attribute overflow

If enough large input is passed to odp_actions_from_string it can
cause netlink attribute to overflow.
Check for buffer size was added to prevent entering this function
and returning appropriate error code.

Basic manual testing was performed.

Reported-by: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12231
Signed-off-by: Toms Atteka <cpp.code.lv at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list