INFO: task syz-executor.2:6643 blocked for more than 143 seconds. Not tainted 5.2.0+ #67 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D24800 6643 29396 0x80004006 Call Trace: context_switch kernel/sched/core.c:3254 [inline] __schedule+0x755/0x1580 kernel/sched/core.c:3880 schedule+0xa8/0x270 kernel/sched/core.c:3944 rwsem_down_write_slowpath+0x708/0xf60 kernel/locking/rwsem.c:1198 __down_write kernel/locking/rwsem.c:1349 [inline] down_write+0x13c/0x150 kernel/locking/rwsem.c:1485 unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 raw_release+0x57/0x700 net/can/raw.c:358 __sock_release+0xce/0x280 net/socket.c:590 sock_close+0x1e/0x30 net/socket.c:1268 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x92f/0x2ea0 kernel/exit.c:877 do_group_exit+0x135/0x360 kernel/exit.c:981 get_signal+0x47c/0x2500 kernel/signal.c:2728 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: 24 60 48 8b 42 08 48 8b 4a 10 48 8b 5a 18 48 8b 72 20 48 8b 7a 28 48 8b 3f 4c 8b 42 30 48 8b 52 38 48 85 d2 76 62 48 89 44 24 <58> 4c 89 44 24 28 48 89 0c 24 48 89 5c 24 08 48 c7 44 24 10 00 00 RSP: 002b:00007f0ffc24fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0ffc2506d4 R13: 00000000004c846c R14: 00000000004def40 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1053: #0: 0000000032b39743 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5257 1 lock held by rsyslogd/9137: 2 locks held by getty/9227: #0: 0000000061707f9b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002d479f41 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9228: #0: 00000000e76264cb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000070dd5dbb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9229: #0: 0000000075ead292 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a4063234 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9230: #0: 00000000ff506294 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009f87ee2b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9231: #0: 00000000138f7b04 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003a70b1ac (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9232: #0: 000000004280888f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000021b47400 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9233: #0: 000000005a944b8d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e0b737b8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by kworker/0:6/10724: #0: 000000005c37505d ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 000000005c37505d ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000005c37505d ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 000000005c37505d ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 000000005c37505d ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 000000005c37505d ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 000000005c37505d ((wq_completion)events){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: 00000000c4a39ea0 ((work_completion)(&pwq->unbound_release_work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 4 locks held by kworker/u4:4/7660: #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 00000000000468ac ((wq_completion)netns){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: 000000002a8bf13d (net_cleanup_work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 #2: 000000008bef8238 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0xa70 net/core/net_namespace.c:556 #3: 00000000b1c511dc (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 2 locks held by syz-executor.2/6643: #0: 0000000015de2c27 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 0000000015de2c27 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:589 #1: 000000008bef8238 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 1 lock held by syz-executor.2/6740: #0: 000000008bef8238 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x26d/0x41f net/core/net_namespace.c:471 1 lock held by syz-executor.0/6742: #0: 000000008bef8238 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x26d/0x41f net/core/net_namespace.c:471 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1053 Comm: khungtaskd Not tainted 5.2.0+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0x9d0/0xef0 kernel/hung_task.c:289 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7660 Comm: kworker/u4:4 Not tainted 5.2.0+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:lookup_object lib/debugobjects.c:191 [inline] RIP: 0010:debug_object_deactivate lib/debugobjects.c:708 [inline] RIP: 0010:debug_object_deactivate+0x13c/0x320 lib/debugobjects.c:694 Code: 03 42 80 3c 28 00 0f 85 c1 01 00 00 4c 8b a3 80 31 99 8a 31 db 4d 85 e4 0f 84 ae 00 00 00 49 bd 00 00 00 00 00 fc ff df eb 1f <4c> 89 e2 48 c1 ea 03 42 80 3c 2a 00 0f 85 6b 01 00 00 4d 8b 24 24 RSP: 0018:ffff8880ae809cf0 EFLAGS: 00000002 RAX: 1ffffffff1548538 RBX: 0000000000000002 RCX: ffffffff8159c5ca RDX: 1ffff1100c2f3b84 RSI: 0000000000000086 RDI: ffff88806179dc20 RBP: ffff8880ae809dd8 R08: 0000000000000004 R09: ffffffff8aa429c8 R10: ffffed1015d0138a R11: 0000000000000003 R12: ffff88806179dc08 R13: dffffc0000000000 R14: 1ffff11015d013a2 R15: ffff88804e3c2298 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2840eca000 CR3: 000000009ab5e000 CR4: 00000000001406f0 Call Trace: debug_timer_deactivate kernel/time/timer.c:715 [inline] debug_deactivate kernel/time/timer.c:764 [inline] detach_timer kernel/time/timer.c:809 [inline] expire_timers kernel/time/timer.c:1356 [inline] __run_timers kernel/time/timer.c:1685 [inline] __run_timers kernel/time/timer.c:1653 [inline] run_timer_softirq+0x4f4/0x17a0 kernel/time/timer.c:1698 __do_softirq+0x262/0x98c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:537 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1095 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:828 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:767 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1741 [inline] RIP: 0010:vprintk_emit+0x5df/0x700 kernel/printk/printk.c:1985 Code: 00 48 b8 00 00 00 00 00 fc ff df 41 80 3c 06 00 0f 85 f8 00 00 00 48 83 3d 9d d9 76 07 00 74 6a e8 66 6e 16 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 06 ff ff ff e8 52 6e 16 00 49 c1 ee 03 e8 29 ea RSP: 0018:ffff88805deaf688 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff888064ffa500 RBX: 0000000000000293 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffffff815c167a RDI: 0000000000000293 RBP: ffff88805deaf6d0 R08: 1ffffffff14a7744 R09: fffffbfff14a7745 R10: fffffbfff14a7744 R11: ffffffff8a53ba27 R12: 000000000000003e R13: 0000000000000200 R14: 1ffffffff11a5e02 R15: ffff8880a7d86280 vprintk_default+0x28/0x30 kernel/printk/printk.c:2013 vprintk_func+0x7e/0x189 kernel/printk/printk_safe.c:386 printk+0xba/0xed kernel/printk/printk.c:2046 kobject_cleanup lib/kobject.c:691 [inline] kobject_release lib/kobject.c:722 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put.cold+0x266/0x2e6 lib/kobject.c:739 cleanup_glue_dir.part.0+0xe1/0x130 drivers/base/core.c:1830 cleanup_glue_dir drivers/base/core.c:2289 [inline] device_del+0x875/0xc10 drivers/base/core.c:2287 wiphy_unregister+0x2f7/0x1030 net/wireless/core.c:1021 ieee80211_unregister_hw+0x1bf/0x230 net/mac80211/main.c:1356 mac80211_hwsim_del_radio+0x289/0x3b0 drivers/net/wireless/mac80211_hwsim.c:3040 hwsim_exit_net+0x553/0xc4b drivers/net/wireless/mac80211_hwsim.c:3780 ops_exit_list.isra.0+0xaa/0x150 net/core/net_namespace.c:172 cleanup_net+0x4e2/0xa70 net/core/net_namespace.c:594 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352