[Bug 1522371] Re: iproute2: seg fault with 'ip link type gre ...' commands

Launchpad Bug Tracker 1522371 at bugs.launchpad.net
Thu Apr 7 12:54:16 UTC 2016


This bug was fixed in the package iproute2 - 4.3.0-1ubuntu3

---------------
iproute2 (4.3.0-1ubuntu3) xenial; urgency=medium

  * Add d/p/1003-fix-variable-in-libnetlink.patch (LP: #1522371), fix a variable name
    collision issuing a segfault; from upstream.
  * Add TIPC support (LP: #1508225):
    - d/control: add libmnl-dev to BDs, to include TIPC support.
    - d/iproute2.install: add tipc binary.

 -- Pierre-André MOREY <pierre-andre.morey at canonical.com>  Tue, 05 Apr
2016 09:43:44 +0200

** Changed in: iproute2 (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1522371

Title:
  iproute2: seg fault with 'ip link type gre ...' commands

Status in iproute2 package in Ubuntu:
  Fix Released
Status in iproute2 package in Debian:
  New

Bug description:
  This upstream patch needs to be backported:
  bde5baa5476c gre: raising the size of the buffer holding nl messages.
  https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=bde5baa5476c

  Example:
  root at ubuntu1404:~# ip link add dummy1 type dummy
  root at ubuntu1404:~# ip a a 10.200.0.1/24 dev dummy1
  root at ubuntu1404:~# ip link add gre2 type gre local 10.200.0.1 remote 10.200.0.2 dev dummy1
  root at ubuntu1404:~# ip link set gre2 type gre ttl 32
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  addattr_l ERROR: message exceeded bound of 1024
  *** stack smashing detected ***: ip terminated
  Aborted
  root at ubuntu1404:~# uname -a
  Linux ubuntu1404 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  root at ubuntu1404:~# ip -V
  ip utility, iproute2-ss131122
  root at ubuntu1404:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1522371/+subscriptions



More information about the Ubuntu-sponsors mailing list