Hello,
syzbot found the following crash on:
HEAD commit: d0b2818efbe2 bpf: fix a (false) compiler warning
git tree: bpf-next
console output:
https://syzkaller.appspot.com/x/log.txt?x=12dd3ea0c00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=8a4dffabfb4e36f9
dashboard link:
https://syzkaller.appspot.com/bug?extid=720334c537f06c33d9ac
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [
ak...@linux-foundation.org ebie...@xmission.com
gu...@fb.com han...@cmpxchg.org linux-...@vger.kernel.org
linu...@kvack.org mho...@kernel.org penguin...@i-love.sakura.ne.jp
rien...@google.com yuzho...@didichuxing.com net...@vger.kernel.org]
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+720334...@syzkaller.appspotmail.com
oom_reaper: reaped process 22464 (syz-executor3), now anon-rss:0kB,
file-rss:34848kB, shmem-rss:0kB
syz-executor2 invoked oom-killer: gfp_mask=0x6000c0(GFP_KERNEL), order=0,
oom_score_adj=0
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint:
delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:4916
CPU: 0 PID: 22441 Comm: syz-executor2 Not tainted 5.0.0-rc2+ #6
WARNING: CPU: 1 PID: 21 at lib/debugobjects.c:325
debug_print_object+0x16a/0x250 lib/debugobjects.c:325
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Kernel panic - not syncing: panic_on_warn set ...
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
dump_header+0x1e6/0x116c mm/oom_kill.c:451
oom_kill_process.cold+0x10/0x9d4 mm/oom_kill.c:966
out_of_memory+0x885/0x1420 mm/oom_kill.c:1133
mem_cgroup_out_of_memory+0x160/0x210 mm/memcontrol.c:1393
mem_cgroup_oom mm/memcontrol.c:1721 [inline]
try_charge+0x12a9/0x19b0 mm/memcontrol.c:2283
mem_cgroup_try_charge+0x43a/0xdb0 mm/memcontrol.c:5913
mem_cgroup_try_charge_delay+0x1f/0xa0 mm/memcontrol.c:5928
wp_page_copy+0x45a/0x1c30 mm/memory.c:2269
do_wp_page+0x715/0x16b0 mm/memory.c:2550
handle_pte_fault mm/memory.c:3803 [inline]
__handle_mm_fault+0x2c8e/0x55a0 mm/memory.c:3911
handle_mm_fault+0x4ec/0xc80 mm/memory.c:3948
do_user_addr_fault arch/x86/mm/fault.c:1475 [inline]
__do_page_fault+0x5da/0xd60 arch/x86/mm/fault.c:1541
do_page_fault+0xe6/0x7d8 arch/x86/mm/fault.c:1572
page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1143
RIP: 0033:0x42f226
Code: 1f 44 00 00 48 29 e8 31 c9 48 81 fb 40 06 71 00 0f 95 c1 48 8d 34 2a
48 83 cd 01 48 c1 e1 02 48 83 c8 01 48 09 e9 48 89 73 58 <48> 89 4a 08 48
89 46 08 48 8d 4a 10 8b 05 3c 5d 62 00 85 c0 0f 84
RSP: 002b:00007fff5f5a5100 EFLAGS: 00010206
RAX: 0000000000019691 RBX: 0000000000710640 RCX: 0000000000008041
RDX: 0000000002a44930 RSI: 0000000002a4c970 RDI: 0000000000000003
RBP: 0000000000008041 R08: 0000000000000001 R09: 0000000002a43940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000710698
R13: 0000000000710698 R14: 0000000000000000 R15: 0000000000002710
CPU: 1 PID: 21 Comm: kworker/u4:1 Not tainted 5.0.0-rc2+ #6
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
panic+0x2cb/0x65c kernel/panic.c:214
__warn.cold+0x20/0x48 kernel/panic.c:571
report_bug+0x263/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:debug_print_object+0x16a/0x250 lib/debugobjects.c:325
Code: dd 20 c0 81 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b5 00 00 00 48
8b 14 dd 20 c0 81 88 48 c7 c7 c0 b5 81 88 e8 f6 50 ba fd <0f> 0b 83 05 d1
e2 ca 06 01 48 83 c4 20 5b 41 5c 41 5d 41 5e 5d c3
RSP: 0018:ffff8880a95bf270 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81685456 RDI: 0000000000000005
RBP: ffff8880a95bf2b0 R08: ffff8880a95b4580 R09: ffffed1015ce3ef9
R10: ffffed1015ce3ef8 R11: ffff8880ae71f7c7 R12: 0000000000000001
R13: ffffffff899ad9e0 R14: ffffffff816ea710 R15: dffffc0000000000
__debug_check_no_obj_freed lib/debugobjects.c:785 [inline]
debug_check_no_obj_freed+0x39d/0x588 lib/debugobjects.c:817
kfree+0xbd/0x230 mm/slab.c:3805
kvfree+0x61/0x70 mm/util.c:445
netdev_freemem+0x4c/0x60 net/core/dev.c:8991
netdev_release+0x119/0x180 net/core/net-sysfs.c:1640
device_release+0x7d/0x210 drivers/base/core.c:919
kobject_cleanup lib/kobject.c:662 [inline]
kobject_release lib/kobject.c:691 [inline]
kref_put include/linux/kref.h:67 [inline]
kobject_put.cold+0x28f/0x2ec lib/kobject.c:708
netdev_run_todo+0x704/0xae0 net/core/dev.c:8896
rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:117
default_device_exit_batch+0x4d3/0x5f0 net/core/dev.c:9677
ops_exit_list.isra.0+0x105/0x160 net/core/net_namespace.c:156
cleanup_net+0x51d/0xb10 net/core/net_namespace.c:551
process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153
worker_thread+0x143/0x14a0 kernel/workqueue.c:2296
kthread+0x357/0x430 kernel/kthread.c:246
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
======================================================
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.