INFO: task kworker/u4:4:1849 blocked for more than 140 seconds. Not tainted 4.14.97+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:4 D26256 1849 2 0x80000000 Workqueue: writeback wb_workfn (flush-8:0) Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x3b1/0x760 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 ext4_map_blocks+0x728/0x1580 fs/ext4/inode.c:629 mpage_map_one_extent fs/ext4/inode.c:2462 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2515 [inline] ext4_writepages+0x166f/0x3030 fs/ext4/inode.c:2886 do_writepages+0xe5/0x280 mm/page-writeback.c:2348 __writeback_single_inode+0xd2/0x1040 fs/fs-writeback.c:1320 writeback_sb_inodes+0x4b7/0xd00 fs/fs-writeback.c:1584 __writeback_inodes_wb+0xbc/0x200 fs/fs-writeback.c:1653 wb_writeback+0x5f7/0xb70 fs/fs-writeback.c:1762 wb_check_old_data_flush fs/fs-writeback.c:1875 [inline] wb_do_writeback fs/fs-writeback.c:1899 [inline] wb_workfn+0x83d/0xdd0 fs/fs-writeback.c:1928 process_one_work+0x7c6/0x14e0 kernel/workqueue.c:2114 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2248 kthread+0x310/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 INFO: task syz-executor5:5120 blocked for more than 140 seconds. Not tainted 4.14.97+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D28768 5120 1841 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x3b1/0x760 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:715 [inline] do_truncate2+0x10c/0x1e0 fs/open.c:61 handle_truncate fs/namei.c:3039 [inline] do_last fs/namei.c:3464 [inline] path_openat+0x1208/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor5:5122 blocked for more than 140 seconds. Not tainted 4.14.97+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D28896 5122 1841 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x3b1/0x760 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:715 [inline] do_truncate2+0x10c/0x1e0 fs/open.c:61 handle_truncate fs/namei.c:3039 [inline] do_last fs/namei.c:3464 [inline] path_openat+0x1208/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541 1 lock held by rsyslogd/1622: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:768 2 locks held by getty/1750: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 5 locks held by kworker/u4:4/1849: #0: ("writeback"){+.+.}, at: [] process_one_work+0x6e5/0x14e0 kernel/workqueue.c:2085 #1: ((&(&wb->dwork)->work)){+.+.}, at: [] process_one_work+0x71b/0x14e0 kernel/workqueue.c:2089 #2: (&type->s_umount_key#34){++++}, at: [] trylock_super+0x1b/0xe0 fs/super.c:402 #3: (&sbi->s_journal_flag_rwsem){.+.+}, at: [] do_writepages+0xe5/0x280 mm/page-writeback.c:2348 #4: (&ei->i_data_sem){++++}, at: [] ext4_map_blocks+0x728/0x1580 fs/ext4/inode.c:629 2 locks held by syz-executor5/5120: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1545 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xb0 fs/namespace.c:387 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_lock include/linux/fs.h:715 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] do_truncate2+0x10c/0x1e0 fs/open.c:61 2 locks held by syz-executor5/5122: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1545 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xb0 fs/namespace.c:387 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_lock include/linux/fs.h:715 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] do_truncate2+0x10c/0x1e0 fs/open.c:61 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.97+ #1 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at pc 0xffffffffa3a508a2