Configuring IPIP Tunnel Causes Kernel Panic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-lts-wily (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-lts-xenial (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Attempting to create an IPIP tunnel with no additional information using the following python script will cause an Opps.
<SNIP>
#!/usr/bin/python
# Requirements
#
# PIP: sudo apt-get install python-pip
# pyroute2: sudo pip install pyroute2
import sys
import string
import logging
from pyroute2 import IPRoute
from pyroute2 import IPRouteRequest
def main():
logging.
ip = IPRoute()
if not ip.link_
ip.close()
return
main()
</SNIP>
Opps follows:
[ 2179.960121] ipip: IPv4 over IPv4 tunneling driver
[ 2179.968023] BUG: unable to handle kernel NULL pointer dereference at 0000000000000108
[ 2179.968176] IP: [<ffffffffc00e6
[ 2179.968234] PGD da0fe067 PUD d9c66067 PMD 0
[ 2179.968283] Oops: 0000 [#1] SMP
[ 2179.968326] Modules linked in: ipip tunnel4 ip_tunnel ppdev crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw snd_intel8x0 gf128mul glue_helper ablk_helper cryptd snd_ac97_codec ac97_bus input_leds serio_raw vboxvideo snd_pcm joydev vboxguest i2c_piix4 snd_timer snd soundcore drm 8250_fintek parport_pc video lp parport mac_hid hid_generic usbhid hid psmouse ahci libahci e1000 pata_acpi
[ 2179.968644] CPU: 0 PID: 1427 Comm: crash.py Not tainted 4.2.0-38-generic #45~14.04.1-Ubuntu
[ 2179.968730] Hardware name: innotek GmbH VirtualBox/
[ 2179.968815] task: ffff880036b66040 ti: ffff8800da2c0000 task.ti: ffff8800da2c0000
[ 2179.968897] RIP: 0010:[<
[ 2179.968989] RSP: 0018:ffff8800da
[ 2179.969036] RAX: ffff8800da2c3858 RBX: 0000000000000000 RCX: 0000000000000000
[ 2179.969088] RDX: ffff8800da2c3888 RSI: ffff88011a3e8840 RDI: 0000000000000000
[ 2179.969144] RBP: ffff8800da2c38b8 R08: 0000000000000000 R09: 0000000000000000
[ 2179.969196] R10: ffffffff816b8789 R11: 0000000000020209 R12: ffff88011a3e8000
[ 2179.969249] R13: ffff88011a3e8840 R14: ffff8800da2c3a80 R15: ffffffffc00e8100
[ 2179.969301] FS: 00007fc22350774
[ 2179.969410] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2179.970022] CR2: 0000000000000108 CR3: 00000000d9e1f000 CR4: 00000000000406f0
[ 2179.970560] Stack:
[ 2179.971089] ffffffffc00e6d12 fffffffffffffff4 0000000000000000 0000000000000000
[ 2179.972154] 0000000000000000 0000000000000000 0000000000000000 0000000000000045
[ 2179.973229] 0000000000000400 ffff880000000000 00000000ffe567fb ffffffff81cedd80
[ 2179.974326] Call Trace:
[ 2179.974862] [<ffffffffc00e6
[ 2179.975421] [<ffffffff816c9
[ 2179.975951] [<ffffffff8108e
[ 2179.976473] [<ffffffff813d6
[ 2179.976972] [<ffffffff813d6
[ 2179.977468] [<ffffffff816c5
[ 2179.977953] [<ffffffff816c8
[ 2179.978428] [<ffffffff816c6
[ 2179.978891] [<ffffffff816a3
[ 2179.979341] [<ffffffff816c6
[ 2179.979781] [<ffffffff816e8
[ 2179.980207] [<ffffffff816c6
[ 2179.980610] [<ffffffff816e7
[ 2179.981031] [<ffffffff816e8
[ 2179.981449] [<ffffffff81358
[ 2179.981861] [<ffffffff8169b
[ 2179.982277] [<ffffffff8169b
[ 2179.982690] [<ffffffff810a0
[ 2179.983081] [<ffffffff81066
[ 2179.983479] [<ffffffff817be
[ 2179.983862] [<ffffffff8169c
[ 2179.984240] [<ffffffff817c2
[ 2179.984601] Code: 5d c3 41 8b 84 24 c8 00 00 00 49 03 84 24 d0 00 00 00 4c 29 f0 66 41 89 06 eb d5 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 <48> 8b 87 08 01 00 00 48 85 c0 0f 84 68 01 00 00 44 8b 1a 45 85
[ 2179.986346] RIP [<ffffffffc00e6
[ 2179.987454] RSP <ffff8800da2c3840>
[ 2179.987813] CR2: 0000000000000108
[ 2179.988190] ---[ end trace bfd4b5c73a45e3b6 ]---
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.2.0-38-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Sun Jun 26 00:06:31 2016
InstallationDate: Installed on 2016-06-26 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-lts-wily
UpgradeStatus: No upgrade log present (probably fresh install)