[ 33.303228] CPU0 [ 33.305784] ---- [ 33.308336] lock(&(&nf_conntrack_locks[i])->rlock); [ 33.313764] lock(&(&nf_conntrack_locks[i])->rlock); [ 33.319236] [ 33.319236] *** DEADLOCK *** [ 33.319236] [ 33.325266] May be due to missing lock nesting notation [ 33.325266] [ 33.332175] 4 locks held by kworker/u4:1/19: [ 33.336550] #0: ("%s""netns"){.+.+.+}, at: [] process_one_work+0x17e/0x690 [ 33.345889] #1: (net_cleanup_work){+.+.+.}, at: [] process_one_work+0x17e/0x690 [ 33.355805] #2: (net_mutex){+.+.+.}, at: [] cleanup_net+0x7a/0x270 [ 33.364473] #3: (&(&nf_conntrack_locks[i])->rlock){+.....}, at: [] nf_conntrack_lock+0xd/0x50 [ 33.375460] [ 33.375460] stack backtrace: [ 33.379928] CPU: 1 PID: 19 Comm: kworker/u4:1 Not tainted 4.5.0-rc3-syzkaller #0 [ 33.387428] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.396755] Workqueue: netns cleanup_net [ 33.400902] 0000000000000000 ffff88012b04bb20 ffffffff8195cc30 ffffffff83e2ba30 [ 33.409073] ffffffff83e2ba30 ffff88012b04bbf8 ffffffff811bf25c ffff88012b04bbc0 [ 33.417094] 0000000000000082 0000000000000001 0000000000000000 ffff88012b04bb60 [ 33.425122] Call Trace: [ 33.427687] [] dump_stack+0x99/0xd9 [ 33.433196] [] __lock_acquire+0x1a5c/0x1ba0 [ 33.439141] [] ? debug_lockdep_rcu_enabled+0x1d/0x20 [ 33.445903] [] lock_acquire+0xed/0x210 [ 33.451415] [] ? nf_conntrack_lock+0xd/0x50 [ 33.457817] [] _raw_spin_lock+0x36/0x50 [ 33.463432] [] ? nf_conntrack_lock+0xd/0x50 [ 33.469374] [] nf_conntrack_lock+0xd/0x50 [ 33.475145] [] ctnl_untimeout.isra.4+0xdc/0x110 [ 33.481498] [] cttimeout_net_exit+0x28/0x80 [ 33.487491] [] ops_exit_list.isra.4+0x33/0x60 [ 33.494343] [] cleanup_net+0x1a9/0x270 [ 33.499853] [] process_one_work+0x21b/0x690 [ 33.505907] [] ? process_one_work+0x17e/0x690 [ 33.512249] [] worker_thread+0x49/0x490 [ 33.517860] [] ? process_one_work+0x690/0x690 [ 33.523979] [] kthread+0xea/0x100 [ 33.529244] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 33.537185] [] ret_from_fork+0x3f/0x70 [ 33.542793] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 34.314253] kobject: 'regulatory.0' (ffff8800bb810820): kobject_uevent_env [ 34.321310] kobject: 'regulatory.0' (ffff8800bb810820): fill_kobj_path: path = '/devices/platform/regulatory.0' Warning: Permanently added '10.128.0.137' (ECDSA) to the list of known hosts. 2019/12/04 02:42:59 parsed 1 programs 2019/12/04 02:42:59 executed programs: 0 [ 38.707639] IPv6: ADDRCONF(NETDEV_CHANGE): nr2: link becomes ready [ 38.717726] IPv6: ADDRCONF(NETDEV_CHANGE): nr0: link becomes ready [ 38.725932] IPv6: ADDRCONF(NETDEV_CHANGE): nr1: link becomes ready [ 38.737595] IPv6: ADDRCONF(NETDEV_CHANGE): nr4: link becomes ready [ 38.744462] IPv6: ADDRCONF(NETDEV_CHANGE): nr3: link becomes ready [ 38.753460] IPv6: ADDRCONF(NETDEV_CHANGE): nr5: link becomes ready [ 136.380919] BUG: spinlock lockup suspected on CPU#1, kworker/u4:1/19 [ 136.387454] lock: nf_conntrack_locks+0x0/0xe000, .magic: dead4ead, .owner: kworker/u4:1/19, .owner_cpu: 1 [ 136.397264] CPU: 1 PID: 19 Comm: kworker/u4:1 Not tainted 4.5.0-rc3-syzkaller #0 [ 136.404967] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 136.415081] Workqueue: netns cleanup_net [ 136.419257] 0000000000000000 ffff88012b04bc18 ffffffff8195cc30 ffff88012b044500 [ 136.427443] ffffffff8320a780 ffff88012b04bc38 ffffffff811c3753 ffffffff8320a780 [ 136.435632] 0000000089173700 ffff88012b04bc68 ffffffff811c3883 ffffffff8320a780 [ 136.443860] Call Trace: [ 136.446424] [] dump_stack+0x99/0xd9 [ 136.451810] [] spin_dump+0x73/0xc0 [ 136.457304] [] do_raw_spin_lock+0xa3/0x160 [ 136.463248] [] _raw_spin_lock+0x3e/0x50 [ 136.469118] [] ? nf_conntrack_lock+0xd/0x50 [ 136.475062] [] nf_conntrack_lock+0xd/0x50 [ 136.480835] [] ctnl_untimeout.isra.4+0xdc/0x110 [ 136.487485] [] cttimeout_net_exit+0x28/0x80 [ 136.493428] [] ops_exit_list.isra.4+0x33/0x60 [ 136.499665] [] cleanup_net+0x1a9/0x270 [ 136.505451] [] process_one_work+0x21b/0x690 [ 136.511831] [] ? process_one_work+0x17e/0x690 [ 136.517965] [] worker_thread+0x49/0x490 [ 136.523559] [] ? process_one_work+0x690/0x690 [ 136.529767] [] kthread+0xea/0x100 [ 136.534991] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 136.541699] [] ret_from_fork+0x3f/0x70 [ 136.548019] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 136.554687] Sending NMI to all CPUs: [ 136.558769] NMI backtrace for cpu 0 [ 136.562470] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.5.0-rc3-syzkaller #0 [ 136.569825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 136.579282] task: ffffffff83221540 ti: ffffffff83200000 task.ti: ffffffff83200000 [ 136.587074] RIP: 0010:[] [] native_safe_halt+0x6/0x10 [ 136.595646] RSP: 0018:ffffffff83203eb8 EFLAGS: 00000282 [ 136.601075] RAX: 0000000000000000 RBX: ffffffff83200000 RCX: 0000000000000000 [ 136.609225] RDX: 0000000000000000 RSI: ffffffff82f69d89 RDI: ffffffff81089bf6 [ 136.616599] RBP: ffffffff83203eb8 R08: 0000000000000000 R09: 0000000000000001 [ 136.624420] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff83204000 [ 136.632020] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff83200000 [ 136.639574] FS: 0000000000000000(0000) GS:ffff88012c000000(0000) knlGS:0000000000000000 [ 136.647793] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 136.653646] CR2: 000000c42004be80 CR3: 00000000b5414000 CR4: 00000000001406f0 [ 136.660906] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 136.668162] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 136.675689] Stack: [ 136.677814] ffffffff83203ed8 ffffffff81089c09 ffffffff83200000 ffffffff83204000 [ 136.685360] ffffffff83203ee8 ffffffff8108a61a ffffffff83203ef8 ffffffff811b6f45 [ 136.692867] ffffffff83203f40 ffffffff811b733f ffffffff835902e0 ffffffff83204000 [ 136.700384] Call Trace: [ 136.703029] [] default_idle+0x29/0x190 [ 136.708571] [] arch_cpu_idle+0xa/0x10 [ 136.713995] [] default_idle_call+0x25/0x50 [ 136.719862] [] cpu_startup_entry+0x3cf/0x460 [ 136.725912] [] rest_init+0x131/0x140 [ 136.731345] [] start_kernel+0x44a/0x457 [ 136.736955] [] ? early_idt_handler_array+0x120/0x120 [ 136.743944] [] x86_64_start_reservations+0x2a/0x2c [ 136.750512] [] x86_64_start_kernel+0x145/0x152 [ 136.757362] Code: 00 00 00 00 00 55 48 89 e5 fa 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 66 0f 1f 84 [ 136.776337] NMI backtrace for cpu 1 [ 136.779938] CPU: 1 PID: 19 Comm: kworker/u4:1 Not tainted 4.5.0-rc3-syzkaller #0 [ 136.787471] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 136.797790] Workqueue: netns cleanup_net [ 136.801834] task: ffff88012b044500 ti: ffff88012b048000 task.ti: ffff88012b048000 [ 136.809444] RIP: 0010:[] [] native_write_msr_safe+0x6/0x40 [ 136.818268] RSP: 0018:ffff88012b04bb68 EFLAGS: 00000086 [ 136.823703] RAX: 0000000000000400 RBX: ffffffff83470880 RCX: 0000000000000830 [ 136.830959] RDX: 0000000000000001 RSI: 0000000000000400 RDI: 0000000000000830 [ 136.838489] RBP: ffff88012b04bb70 R08: 0000000000000400 R09: 0000000000000003 [ 136.845860] R10: ffff88012b044db0 R11: 0000000000000001 R12: 0000000000080000 [ 136.853239] R13: 0000000000000001 R14: 0000000000000002 R15: 000000000000a130 [ 136.860680] FS: 0000000000000000(0000) GS:ffff88012c100000(0000) knlGS:0000000000000000 [ 136.868930] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 136.879340] CR2: 000055a935989000 CR3: 000000000321a000 CR4: 00000000001406e0 [ 136.886742] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 136.895048] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 136.903795] Stack: [ 136.905983] ffffffff810c261a ffff88012b04bbb8 ffffffff810c2701 0000000000000282 [ 136.913948] 0000000000000001 00000000000114e0 0000000000000001 ffffffff810bf280 [ 136.921728] 0000000000000040 0000000000000001 ffff88012b04bbc8 ffffffff810c27ce [ 136.929453] Call Trace: [ 136.932010] [] ? __x2apic_send_IPI_dest.constprop.7+0x3a/0x40 [ 136.939630] [] __x2apic_send_IPI_mask+0xe1/0x150 [ 136.946135] [] ? irq_force_complete_move+0xe0/0xe0 [ 136.953298] [] x2apic_send_IPI_mask+0xe/0x10 [ 136.959429] [] nmi_raise_cpu_backtrace+0x16/0x20 [ 136.966186] [] nmi_trigger_all_cpu_backtrace+0x322/0x330 [ 136.973331] [] arch_trigger_all_cpu_backtrace+0x14/0x20 [ 136.980813] [] do_raw_spin_lock+0xad/0x160 [ 136.987387] [] _raw_spin_lock+0x3e/0x50 [ 136.993131] [] ? nf_conntrack_lock+0xd/0x50 [ 136.999545] [] nf_conntrack_lock+0xd/0x50 [ 137.005331] [] ctnl_untimeout.isra.4+0xdc/0x110 [ 137.011631] [] cttimeout_net_exit+0x28/0x80 [ 137.017594] [] ops_exit_list.isra.4+0x33/0x60 [ 137.023729] [] cleanup_net+0x1a9/0x270 [ 137.029263] [] process_one_work+0x21b/0x690 [ 137.035305] [] ? process_one_work+0x17e/0x690 [ 137.043693] [] worker_thread+0x49/0x490 [ 137.049571] [] ? process_one_work+0x690/0x690 [ 137.055800] [] kthread+0xea/0x100 [ 137.061741] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 137.068400] [] ret_from_fork+0x3f/0x70 [ 137.074086] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 137.080749] Code: 5b 5d c3 48 c1 e2 20 48 89 d3 31 d2 48 09 c3 48 89 de e8 3e f0 8c 00 48 89 d8 5b 5d c3 0f 1f 84 00 00 00 00 00 89 f0 89 f9 0f 30 <31> c0 0f 1f 44 00 00 c3 41 89 f0 48 89 d6 55 89 c2 48 c1 e6 20 [ 138.224245] INFO: rcu_preempt self-detected stall on CPU [ 138.230243] 1-...: (10452 ticks this GP) idle=9eb/140000000000001/0 softirq=6054/6054 fqs=10433 [ 138.239508] (t=10500 jiffies g=451 c=450 q=973) [ 138.244469] Task dump for CPU 1: [ 138.247806] kworker/u4:1 R running task 12480 19 2 0x00000008 [ 138.255330] Workqueue: netns cleanup_net [ 138.259498] ffff88012b044500 ffff88012c103da0 ffffffff8119ee63 0000000000000001 [ 138.267670] ffffffff83272b00 0000000000000086 ffff88012c103db8 ffffffff811a1c42 [ 138.276075] 0000000000000002 ffff88012c103de8 ffffffff811db709 ffff88012c117dc0 [ 138.284509] Call Trace: [ 138.287078] [] sched_show_task+0xe3/0x180 [ 138.293779] [] dump_cpu_task+0x32/0x40 [ 138.299304] [] rcu_dump_cpu_stacks+0x89/0xe0 [ 138.305339] [] rcu_check_callbacks+0x66d/0xa30 [ 138.311923] [] ? tick_sched_do_timer+0x30/0x30 [ 138.318131] [] ? tick_sched_do_timer+0x30/0x30 [ 138.324358] [] update_process_times+0x34/0x60 [ 138.331285] [] tick_sched_handle.isra.20+0x20/0x60 [ 138.338040] [] tick_sched_timer+0x38/0x70 [ 138.343814] [] __hrtimer_run_queues+0x11d/0x4a0 [ 138.350118] [] ? hrtimer_interrupt+0x88/0x1b0 [ 138.356254] [] hrtimer_interrupt+0xaa/0x1b0 [ 138.362211] [] local_apic_timer_interrupt+0x31/0x50 [ 138.369213] [] smp_apic_timer_interrupt+0x38/0x50 [ 138.375775] [] apic_timer_interrupt+0x8c/0xa0 [ 138.381909] [] ? kvm_wait+0xbb/0xe0 [ 138.387906] [] ? native_safe_halt+0x6/0x10 [ 138.393764] [] ? trace_hardirqs_on+0xd/0x10 [ 138.399715] [] kvm_wait+0xca/0xe0 [ 138.405225] [] __pv_queued_spin_lock_slowpath+0x26a/0x2d0 [ 138.412494] [] do_raw_spin_lock+0x157/0x160 [ 138.418664] [] _raw_spin_lock+0x3e/0x50 [ 138.424360] [] ? nf_conntrack_lock+0xd/0x50 [ 138.430304] [] nf_conntrack_lock+0xd/0x50 [ 138.436076] [] ctnl_untimeout.isra.4+0xdc/0x110 [ 138.442382] [] cttimeout_net_exit+0x28/0x80 [ 138.448758] [] ops_exit_list.isra.4+0x33/0x60 [ 138.455701] [] cleanup_net+0x1a9/0x270 [ 138.461443] [] process_one_work+0x21b/0x690 [ 138.467660] [] ? process_one_work+0x17e/0x690 [ 138.473860] [] worker_thread+0x49/0x490 [ 138.479469] [] ? process_one_work+0x690/0x690 [ 138.485589] [] kthread+0xea/0x100 [ 138.490940] [] ? kthread_create_on_node+0x1f0/0x1f0 [ 138.497734] [] ret_from_fork+0x3f/0x70 [ 138.503258] [] ? kthread_create_on_node+0x1f0/0x1f0