syzbot


INFO: trying to register non-static key in neigh_flush_dev

Status: closed as invalid on 2018/02/13 20:24
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+37ebea780f9dd19bfe677a5a84c440ed34d396df@syzkaller.appspotmail.com
First crash: 2705d, last: 2699d

Sample crash report:
device lo entered promiscuous mode
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 17554 Comm: syz-executor2 Not tainted 4.15.0-rc3-next-20171214+ #67
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xe9/0x14b lib/dump_stack.c:53
 register_lock_class+0x164/0x5d0 kernel/locking/lockdep.c:752
 __lock_acquire+0xb4/0x1430 kernel/locking/lockdep.c:3314
 lock_acquire+0xbf/0x220 kernel/locking/lockdep.c:3914
 __raw_write_lock include/linux/rwlock_api_smp.h:210 [inline]
 _raw_write_lock+0x2a/0x40 kernel/locking/spinlock.c:288
 neigh_flush_dev+0x1b1/0x330 net/core/neighbour.c:253
 neigh_changeaddr+0x2f/0x40 net/core/neighbour.c:285
 ndisc_netdev_event+0x268/0x280 net/ipv6/ndisc.c:1772
 notifier_call_chain+0x41/0xc0 kernel/notifier.c:93
 __raw_notifier_call_chain kernel/notifier.c:394 [inline]
 raw_notifier_call_chain+0x2d/0x40 kernel/notifier.c:401
 call_netdevice_notifiers_info+0x32/0x60 net/core/dev.c:1679
 __dev_notify_flags+0x12a/0x130 net/core/dev.c:6888
 dev_change_flags+0x5e/0x70 net/core/dev.c:6910
 devinet_ioctl+0x77b/0x930 net/ipv4/devinet.c:1083
 inet_ioctl+0xda/0x130 net/ipv4/af_inet.c:902
 sock_do_ioctl+0x2c/0x60 net/socket.c:964
 sock_ioctl+0x211/0x320 net/socket.c:1061
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0xaf/0x840 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x452a09
RSP: 002b:00007f096f422c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f096f423700 RCX: 0000000000452a09
RDX: 00000000208a3fe0 RSI: 0000000000008914 RDI: 0000000000000013
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000
R13: 0000000000a2f7ff R14: 00007f096f4239c0 R15: 0000000000000000
BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
IP: neigh_cleanup_and_release+0x13/0x70 net/core/neighbour.c:100
PGD 1f9f01067 P4D 1f9f01067 PUD 1f993f067 PMD 0 
Oops: 0000 [#1] SMP
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 17554 Comm: syz-executor2 Not tainted 4.15.0-rc3-next-20171214+ #67
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:neigh_cleanup_and_release+0x13/0x70 net/core/neighbour.c:100
RSP: 0018:ffffc90000f83b50 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8801fa54dc00 RCX: ffffffff820e511f
RDX: 0000000000010000 RSI: ffffc90005885000 RDI: ffff8801fa54dc00
RBP: ffffc90000f83b60 R08: 0000000000000000 R09: ffffffff820e5421
R10: ffffc90000f83ae0 R11: 0000000000000000 R12: ffff8801f9f5b168
R13: ffff8801fa6d8000 R14: ffff8801fa6d8000 R15: ffffffff831756d0
FS:  00007f096f423700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000028 CR3: 000000021432e005 CR4: 00000000001626e0
Call Trace:
 neigh_flush_dev+0x270/0x330 net/core/neighbour.c:277
 neigh_changeaddr+0x2f/0x40 net/core/neighbour.c:285
 ndisc_netdev_event+0x268/0x280 net/ipv6/ndisc.c:1772
 notifier_call_chain+0x41/0xc0 kernel/notifier.c:93
 __raw_notifier_call_chain kernel/notifier.c:394 [inline]
 raw_notifier_call_chain+0x2d/0x40 kernel/notifier.c:401
 call_netdevice_notifiers_info+0x32/0x60 net/core/dev.c:1679
 __dev_notify_flags+0x12a/0x130 net/core/dev.c:6888
 dev_change_flags+0x5e/0x70 net/core/dev.c:6910
 devinet_ioctl+0x77b/0x930 net/ipv4/devinet.c:1083
 inet_ioctl+0xda/0x130 net/ipv4/af_inet.c:902
 sock_do_ioctl+0x2c/0x60 net/socket.c:964
 sock_ioctl+0x211/0x320 net/socket.c:1061
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0xaf/0x840 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x452a09
RSP: 002b:00007f096f422c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f096f423700 RCX: 0000000000452a09
RDX: 00000000208a3fe0 RSI: 0000000000008914 RDI: 0000000000000013
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000
R13: 0000000000a2f7ff R14: 00007f096f4239c0 R15: 0000000000000000
Code: 1e 00 00 00 e8 af f4 ff ff 5b 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 54 53 48 89 fb e8 21 52 1d ff 48 8b 43 10 <4c> 8b 60 28 4d 85 e4 74 0b e8 0f 52 1d ff 48 89 df 41 ff d4 e8 
RIP: neigh_cleanup_and_release+0x13/0x70 net/core/neighbour.c:100 RSP: ffffc90000f83b50
CR2: 0000000000000028
---[ end trace a5ee984d3b7b20fa ]---

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/20 10:18 linux-next 6084b576dca2 2d836b1d .config console log report ci-upstream-next-kasan-gce
2017/12/20 06:09 linux-next 6084b576dca2 2d836b1d .config console log report ci-upstream-next-kasan-gce
2017/12/20 05:13 linux-next 6084b576dca2 2d836b1d .config console log report ci-upstream-next-kasan-gce
2017/12/20 00:21 linux-next 6084b576dca2 af9163c7 .config console log report ci-upstream-next-kasan-gce
2017/12/19 20:26 linux-next 6084b576dca2 af9163c7 .config console log report ci-upstream-next-kasan-gce
2017/12/19 09:11 linux-next 6084b576dca2 1c4160ef .config console log report ci-upstream-next-kasan-gce
2017/12/19 06:16 linux-next 6084b576dca2 1c4160ef .config console log report ci-upstream-next-kasan-gce
2017/12/19 04:16 linux-next 6084b576dca2 1c4160ef .config console log report ci-upstream-next-kasan-gce
2017/12/19 02:52 linux-next 6084b576dca2 1c4160ef .config console log report ci-upstream-next-kasan-gce
2017/12/18 21:52 linux-next 6084b576dca2 1c4160ef .config console log report ci-upstream-next-kasan-gce
2017/12/17 15:09 linux-next 6084b576dca2 d5beb42a .config console log report ci-upstream-next-kasan-gce
2017/12/15 22:37 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
2017/12/15 21:14 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
2017/12/15 17:30 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
2017/12/14 22:28 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
2017/12/14 22:18 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
2017/12/14 06:16 linux-next 41d8c16909eb 06ea774d .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.