← Back to team overview

kernel-packages team mailing list archive

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

 

This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
vivid' to 'verification-done-vivid'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-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