ipvlan module causes kernel crashes (backport fixes from upstream)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Luis Henriques | ||
linux-lts-vivid (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Luis Henriques |
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 27705f7085ce2e1
Author: Jiri Benc <email address hidden>
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:/
Reproducing this is easy (requires a recent version of iproute2, with support for ipvlan, such as the one in debian/
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:/
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:/
and
https:/
Related branches
no longer affects: | linux (Ubuntu Trusty) |
no longer affects: | linux-lts-vivid (Ubuntu Vivid) |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in linux (Ubuntu Vivid): | |
status: | New → Triaged |
assignee: | nobody → Luis Henriques (henrix) |
Changed in linux-lts-vivid (Ubuntu Trusty): | |
status: | New → Triaged |
assignee: | nobody → Luis Henriques (henrix) |
Changed in linux-lts-vivid (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Vivid): | |
status: | Triaged → Fix Committed |
Got the wrong package initially.