Bug 86531

Summary: Kernel panic when using nmap
Product: Power Management Reporter: Oleksii Shevchuk (alxchk)
Component: Hibernation/SuspendAssignee: Rafael J. Wysocki (rjw)
Status: CLOSED CODE_FIX    
Severity: normal CC: aaron.lu, alan, daniel, lenb
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.17.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: Crash log #1
Crash log #2
Crash log #3

Description Oleksii Shevchuk 2014-10-19 15:02:30 UTC
Created attachment 154181 [details]
Crash log #1

Strange crash appears the second time this day for me, when I starting nmap for scanning. Couldn't find any dependency. Anyway, dumps attached.
Comment 1 Oleksii Shevchuk 2014-10-19 15:03:44 UTC
Created attachment 154191 [details]
Crash log #2
Comment 2 Alan 2014-10-23 13:55:15 UTC
For panic #1 it looks like a stray workqueue so a suspend/resume bug in a drive

For #2/'#3 you've got vbox loaded so can you reproduce it without vbox and without having done a suspend/resume first  ?

I suspect these may be two unrelated bugs, or a real suspend/'resume bug and its consequences.
Comment 3 Oleksii Shevchuk 2014-10-25 14:50:33 UTC
Ok. Now I get another one. This time I'm not used VirtualBox. Really, I use PC after restoring from suspend. But my PC were restored about 2 hours before.

There are some interesting message in trace, like
<3>bpf_jit: proglen=265 != oldproglen=269
<1>BUG: unable to handle kernel NULL pointer dereference at 0000000000000012
Comment 4 Oleksii Shevchuk 2014-10-25 14:51:00 UTC
Created attachment 154991 [details]
Crash log #3
Comment 6 Len Brown 2014-10-28 05:40:03 UTC
e0ee9c12157dc74e49e4731e0d07512e7d1ceb95
Author: Alexei Starovoitov <ast@plumgrid.com>  2014-10-10 23:30:23
Follows: v3.17
Precedes: v3.18-rc1

    x86: bpf_jit: fix two bugs in eBPF JIT compiler