syzbot


BUG: unable to handle kernel NULL pointer dereference in __kthread_create_on_node

Status: closed as invalid on 2018/09/05 12:51
Subsystems: net
[Documentation on labels]
First crash: 2415d, last: 2398d

Sample crash report:
Free swap  = 0kB
Total swap = 0kB
1965969 pages RAM
0 pages HighMem/MovableOnly
106559 pages reserved
BUG: unable to handle kernel NULL pointer dereference at 00000000000008d4
PGD 800000017a1a9067 P4D 800000017a1a9067 PUD 1b55f8067 PMD 0 
Oops: 0002 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 22255 Comm: ip Not tainted 4.17.0+ #21
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65
RSP: 0018:ffff8801b89ceab0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff88019fa157c0 RCX: 0000000000000fb0
RDX: 0000000000000fb0 RSI: 0000000000000000 RDI: 00000000000008d4
RBP: ffff8801b89ceae0 R08: 0000000000000000 R09: 00000000000008d4
R10: 0000000000000000 R11: ffffffff81351e50 R12: ffff88019fa160a0
R13: 0000000000000000 R14: 0000000000000286 R15: fffffffffffffff4
FS:  00007f56c9424700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000008d4 CR3: 0000000199e5a000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 __kthread_create_on_node+0x6ba/0x7b0 kernel/kthread.c:333
 kthread_create_on_node+0x243/0x270 kernel/kthread.c:369
 init_rescuer+0x2f2/0x6b0 kernel/workqueue.c:4005
 __alloc_workqueue_key+0x1e2e/0x23b0 kernel/workqueue.c:4081
 bond_init+0x11f/0x750 drivers/net/bonding/bond_main.c:4689
 register_netdevice+0x2e8/0x2720 net/core/dev.c:7891
 bond_newlink+0x107/0x1c0 drivers/net/bonding/bond_netlink.c:453
 rtnl_newlink+0x2721/0x37a0 net/core/rtnetlink.c:3034
 rtnetlink_rcv_msg+0xa44/0x1570 net/core/rtnetlink.c:4646
 netlink_rcv_skb+0x37e/0x600 net/netlink/af_netlink.c:2448
 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:4664
 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]
 netlink_unicast+0x1680/0x1750 net/netlink/af_netlink.c:1336
 netlink_sendmsg+0x104f/0x1350 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:629 [inline]
 sock_sendmsg net/socket.c:639 [inline]
 ___sys_sendmsg+0xec8/0x1320 net/socket.c:2117
 __sys_sendmsg net/socket.c:2155 [inline]
 __do_sys_sendmsg net/socket.c:2164 [inline]
 __se_sys_sendmsg net/socket.c:2162 [inline]
 __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162
 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x7f56c8b45320
RSP: 002b:00007ffdbdd47be8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffdbdd4bce0 RCX: 00007f56c8b45320
RDX: 0000000000000000 RSI: 00007ffdbdd47c20 RDI: 0000000000000013
RBP: 00007ffdbdd47c20 R08: 0000000000000000 R09: 00007f56c8df40b0
R10: 0000000000000000 R11: 0000000000000246 R12: 000000005b3f3029
R13: 0000000000000000 R14: 00000000006395c0 R15: 00007ffdbdd4c4c0
Code: 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 <f3> aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 
RIP: memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65 RSP: ffff8801b89ceab0
CR2: 00000000000008d4
---[ end trace 94e9c811c864e2ba ]---

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/06 09:02 https://github.com/google/kmsan.git master 9c9df9f275f0 18403e65 .config console log report ci-upstream-kmsan-gce
2018/06/24 12:56 https://github.com/google/kmsan.git master 123906095e30 2064fc5c .config console log report ci-upstream-kmsan-gce
2018/06/24 10:37 https://github.com/google/kmsan.git master 123906095e30 2064fc5c .config console log report ci-upstream-kmsan-gce
2018/06/23 05:06 https://github.com/google/kmsan.git master 123906095e30 89d2e600 .config console log report ci-upstream-kmsan-gce
2018/06/22 23:20 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/22 19:36 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/22 19:32 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/22 19:07 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/22 17:35 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/22 17:32 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/22 17:05 https://github.com/google/kmsan.git master 123906095e30 c97f0d7a .config console log report ci-upstream-kmsan-gce
2018/06/19 10:19 https://github.com/google/kmsan.git master 123906095e30 45c54f75 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.