INFO: task syz-executor.1:29961 blocked for more than 143 seconds. Not tainted 5.2.0-rc1+ #11 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28512 29961 29778 0x00004004 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3445 schedule+0xa8/0x260 kernel/sched/core.c:3509 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:601 [inline] rwsem_down_write_failed+0x7a1/0xc60 kernel/locking/rwsem-xadd.c:633 __down_write kernel/locking/rwsem.h:227 [inline] down_write+0x93/0xa0 kernel/locking/rwsem.c:68 unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1717 bcm_release+0x93/0x5d0 net/can/bcm.c:1525 __sock_release+0x1f4/0x2a0 net/socket.c:607 sock_release net/socket.c:627 [inline] __sys_socketpair+0x534/0x5d0 net/socket.c:1600 __do_sys_socketpair net/socket.c:1634 [inline] __se_sys_socketpair net/socket.c:1631 [inline] __x64_sys_socketpair+0x97/0xf0 net/socket.c:1631 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 Code: Bad RIP value. RSP: 002b:00007f46c710ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000459279 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000075bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00007f46c710b6d4 R13: 00000000004c7c91 R14: 00000000004ddfb0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1041: #0: 00000000a1ee7ce2 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149 2 locks held by kworker/1:2/3484: #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 0000000071e8bb71 ((wq_completion)events){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240 #1: 000000004145aaa4 ((work_completion)(&pwq->unbound_release_work)){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244 1 lock held by rsyslogd/9118: 2 locks held by getty/9208: #0: 00000000e9d2bebf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e8eebb18 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9209: #0: 00000000b46a3010 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000690ae277 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9210: #0: 000000006f116c09 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a85c576e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9211: #0: 0000000080c7c05c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009401f11a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9212: #0: 0000000093da0736 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000ad40cee (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9213: #0: 00000000c9eec13c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a8ea35cb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9214: #0: 00000000be9f3f5c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a9bb63cc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 4 locks held by kworker/u4:5/7507: #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 0000000026ea2803 ((wq_completion)netns){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240 #1: 00000000eac49a85 (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244 #2: 00000000c1bc32c2 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:520 #3: 00000000278df34b (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76 1 lock held by syz-executor.1/29961: #0: 00000000c1bc32c2 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1717 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1041 Comm: khungtaskd Not tainted 5.2.0-rc1+ #11 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+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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+0x9b7/0xec0 kernel/hung_task.c:289 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7507 Comm: kworker/u4:5 Not tainted 5.2.0-rc1+ #11 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:trace_timer_expire_entry include/trace/events/timer.h:90 [inline] RIP: 0010:call_timer_fn+0x561/0x720 kernel/time/timer.c:1321 Code: 84 db 0f 84 a2 fc ff ff e8 7c 0f 10 00 e8 f8 cf 9f ff e9 93 fc ff ff e8 6d 0f 10 00 65 ff 05 2e 67 a1 7e 48 8b 05 87 6b 1c 08 4a f5 fc ff 31 ff 41 89 c6 89 c6 e8 ce 10 10 00 45 85 f6 74 20 RSP: 0018:ffff8880ae909d08 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff88802988e9c0 RCX: ffffffff81609279 RDX: 0000000000000100 RSI: ffffffff81609653 RDI: 0000000000000001 RBP: ffff8880ae909dd0 R08: ffff888067f086c0 R09: ffff888067f09028 R10: ffff888067f09008 R11: ffff888067f086c0 R12: 0000000000000101 R13: ffff8880ae909da8 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f392ae4e000 CR3: 000000009f3a2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: expire_timers kernel/time/timer.c:1362 [inline] __run_timers kernel/time/timer.c:1685 [inline] __run_timers kernel/time/timer.c:1653 [inline] run_timer_softirq+0x462/0x1740 kernel/time/timer.c:1698 __do_softirq+0x25c/0x94c kernel/softirq.c:293 invoke_softirq kernel/softirq.c:374 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:414 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13b/0x550 arch/x86/kernel/apic/apic.c:1068 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806 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 3d cc 57 07 00 74 6a e8 86 01 16 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 06 ff ff ff e8 72 01 16 00 49 c1 ee 03 e8 69 7a RSP: 0018:ffff888044fa7688 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff888067f086c0 RBX: 0000000000000293 RCX: 1ffff1100cfe1200 RDX: 0000000000000000 RSI: ffffffff815aa43a RDI: 0000000000000293 RBP: ffff888044fa76d0 R08: ffff888067f086c0 R09: ffff888067f09000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000001f R13: 0000000000000200 R14: 1ffffffff1164e0e R15: ffff8880a7c8c6c0 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:696 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:67 [inline] kobject_put.cold+0x2ab/0x2e6 lib/kobject.c:737 cleanup_glue_dir.part.0+0xe1/0x130 drivers/base/core.c:1830 cleanup_glue_dir drivers/base/core.c:827 [inline] device_del+0x88d/0xc30 drivers/base/core.c:2287 wiphy_unregister+0x2f7/0xfd0 net/wireless/core.c:1008 ieee80211_unregister_hw+0x1bf/0x230 net/mac80211/main.c:1360 mac80211_hwsim_del_radio+0x289/0x3b0 drivers/net/wireless/mac80211_hwsim.c:3041 hwsim_exit_net+0x553/0xc4b drivers/net/wireless/mac80211_hwsim.c:3781 ops_exit_list.isra.0+0xaa/0x150 net/core/net_namespace.c:154 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:553 process_one_work+0x989/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352