INFO: task syz-executor1:804 blocked for more than 140 seconds. Not tainted 4.19.0-rc6+ #262 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D26456 804 5410 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 6a 60 09 01 87 01 8b 05 62 60 09 01 83 f8 01 0f 85 8a 00 <00> 00 b8 01 00 00 00 88 05 9e 65 09 01 84 c0 74 72 b8 01 00 00 00 RSP: 002b:00007fc44890ec78 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: 00007fc44890f6d4 R13: 00000000004c5343 R14: 00000000004d8a90 R15: 00000000ffffffff INFO: task syz-executor1:852 blocked for more than 140 seconds. Not tainted 4.19.0-rc6+ #262 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D23528 852 5410 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: Bad RIP value. RSP: 002b:00007fc4488ccc78 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: 00007fc4488cd6d4 R13: 00000000004c5048 R14: 00000000004d86a0 R15: 00000000ffffffff INFO: task syz-executor1:853 blocked for more than 140 seconds. Not tainted 4.19.0-rc6+ #262 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D24048 853 5410 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: Bad RIP value. RSP: 002b:00007fc4488abc78 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: 00007fc4488ac6d4 R13: 00000000004c5343 R14: 00000000004d8a90 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/982: #0: 000000005a0e6cbf (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435 2 locks held by rsyslogd/5270: #0: 00000000e219014b (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 000000007ba7ee8c (&rq->lock){-.-.}, at: __debug_check_no_obj_freed lib/debugobjects.c:777 [inline] #1: 000000007ba7ee8c (&rq->lock){-.-.}, at: debug_check_no_obj_freed+0x17a/0x58d lib/debugobjects.c:818 2 locks held by getty/5360: #0: 00000000f323c9ac (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000017b9eb47 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5361: #0: 0000000049cda281 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000088e384d7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5362: #0: 000000004d1165d6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b3ea32d7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5363: #0: 00000000f65a4b5a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b1e1ffc6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5364: #0: 000000007ea6f448 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000752859e2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5365: #0: 000000001991a38c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006b4d41b5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5366: #0: 00000000849e7725 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000002402bbb6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 3 locks held by kworker/u4:4/7265: #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000005c3e6722 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 00000000ffbbc4a5 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 #2: 00000000dee53236 (&type->s_umount_key#54){++++}, at: trylock_super+0x22/0x110 fs/super.c:412 3 locks held by syz-executor1/794: #0: 00000000631abb31 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 0000000097d0201c (sb_writers#14){.+.+}, at: file_start_write include/linux/fs.h:2759 [inline] #1: 0000000097d0201c (sb_writers#14){.+.+}, at: vfs_write+0x42a/0x560 fs/read_write.c:548 #2: 0000000048b94700 (&sb->s_type->i_mutex_key#23){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #2: 0000000048b94700 (&sb->s_type->i_mutex_key#23){+.+.}, at: generic_file_write_iter+0xed/0x870 mm/filemap.c:3289 1 lock held by syz-executor1/804: #0: 00000000631abb31 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by syz-executor1/814: #0: 0000000097d0201c (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 0000000097d0201c (sb_writers#14){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 0000000000e1a097 (&sb->s_type->i_mutex_key#23){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 0000000000e1a097 (&sb->s_type->i_mutex_key#23){+.+.}, at: do_last fs/namei.c:3321 [inline] #1: 0000000000e1a097 (&sb->s_type->i_mutex_key#23){+.+.}, at: path_openat+0x15c7/0x5160 fs/namei.c:3534 1 lock held by syz-executor1/852: #0: 00000000631abb31 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 1 lock held by syz-executor1/853: #0: 00000000631abb31 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 982 Comm: khungtaskd Not tainted 4.19.0-rc6+ #262 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 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57