============================= WARNING: suspicious RCU usage 4.15.0-rc6-next-20180102+ #86 Not tainted ----------------------------- net/netfilter/ipset/ip_set_core.c:2057 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 3 locks held by kworker/u4:1/21: #0: ((wq_completion)"%s""netns"){+.+.}, at: [<00000000f7e06a78>] process_one_work+0x71f/0x14a0 kernel/workqueue.c:2083 #1: (net_cleanup_work){+.+.}, at: [<0000000026badfe6>] process_one_work+0x757/0x14a0 kernel/workqueue.c:2087 #2: (net_mutex){+.+.}, at: [<00000000b088938f>] cleanup_net+0x139/0x8b0 net/core/net_namespace.c:450 stack backtrace: CPU: 0 PID: 21 Comm: kworker/u4:1 Not tainted 4.15.0-rc6-next-20180102+ #86 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+0x137/0x198 lib/dump_stack.c:53 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4585 ip_set_net_exit+0x2c6/0x480 net/netfilter/ipset/ip_set_core.c:2057 ops_exit_list.isra.6+0xae/0x150 net/core/net_namespace.c:142 cleanup_net+0x3f3/0x8b0 net/core/net_namespace.c:484 process_one_work+0x801/0x14a0 kernel/workqueue.c:2112 worker_thread+0xe0/0x1010 kernel/workqueue.c:2246 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 encrypted_key: insufficient parameters specified encrypted_key: insufficient parameters specified device gre0 entered promiscuous mode netlink: 5 bytes leftover after parsing attributes in process `syz-executor5'. ptrace attach of "/root/syz-executor1"[3696] was attempted by "/root/syz-executor1"[4915] ptrace attach of "/root/syz-executor1"[3696] was attempted by "/root/syz-executor1"[4931] netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. hrtimer: interrupt took 82920 ns kauditd_printk_skb: 93 callbacks suppressed audit: type=1400 audit(1514913139.541:147): avc: denied { setgid } for pid=5157 comm="syz-executor0" capability=6 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=2541 sclass=netlink_route_socket pig=1327 comm=kworker/u4:3 audit: type=1326 audit(1514913139.719:148): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5191 comm="syz-executor3" exe="/root/syz-executor3" sig=9 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x0 audit: type=1326 audit(1514913139.810:149): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5191 comm="syz-executor3" exe="/root/syz-executor3" sig=9 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x0 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 5200 Comm: syz-executor6 Not tainted 4.15.0-rc6-next-20180102+ #86 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+0x137/0x198 lib/dump_stack.c:53 handle_userfault+0x744/0x1750 fs/userfaultfd.c:430 do_anonymous_page mm/memory.c:3171 [inline] handle_pte_fault mm/memory.c:3945 [inline] __handle_mm_fault+0x2fc5/0x3210 mm/memory.c:4071 handle_mm_fault+0x305/0x840 mm/memory.c:4108 __do_page_fault+0x59e/0xca0 arch/x86/mm/fault.c:1429 do_page_fault+0x78/0x490 arch/x86/mm/fault.c:1504 page_fault+0x2c/0x60 arch/x86/entry/entry_64.S:1243 RIP: 0010:fault_in_pages_readable include/linux/pagemap.h:601 [inline] RIP: 0010:iov_iter_fault_in_readable+0x1a7/0x410 lib/iov_iter.c:421 RSP: 0018:ffff8801c78ffa08 EFLAGS: 00010246 RAX: 0000000000010000 RBX: 0000000020011fd2 RCX: ffffffff821c64c1 RDX: 000000000000010c RSI: ffffc9000443e000 RDI: ffff8801c78ffd30 RBP: ffff8801c78ffae8 R08: ffff8801cd1a86d0 R09: 0000000000000003 R10: ffff8801c78ff978 R11: 0000000000000001 R12: 1ffff10038f1ff44 R13: ffff8801c78ffac0 R14: 0000000000000000 R15: ffff8801c78ffd28 generic_perform_write+0x195/0x4a0 mm/filemap.c:3128 __generic_file_write_iter+0x366/0x5b0 mm/filemap.c:3263 generic_file_write_iter+0x2f0/0x630 mm/filemap.c:3291 call_write_iter include/linux/fs.h:1775 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x550/0x740 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xd4/0x1a0 fs/read_write.c:581 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x452ac9 RSP: 002b:00007fcbd42c3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000030 RSI: 0000000020011fd2 RDI: 0000000000000014 RBP: 00000000000005ea R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6e90 R13: 00000000ffffffff R14: 00007fcbd42c46d4 R15: 0000000000000000 audit: type=1400 audit(1514913140.063:150): avc: denied { ipc_lock } for pid=5252 comm="syz-executor4" capability=14 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1326 audit(1514913140.069:151): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5255 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514913140.070:152): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5255 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514913140.071:153): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5255 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=321 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514913140.072:154): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5255 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514913140.076:155): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=5255 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 binder: 5399:5408 got transaction with invalid parent offset or type binder: 5399:5408 transaction failed 29201/-22, size 32-8 line 3083 device eql entered promiscuous mode binder: BINDER_SET_CONTEXT_MGR already set binder: 5399:5432 ioctl 40046207 0 returned -16 binder: undelivered TRANSACTION_ERROR: 29201 kvm: apic: phys broadcast and lowest prio kvm: apic: phys broadcast and lowest prio device ip6tnl0 entered promiscuous mode device ip6tnl0 left promiscuous mode sock: sock_set_timeout: `syz-executor0' (pid 5745) tries to set negative timeout kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3703 Comm: syz-executor4 Not tainted 4.15.0-rc6-next-20180102+ #86 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_write_cr4+0x4/0x10 arch/x86/include/asm/special_insns.h:76 RSP: 0000:ffff8801db507ed0 EFLAGS: 00010006 RAX: ffff8801bbcea000 RBX: 00000000001606e0 RCX: ffffffff8115d7c2 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606e0 RBP: ffff8801db507ed0 R08: ffffffff81808bd6 R09: 0000000000000002 R10: ffff8801bdbe7d68 R11: 0000000000000001 R12: 0000000000000006 R13: ffff8801bbcea000 R14: ffff8801db51a130 R15: ffff8801db51a130 FS: 0000000000f60940(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006f77a0 CR3: 00000001bd9ae003 CR4: 00000000001626e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __write_cr4 arch/x86/include/asm/paravirt.h:76 [inline] __cr4_set arch/x86/include/asm/tlbflush.h:252 [inline] cr4_clear_bits arch/x86/include/asm/tlbflush.h:275 [inline] kvm_cpu_vmxoff arch/x86/kvm/vmx.c:3737 [inline] hardware_disable+0x34a/0x4b0 arch/x86/kvm/vmx.c:3743 kvm_arch_hardware_disable+0x35/0xd0 arch/x86/kvm/x86.c:8110 hardware_disable_nolock+0x30/0x40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3284 flush_smp_call_function_queue+0x165/0x420 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0x13/0x30 kernel/smp.c:192 smp_call_function_single_interrupt+0x83/0x450 arch/x86/kernel/smp.c:295 call_function_single_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:942 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:772 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:794 [inline] RIP: 0010:lock_is_held_type+0x88/0x210 kernel/locking/lockdep.c:3948 RSP: 0000:ffff8801bdbe7da0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: ffff8801bbcea000 RCX: ffffffff81808c8c RDX: 1ffffffff0bd909c RSI: 00000000ffffffff RDI: ffffffff85ec84e0 RBP: ffff8801bdbe7dc0 R08: ffffffff81808bd6 R09: 0000000000000002 R10: ffff8801bdbe7d68 R11: 0000000000000001 R12: ffffffff85f5cf20 R13: ffffffff85f5f0f8 R14: ffff8801bbcea000 R15: 00000000006f77a0 lock_is_held include/linux/lockdep.h:344 [inline] task_css include/linux/cgroup.h:477 [inline] mem_cgroup_from_task+0x9e/0x130 mm/memcontrol.c:677 count_memcg_event_mm include/linux/memcontrol.h:704 [inline] handle_mm_fault+0x174/0x840 mm/memory.c:4088 __do_page_fault+0x59e/0xca0 arch/x86/mm/fault.c:1429 do_page_fault+0x78/0x490 arch/x86/mm/fault.c:1504 page_fault+0x4c/0x60 arch/x86/entry/entry_64.S:1243 RIP: 0033:0x42b9ce RSP: 002b:0000000000a2e890 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000006f77a0 RCX: 0000000000451ed4 RDX: 0000000000a2e8b0 RSI: 0000000000000001 RDI: 0000000000008030 RBP: 0000000000008030 R08: 0000000000000001 R09: 0000000000f60940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000100 R13: 0000000000000000 R14: 000000000000bc11 R15: 0000000000000001 Code: 0f 1f 80 00 00 00 00 55 48 89 e5 0f 20 d8 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 0f 22 df 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 <0f> 22 e7 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 44 0f 20 c0 5d RIP: native_write_cr4+0x4/0x10 arch/x86/include/asm/special_insns.h:76 RSP: ffff8801db507ed0 ---[ end trace 1fb7e281d8008ebe ]---