unregister_netdevice: waiting for lo to become free. Usage count = 5 INFO: task syz-executor1:13499 blocked for more than 120 seconds. Not tainted 4.9.40-ged32335 #11 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29064 13499 3335 0x00000004 ffff8801d1f50000 ffff8801aa99ef40 ffff8801cb88c000 ffff8801c8675e00 ffff8801db221498 ffff8801d1fdf9f8 ffffffff8388f2bb 0000000000000000 0000000000000007 00ff8801d1f50000 ffff8801db221db0 ffff8801db221dd8 Call Trace: [] schedule+0x92/0x1b0 kernel/sched/core.c:3624 [] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3657 [] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [] mutex_lock_nested+0x312/0x870 kernel/locking/mutex.c:621 [] copy_net_ns+0x155/0x280 net/core/net_namespace.c:387 [] create_new_namespaces+0x37f/0x730 kernel/nsproxy.c:106 [] copy_namespaces+0x291/0x320 kernel/nsproxy.c:164 [] copy_process.part.50+0x1c99/0x5d40 kernel/fork.c:1658 [] copy_process kernel/fork.c:1482 [inline] [] _do_fork+0x1c0/0xd70 kernel/fork.c:1940 [] SYSC_clone kernel/fork.c:2050 [inline] [] SyS_clone+0x37/0x50 kernel/fork.c:2044 [] do_syscall_64+0x197/0x490 arch/x86/entry/common.c:280 [] entry_SYSCALL64_slow_path+0x25/0x25 Showing all locks held in the system: 3 locks held by kworker/u4:0/6: #0: ("%s""netns"){.+.+.+}, at: [] __write_once_size include/linux/compiler.h:272 [inline] #0: ("%s""netns"){.+.+.+}, at: [] atomic64_set arch/x86/include/asm/atomic64_64.h:33 [inline] #0: ("%s""netns"){.+.+.+}, at: [] atomic_long_set include/asm-generic/atomic-long.h:56 [inline] #0: ("%s""netns"){.+.+.+}, at: [] set_work_data kernel/workqueue.c:615 [inline] #0: ("%s""netns"){.+.+.+}, at: [] set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ("%s""netns"){.+.+.+}, at: [] process_one_work+0x6a9/0x15f0 kernel/workqueue.c:2089 #1: (net_cleanup_work){+.+.+.}, at: [] process_one_work+0x6db/0x15f0 kernel/workqueue.c:2093 #2: (net_mutex){+.+.+.}, at: [] cleanup_net+0x13f/0x610 net/core/net_namespace.c:420 2 locks held by khungtaskd/513: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x125/0xa70 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x74/0x290 kernel/locking/lockdep.c:4329 2 locks held by getty/3207: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.+.}, at: [] n_tty_read+0x1f4/0x16c0 drivers/tty/n_tty.c:2133 1 lock held by syz-executor1/13499: #0: (net_mutex){+.+.+.}, at: [] copy_net_ns+0x155/0x280 net/core/net_namespace.c:387 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 513 Comm: khungtaskd Not tainted 4.9.40-ged32335 #11 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d891fd00 ffffffff81d8d829 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810bd010 ffff8801d891fd38 ffffffff81d9893d 0000000000000001 0000000000000000 ffff8801d1f50398 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace+0xfd/0x120 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x117/0x190 lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6f0/0xa70 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:433 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.40-ged32335 #11 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffffffff84426880 task.stack: ffffffff84400000 RIP: 0010:[] c [] native_apic_mem_write+0xc/0x10 arch/x86/include/asm/apic.h:98 RSP: 0018:ffff8801db207fd0 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffffffff841fa840 RCX: 0000000000000000 RDX: 1ffffffff083f526 RSI: 0000000000000000 RDI: 00000000000000b0 RBP: ffff8801db207fd0 R08: 0000000000000001 R09: ffff88021fffd008 R10: ffff88021fffd018 R11: ffff88021fffd010 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff84a2b078 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c4364ce96c CR3: 00000001c78f3000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801db207fe8c ffffffff810aecbac ffffffff84a1c208c ffffffff84407db8c ffffffff838a275cc ffffffff84407d08c c 0000000000000000c ffffffff84a2b078c 0000000000000000c 0000000000000000c ffffffff84407db8c ffffffff84a1c208c Call Trace: d [] apic_eoi arch/x86/include/asm/apic.h:403 [inline] d [] ack_APIC_irq arch/x86/include/asm/apic.h:447 [inline] d [] smp_reschedule_interrupt+0x5a/0x80 arch/x86/kernel/smp.c:265 [] reschedule_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:732 d [] ? native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:53 [] arch_safe_halt arch/x86/include/asm/paravirt.h:103 [inline] [] default_idle+0x55/0x360 arch/x86/kernel/process.c:295 [] arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:286 [] default_idle_call+0x36/0x60 kernel/sched/idle.c:97 [] cpuidle_idle_call kernel/sched/idle.c:155 [inline] [] cpu_idle_loop kernel/sched/idle.c:248 [inline] [] cpu_startup_entry+0x30c/0x3d0 kernel/sched/idle.c:303 [] rest_init+0x184/0x190 init/main.c:408 [] start_kernel+0x679/0x6ae init/main.c:662 [] x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:196 [] x86_64_start_kernel+0x140/0x163 arch/x86/kernel/head64.c:177 Code: c00 c0f c1f c40 c00 c66 c2e c0f c1f c84 c00 c00 c00 c00 c00 c55 cbe c01 c00 c00 c00 c48 c89 ce5 ce8 c42 c59 c1b c00 c5d cc3 c55 c89 cff c48 c89 ce5 c89 cb7 c00 cc0 c5f cff c<5d> cc3 c66 c90 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c55 c48 c89 ce5 c53 c89 cfb c