kernel panic in bpf_map_update_elem (with bcc tool ext4slower)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Xenial |
Triaged
|
High
|
Unassigned |
Bug Description
Using Ubuntu 16.04 LTS with 4.4.0 kernel on x86_64
After kernel update from 4.4.0-116 to 4.4.0-119 running an eBPF tool to log slow ext4 I/O (bcc-tool ext4slower) causes a kernel panic in bpf_map_
Steps to reproduce:
* install bcc-tools 0.5.0-1 (https:/
* install kernel 4.4.0-119 (linux-
* reboot
* run ext4slower (sudo /usr/share/
* system crashes
With kernel 4.4.0-116 ext4slower runs fine.
uname -a:
Linux <hostname> 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
BCC tools version: 0.5.0-1
Log of the kernel panic including backtrace:
[ 59.635900] BUG: unable to handle kernel paging request at 00000000b98aa6a8
[ 59.642345] IP: [<ffffffff8117c
[ 59.645782] PGD 0
[ 59.647150] Oops: 0000 [#1] SMP
[ 59.649808] Modules linked in: crct10dif_pclmul crc32_pclmul ghash_clmulni_intel ppdev aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd input_leds joydev serio_raw i2c_piix4 8250_fintek parport_pc parport mac_hid autofs4 hid_generic usbhid hid ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm pata_acpi floppy
[ 59.672373] CPU: 0 PID: 1 Comm: systemd Not tainted 4.4.0-119-generic #143-Ubuntu
[ 59.676407] Hardware name: OpenStack Foundation OpenStack Nova, BIOS 1.10.2-2 04/01/2014
[ 59.680079] task: ffff88013a490000 ti: ffff88013a48c000 task.ti: ffff88013a48c000
[ 59.684124] RIP: 0010:[<
[ 59.689097] RSP: 0018:ffff88013a
[ 59.691618] RAX: ffffffff8117cd90 RBX: ffffc90000818170 RCX: 0000000000000000
[ 59.695739] RDX: ffff88013a48fbd0 RSI: ffff88013a48fbe8 RDI: 00000000b98aa680
[ 59.699444] RBP: ffff88013a48fc08 R08: ffff880138d6b180 R09: 0000000000000800
[ 59.703264] R10: ffff88013a490000 R11: 0000000000000246 R12: 0000000000000000
[ 59.707164] R13: ffff8800ba0f4400 R14: ffff88013fc10020 R15: ffff88013a48fd58
[ 59.711112] FS: 00007f4039da58c
[ 59.715861] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 59.719025] CR2: 00000000b98aa6a8 CR3: 00000000bb65e000 CR4: 0000000000160670
[ 59.722937] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 59.727210] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 59.731074] Stack:
[ 59.732149] ffff88013a48fc08 ffffffff81177411 ffff88013fc20500 0000000000000000
[ 59.735760] 00000000b98aa680 ffff88013a48fbe8 ffff88013a48fbd0 0000000000000000
[ 59.740058] ffff880138d6b180 ffff88013a48fe58 ffff8800bb5ab000 0000000000000000
[ 59.744100] Call Trace:
[ 59.745434] [<ffffffff81177
[ 59.748289] [<ffffffff810b7
[ 59.751044] [<ffffffff814e1
[ 59.753601] [<ffffffff810b9
[ 59.756354] [<ffffffff810bc
[ 59.759171] [<ffffffff810bd
[ 59.761890] [<ffffffff8102d
[ 59.764667] [<ffffffff8184b
[ 59.767155] [<ffffffff813dd
[ 59.770253] [<ffffffff8184b
[ 59.772782] [<ffffffff8116c
[ 59.775336] [<ffffffff8116c
[ 59.778264] [<ffffffff810f8
[ 59.780724] [<ffffffff81142
[ 59.783589] [<ffffffff8116e
[ 59.786490] [<ffffffff81131
[ 59.789534] [<ffffffff81194
[ 59.792407] [<ffffffff81061
[ 59.795329] [<ffffffff81194
[ 59.798453] [<ffffffff81145
[ 59.801948] [<ffffffffc0018
[ 59.804357] [<ffffffff81194
[ 59.808022] [<ffffffff81194
[ 59.811225] [<ffffffff81194
[ 59.814332] [<ffffffff81213
[ 59.817079] [<ffffffff81194
[ 59.820120] [<ffffffff8105f
[ 59.825007] [<ffffffff81213
[ 59.827528] [<ffffffff81214
[ 59.829931] [<ffffffff81215
[ 59.832277] [<ffffffff8184f
[ 59.835220] Code: f0 ff 0f 1f 00 0f 1f 44 00 00 55 48 8b 47 28 48 89 e5 48 8b 40 18 e8 8a 83 6d 00 5d c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 <48> 8b 47 28 48 89 e5 48 8b 40 20 e8 6a 83 6d 00 48 98 5d c3 66
[ 59.848944] RIP [<ffffffff8117c
[ 59.851995] RSP <ffff88013a48f980>
[ 59.853771] CR2: 00000000b98aa6a8
[ 59.855364] ---[ end trace a90b99e65b1f34d9 ]---
[ 59.867439] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[ 59.867439]
[ 59.872906] Kernel Offset: disabled
[ 59.874834] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[ 59.874834]
tags: | added: patch |
affects: | linux-meta-lts-xenial (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Xenial): | |
status: | New → Incomplete |
importance: | Undecided → High |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu Xenial): | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | added: kernel-da-key xenial |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1763352/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]