INFO: task syz-executor.3:25079 blocked for more than 143 seconds. Not tainted 5.2.0-rc3+ #53 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28224 25079 13388 0x80004002 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:1713 bcm_release+0x93/0x5d0 net/can/bcm.c:1525 __sock_release+0xce/0x2a0 net/socket.c:601 sock_close+0x1b/0x30 net/socket.c:1273 __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+0x90a/0x2fa0 kernel/exit.c:877 do_group_exit+0x135/0x370 kernel/exit.c:981 get_signal+0x471/0x24b0 kernel/signal.c:2640 do_signal+0x87/0x1900 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x58e/0x680 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007fdc23edec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000003 RBX: 0000000000000003 RCX: 00000000004592c9 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc23edf6d4 R13: 00000000004c7ceb R14: 00000000004de1e0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1043: #0: 000000005443a170 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149 2 locks held by rsyslogd/8737: #0: 00000000b77591ef (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: 000000004aa3d75d (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1168 [inline] #1: 000000004aa3d75d (&rq->lock){-.-.}, at: __schedule+0x1f5/0x1560 kernel/sched/core.c:3397 2 locks held by getty/8827: #0: 000000001abd14d8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009178732d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8828: #0: 00000000dfe6c21f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c759b091 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8829: #0: 000000004f38d1ef (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002a6016ed (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8830: #0: 000000000a995186 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000021691b8e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8831: #0: 00000000c7878cd0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000fe8ccfca (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8832: #0: 000000005a6d6c4d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e6b1259e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8833: #0: 0000000032e6240c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001c9963b4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 3 locks held by kworker/u4:0/30352: #0: 000000009bf21c5b (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:10083 [inline] #0: 000000009bf21c5b (&rq->lock){-.-.}, at: pick_next_task_fair+0x120e/0x1990 kernel/sched/fair.c:7090 #1: 000000005443a170 (rcu_read_lock){....}, at: __update_idle_core+0x45/0x3f0 kernel/sched/fair.c:6087 #2: 00000000c3e9adc2 (&base->lock){-.-.}, at: lock_timer_base+0x56/0x1b0 kernel/time/timer.c:932 4 locks held by kworker/u4:6/5378: #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 0000000049e5642a ((wq_completion)netns){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240 #1: 00000000078a1e42 (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244 #2: 00000000918ba3a3 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:520 #3: 000000009db89482 (rcu_state.barrier_mutex){+.+.}, at: rcu_barrier+0x47/0x2f0 kernel/rcu/tree.c:2719 2 locks held by syz-executor.3/25079: #0: 000000006526f42a (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 000000006526f42a (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2a0 net/socket.c:600 #1: 00000000918ba3a3 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 1 lock held by syz-executor.3/25183: #0: 00000000918ba3a3 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1c0/0x340 net/core/net_namespace.c:435 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1043 Comm: khungtaskd Not tainted 5.2.0-rc3+ #53 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: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.454 msecs NMI backtrace for cpu 1 CPU: 1 PID: 5378 Comm: kworker/u4:6 Not tainted 5.2.0-rc3+ #53 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:mempool_free+0x43/0x370 mm/mempool.c:492 Code: d9 e3 ff 4d 85 e4 0f 84 c6 00 00 00 e8 36 d9 e3 ff 4c 8d 6b 3c 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 0f b6 14 02 <4c> 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6a 02 00 00 48 RSP: 0018:ffff8880ae909a38 EFLAGS: 00000a03 RAX: dffffc0000000000 RBX: ffffffff8a742ab8 RCX: ffffffff831fdd9d RDX: 0000000000000000 RSI: ffffffff818ccd0a RDI: ffff88806c446b00 RBP: ffff8880ae909a70 R08: ffff888064262080 R09: 0000000000000004 R10: ffffed1015d26bdf R11: ffff8880ae935efb R12: ffff88806c446b00 R13: ffffffff8a742af4 R14: ffff88805e908350 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001216100 CR3: 000000009a4f7000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bvec_free+0xa6/0xc0 block/bio.c:160 bio_free+0x230/0x420 block/bio.c:246 bio_put+0xda/0x110 block/bio.c:548 ext4_end_bio+0x198/0x6a0 fs/ext4/page-io.c:343 bio_endio+0x5f5/0xac0 block/bio.c:1853 req_bio_endio block/blk-core.c:197 [inline] blk_update_request+0x317/0xba0 block/blk-core.c:1377 scsi_end_request+0x7f/0x840 drivers/scsi/scsi_lib.c:565 scsi_io_completion+0x20a/0x1420 drivers/scsi/scsi_lib.c:949 scsi_finish_command+0x3b7/0x670 drivers/scsi/scsi.c:233 scsi_softirq_done+0x33b/0x3e0 drivers/scsi/scsi_lib.c:1449 blk_done_softirq+0x2fe/0x4d0 block/blk-softirq.c:37 __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] do_IRQ+0x10f/0x1d0 arch/x86/kernel/irq.c:259 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:583 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 dd ce 57 07 00 74 6a e8 26 01 16 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 06 ff ff ff e8 12 01 16 00 49 c1 ee 03 e8 09 7a RSP: 0018:ffff88805e12f5c0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffffdd RAX: ffff888064262080 RBX: 0000000000000293 RCX: 1ffff1100c84c52e RDX: 0000000000000000 RSI: ffffffff815aa51a RDI: 0000000000000293 RBP: ffff88805e12f608 R08: ffff888064262080 R09: ffff888064262970 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000085 R13: 0000000000000200 R14: 1ffffffff1164e7e R15: ffff8880a7d34000 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 fill_kobj_path lib/kobject.c:160 [inline] kobject_get_path.cold+0x38/0x47 lib/kobject.c:182 kobject_uevent_env+0x3ab/0x101d lib/kobject_uevent.c:528 kobject_uevent+0x20/0x26 lib/kobject_uevent.c:641 device_del+0x74b/0xc30 drivers/base/core.c:2284 rfkill_unregister+0xd1/0x2c0 net/rfkill/core.c:1081 wiphy_unregister+0x13c/0xfd0 net/wireless/core.c:985 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