unregister_netdevice: waiting for lo to become free. Usage count = 2 INFO: task syz-executor7:11324 blocked for more than 120 seconds. Not tainted 4.9.39-g913d980 #7 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D28232 11324 3353 0x00000004 ffff880198188000 ffff8801d096d280 ffff8801d096dd80 ffff88019818af00 ffff8801db221498 ffff8801c911fa18 ffffffff83954b2b 0000000000000000 0000000000000007 00ff880198188000 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+0x2ff/0x830 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.39+0x1e39/0x5f70 kernel/fork.c:1658 [] copy_process kernel/fork.c:1482 [inline] [] _do_fork+0x1b8/0xd50 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+0x691/0x15c0 kernel/workqueue.c:2089 #1: (net_cleanup_work){+.+.+.}, at: [] process_one_work+0x6c3/0x15c0 kernel/workqueue.c:2093 #2: (net_mutex){+.+.+.}, at: [] cleanup_net+0x137/0x600 net/core/net_namespace.c:420 2 locks held by khungtaskd/548: #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/3328: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 2 locks held by getty/3329: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 2 locks held by getty/3330: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 2 locks held by getty/3331: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 2 locks held by getty/3332: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 2 locks held by getty/3333: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 2 locks held by getty/3334: #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+0x1ec/0x1680 drivers/tty/n_tty.c:2133 1 lock held by syz-executor7/11324: #0: (net_mutex){+.+.+.}, at: [] copy_net_ns+0x155/0x280 net/core/net_namespace.c:387 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 548 Comm: khungtaskd Not tainted 4.9.39-g913d980 #7 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d8a9fd00 ffffffff81eacd59 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810bf310 ffff8801d8a9fd38 ffffffff81eb7cad 0000000000000001 0000000000000000 ffff880198188398 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+0x265/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 skipped: idling at pc 0xffffffff83964606