INFO: trying to register non-static key. QAT: failed to copy from user. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 5 Comm: kworker/u4:0 Not tainted 4.15.0-rc3-next-20171214+ #67 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: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_ifdown+0x41/0x140 net/core/neighbour.c:293 addrconf_ifdown+0x57/0x780 net/ipv6/addrconf.c:3590 addrconf_notify+0x86/0xd50 net/ipv6/addrconf.c:3514 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 call_netdevice_notifiers net/core/dev.c:1697 [inline] rollback_registered_many+0x330/0x490 net/core/dev.c:7288 unregister_netdevice_many.part.117+0x17/0x90 net/core/dev.c:8330 unregister_netdevice_many+0x22/0x30 net/core/dev.c:8329 sit_exit_batch_net+0x2a2/0x3b0 net/ipv6/sit.c:1872 ops_exit_list.isra.6+0x70/0x80 net/core/net_namespace.c:145 cleanup_net+0x210/0x350 net/core/net_namespace.c:484 process_one_work+0x288/0x7a0 kernel/workqueue.c:2112 worker_thread+0x43/0x4d0 kernel/workqueue.c:2246 kthread+0x149/0x170 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 BUG: unable to handle kernel NULL pointer dereference at 0000000000000028 IP: neigh_cleanup_and_release+0x13/0x70 net/core/neighbour.c:100 PGD 0 P4D 0 Oops: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 5 Comm: kworker/u4:0 Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:neigh_cleanup_and_release+0x13/0x70 net/core/neighbour.c:100 RSP: 0000:ffffc90000c8fa70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8802156e8c00 RCX: ffffffff820e511f RDX: 0000000000000000 RSI: ffff8802156e8c40 RDI: ffff8802156e8c00 RBP: ffffc90000c8fa80 R08: 0000000000000000 R09: ffffffff820e5421 R10: ffffc90000c8fa00 R11: 0000000000000000 R12: ffff8801fb00d5a8 R13: ffff8801fc8c4000 R14: ffff8801fc8c4000 R15: ffff8801fc8c4000 FS: 0000000000000000(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 000000000301e006 CR4: 00000000001606f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: neigh_flush_dev+0x270/0x330 net/core/neighbour.c:277 neigh_ifdown+0x41/0x140 net/core/neighbour.c:293 addrconf_ifdown+0x57/0x780 net/ipv6/addrconf.c:3590 addrconf_notify+0x86/0xd50 net/ipv6/addrconf.c:3514 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 call_netdevice_notifiers net/core/dev.c:1697 [inline] rollback_registered_many+0x330/0x490 net/core/dev.c:7288 unregister_netdevice_many.part.117+0x17/0x90 net/core/dev.c:8330 unregister_netdevice_many+0x22/0x30 net/core/dev.c:8329 sit_exit_batch_net+0x2a2/0x3b0 net/ipv6/sit.c:1872 ops_exit_list.isra.6+0x70/0x80 net/core/net_namespace.c:145 cleanup_net+0x210/0x350 net/core/net_namespace.c:484 process_one_work+0x288/0x7a0 kernel/workqueue.c:2112 worker_thread+0x43/0x4d0 kernel/workqueue.c:2246 kthread+0x149/0x170 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 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: ffffc90000c8fa70 CR2: 0000000000000028 ---[ end trace a9a6f27ad5772063 ]---