INFO: task syz-executor5:7416 blocked for more than 140 seconds. Not tainted 4.19.0-rc5+ #253 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D26456 7416 5247 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3575 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __fdget_pos+0x1bb/0x200 fs/file.c:766 fdget_pos include/linux/file.h:70 [inline] ksys_write+0x7f/0x260 fs/read_write.c:593 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d ca 90 07 01 87 01 8b 05 c2 90 07 01 83 f8 01 0f 85 8a 00 <00> 00 b8 01 00 00 00 88 05 fe 95 07 01 84 c0 74 72 b8 01 00 00 00 RSP: 002b:00007efc8e270c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 000000000000ff69 RSI: 0000000020000340 RDI: 0000000000000006 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efc8e2716d4 R13: 00000000004c5295 R14: 00000000004d8900 R15: 00000000ffffffff INFO: task syz-executor5:7455 blocked for more than 140 seconds. Not tainted 4.19.0-rc5+ #253 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D24632 7455 5247 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3575 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __fdget_pos+0x1bb/0x200 fs/file.c:766 fdget_pos include/linux/file.h:70 [inline] ksys_write+0x7f/0x260 fs/read_write.c:593 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d ca 90 07 01 87 01 8b 05 c2 90 07 01 83 f8 01 0f 85 8a 00 <00> 00 b8 01 00 00 00 88 05 fe 95 07 01 84 c0 74 72 b8 01 00 00 00 RSP: 002b:00007efc8e22ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 0000000000000018 RSI: 0000000020000400 RDI: 0000000000000006 RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efc8e22f6d4 R13: 00000000004c4f9a R14: 00000000004d8510 R15: 00000000ffffffff INFO: task syz-executor5:7456 blocked for more than 140 seconds. Not tainted 4.19.0-rc5+ #253 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D25992 7456 5247 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3575 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __fdget_pos+0x1bb/0x200 fs/file.c:766 fdget_pos include/linux/file.h:70 [inline] ksys_write+0x7f/0x260 fs/read_write.c:593 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d ca 90 07 01 87 01 8b 05 c2 90 07 01 83 f8 01 0f 85 8a 00 <00> 00 b8 01 00 00 00 88 05 fe 95 07 01 84 c0 74 72 b8 01 00 00 00 RSP: 002b:00007efc8e20dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 000000000000ff69 RSI: 0000000020000340 RDI: 0000000000000006 RBP: 000000000072c180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efc8e20e6d4 R13: 00000000004c5295 R14: 00000000004d8900 R15: 00000000ffffffff Showing all locks held in the system: 3 locks held by kworker/u4:1/23: #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000000665e2fe ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 00000000a065f771 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 #2: 00000000901e7cf6 (&type->s_umount_key#51){++++}, at: trylock_super+0x22/0x110 fs/super.c:412 1 lock held by khungtaskd/987: #0: 0000000043781a66 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/5110: #0: 00000000b532a9ec (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5200: #0: 000000004ce96739 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f6bf82db (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5201: #0: 00000000f5b85e60 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001b250027 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5202: #0: 0000000007d20333 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b267a52a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5203: #0: 000000001084deff (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e5479244 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5204: #0: 000000002dbfffb0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000065e4687c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5205: #0: 0000000042a37f92 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000002c782c4b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5206: #0: 0000000000b29f1e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000bb0d5726 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 3 locks held by syz-executor5/7406: #0: 00000000fb5929ca (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 000000001afe373f (sb_writers#15){.+.+}, at: file_start_write include/linux/fs.h:2759 [inline] #1: 000000001afe373f (sb_writers#15){.+.+}, at: vfs_write+0x42a/0x560 fs/read_write.c:548 #2: 00000000f1e9f883 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #2: 00000000f1e9f883 (&sb->s_type->i_mutex_key#21){+.+.}, at: generic_file_write_iter+0xed/0x870 mm/filemap.c:3289 1 lock held by syz-executor5/7416: #0: 00000000fb5929ca (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by syz-executor5/7419: #0: 000000001afe373f (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 000000001afe373f (sb_writers#15){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 000000001d2ac740 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 000000001d2ac740 (&sb->s_type->i_mutex_key#21){+.+.}, at: do_last fs/namei.c:3321 [inline] #1: 000000001d2ac740 (&sb->s_type->i_mutex_key#21){+.+.}, at: path_openat+0x15c7/0x5160 fs/namei.c:3534 1 lock held by syz-executor5/7455: #0: 00000000fb5929ca (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 1 lock held by syz-executor5/7456: #0: 00000000fb5929ca (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 987 Comm: khungtaskd Not tainted 4.19.0-rc5+ #253 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+0x1c4/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb3e/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.094 msecs NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.0-rc5+ #253 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_inc arch/x86/include/asm/atomic.h:97 [inline] RIP: 0010:atomic_inc include/asm-generic/atomic-instrumented.h:110 [inline] RIP: 0010:__lock_acquire+0x2a8/0x4ec0 kernel/locking/lockdep.c:3303 Code: 08 48 85 db 0f 84 27 ff ff ff 48 8d bb 38 01 00 00 be 04 00 00 00 44 89 84 24 88 00 00 00 e8 df a2 61 00 f0 ff 83 38 01 00 00 <49> 8d 86 78 08 00 00 44 8b 84 24 88 00 00 00 48 89 c2 48 89 44 24 RSP: 0018:ffff8801dad06ea0 EFLAGS: 00000006 RAX: fffffbfff15dba12 RBX: ffffffff8aedcf50 RCX: ffffffff816098d1 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8aedd088 RBP: ffff8801dad07230 R08: fffffbfff15dba12 R09: fffffbfff15dba11 R10: fffffbfff15dba11 R11: ffffffff8aedd08b R12: 0000000000000001 R13: ffff8801dad2cb58 R14: ffff8801d9b1a3c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001c310b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x520 kernel/locking/lockdep.c:3900 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x99/0xd0 kernel/locking/spinlock.c:152 rq_lock_irqsave kernel/sched/sched.h:1805 [inline] update_blocked_averages+0x156/0x1e00 kernel/sched/fair.c:7271 _nohz_idle_balance+0x5ba/0x7a0 kernel/sched/fair.c:9271 nohz_idle_balance kernel/sched/fair.c:9324 [inline] run_rebalance_domains+0x2ec/0x500 kernel/sched/fair.c:9507 __do_softirq+0x30b/0xad8 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 scheduler_ipi+0x55a/0xad0 kernel/sched/core.c:1780 smp_reschedule_interrupt+0x109/0x650 arch/x86/kernel/smp.c:278 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:888 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57 Code: e9 2c ff ff ff 48 89 c7 48 89 45 d8 e8 23 8d 02 fa 48 8b 45 d8 e9 ca fe ff ff 48 89 df e8 12 8d 02 fa eb 82 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 90 90 90 90 90 RSP: 0018:ffff8801d9b2fbf0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffff1003b365f82 RCX: 0000000000000000 RDX: 1ffffffff12a475c RSI: 0000000000000001 RDI: ffffffff89523ae0 RBP: ffff8801d9b2fbf0 R08: ffff8801d9b1a3c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d9b2fcb0 R13: ffffffff8a315fa0 R14: 0000000000000000 R15: 0000000000000001 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0xbf/0x490 arch/x86/kernel/process.c:498 arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:489 default_idle_call+0x6d/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x3db/0x5b0 kernel/sched/idle.c:262 cpu_startup_entry+0x10c/0x120 kernel/sched/idle.c:368 start_secondary+0x523/0x750 arch/x86/kernel/smpboot.c:271 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243