← Back to team overview

kernel-packages team mailing list archive

[Bug 1475434] Re: ipvlan module causes kernel crashes (backport fixes from upstream)

 

I tested linux-image-3.19.0-26-generic from vivid-proposed and it works
as expected. I can't reproduce the kernel crashes with it.

Now, I'd love to see a version available for trusty (in trusty-
proposed?) as well, as linux-generic-lts-vivid.

** Tags removed: verification-needed-vivid
** Tags added: verification-done-vivid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1475434

Title:
  ipvlan module causes kernel crashes (backport fixes from upstream)

Status in linux package in Ubuntu:
  Invalid
Status in linux-lts-vivid package in Ubuntu:
  Invalid
Status in linux-lts-vivid source package in Trusty:
  Triaged
Status in linux source package in Vivid:
  Fix Committed

Bug description:
  SRU Justification:

  [Impact]

  ipvlan is currently unusable as removing an interface with an IP
  address attached will cause a kernel crash.

  [Test Case]

  As reported in this bug, doing the following will result in a kernel
  crash:

  ip netns add ns0
  ip link add link eth0 ipvl0 type ipvlan mode L3
  ip link set dev ipvl0 netns ns0

  ip netns exec ns0 bash
  ip link set dev ipvl0 up
  ip -4 addr add 192.168.0.10/24 dev ipvl0
  ip link del dev ipvl0

  [Fix]

  commit 27705f7085ce2e124fac4c280ce824962cc90bb6
  Author: Jiri Benc <jbenc@xxxxxxxxxx>
  Date:   Sat Mar 28 19:13:22 2015 +0100

      ipvlan: fix addr hash list corruption

  --

  Kernel version 3.19, currently being used as the vivid LTS kernel,
  includes support for ipvlan. But at its current state it is unusable
  as simply removing an interface with an ip address attached will cause
  a kernel crash. The fix is already upstream:

  https://github.com/torvalds/linux/commit/27705f7085ce2e124fac4c280ce824962cc90bb6

  Reproducing this is easy (requires a recent version of iproute2, with
  support for ipvlan, such as the one in debian/experimental):

  ip netns add ns0
  ip link add link eth0 ipvl0 type ipvlan mode L3
  ip link set dev ipvl0 netns ns0

  ip netns exec ns0 bash
  ip link set dev ipvl0 up
  ip -4 addr add 192.168.0.10/24 dev ipvl0
  ip link del dev ipvl0

  The last line will cause a kernel crash, with a calltrace that looks
  like this:

  https://gist.github.com/fabiokung/b360cb2f3bdf2fb36c8b

  Can we get the fixes backported to the 3.19 LTS kernel from vivid?
  Ideally we would like to have the whole patchset backported:

  https://github.com/torvalds/linux/commit/d91e9015c78af1dc1f8ac4fdcf6118dbc2401668
  and
  https://github.com/torvalds/linux/commit/8172ba51e257fdd353010cd7caaa37c8bc9eb44a

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