INFO: task kworker/u4:3:19292 blocked for more than 140 seconds. Not tainted 4.19.0-rc7+ #264 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:3 D14008 19292 2 0x80000000 Workqueue: writeback wb_workfn (flush-8:0) 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 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 ext4_map_blocks+0x88f/0x1b50 fs/ext4/inode.c:629 mpage_map_one_extent fs/ext4/inode.c:2450 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2503 [inline] ext4_writepages+0x2622/0x4110 fs/ext4/inode.c:2854 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2340 __writeback_single_inode+0x20a/0x1620 fs/fs-writeback.c:1323 writeback_sb_inodes+0x71f/0x11d0 fs/fs-writeback.c:1587 __writeback_inodes_wb+0x1b9/0x340 fs/fs-writeback.c:1656 wb_writeback+0xa73/0xfc0 fs/fs-writeback.c:1765 wb_check_start_all fs/fs-writeback.c:1889 [inline] wb_do_writeback fs/fs-writeback.c:1915 [inline] wb_workfn+0xee9/0x1790 fs/fs-writeback.c:1949 process_one_work+0xc90/0x1b90 kernel/workqueue.c:2153 worker_thread+0x17f/0x1390 kernel/workqueue.c:2296 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Showing all locks held in the system: 1 lock held by khungtaskd/984: #0: 000000001c7b1d94 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435 4 locks held by rs:main Q:Reg/5274: #0: 000000009143068e (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1822 [inline] #0: 000000009143068e (&rq->lock){-.-.}, at: __schedule+0x236/0x1ed0 kernel/sched/core.c:3411 #1: 0000000061baaa6c (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2761 [inline] #1: 0000000061baaa6c (sb_writers#3){.+.+}, at: vfs_write+0x42a/0x560 fs/read_write.c:548 #2: 00000000b45f6906 (&sb->s_type->i_mutex_key#10){++++}, at: inode_trylock include/linux/fs.h:758 [inline] #2: 00000000b45f6906 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_file_write_iter+0x2a1/0x1420 fs/ext4/file.c:232 #3: 000000001c7b1d94 (rcu_read_lock){....}, at: find_get_entry+0x0/0xc40 include/linux/compiler.h:188 1 lock held by rsyslogd/5276: #0: 000000008735acc0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5366: #0: 00000000882e5bb0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001377b086 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5367: #0: 000000006ff05899 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000009b7bf160 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5368: #0: 00000000ebc941e2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e33fdf8d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5369: #0: 00000000e5c83e6f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000456e4003 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5370: #0: 000000004070354b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f3296063 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5371: #0: 00000000a8efa325 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000067277e0d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5372: #0: 00000000c88929b0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e3bdad3a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 5 locks held by kworker/u4:3/19292: #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000830e80c2 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 000000005bed9fee ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 #2: 00000000b17efd83 (&type->s_umount_key#30){++++}, at: trylock_super+0x22/0x110 fs/super.c:412 #3: 000000000dc45960 (&sbi->s_journal_flag_rwsem){.+.+}, at: do_writepages+0x9a/0x1a0 mm/page-writeback.c:2340 #4: 0000000025feb231 (&ei->i_data_sem){++++}, at: ext4_map_blocks+0x88f/0x1b50 fs/ext4/inode.c:629 5 locks held by syz-executor2/32187: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 984 Comm: khungtaskd Not tainted 4.19.0-rc7+ #264 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.123 msecs NMI backtrace for cpu 1 CPU: 1 PID: 32187 Comm: syz-executor2 Not tainted 4.19.0-rc7+ #264 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x50 kernel/kcov.c:106 Code: 14 83 7e 81 e2 00 01 1f 00 48 8b 75 08 75 2b 8b 90 d0 12 00 00 83 fa 02 75 20 48 8b 88 d8 12 00 00 8b 80 d4 12 00 00 48 8b 11 <48> 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 5d c3 0f 1f 00 55 RSP: 0018:ffff88019746f178 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8801c82dcdd8 RCX: ffffc90005eba000 RDX: 000000000003ffff RSI: ffffffff820feadd RDI: 0000000000000004 RBP: ffff88019746f178 R08: ffff88019df3c1c0 R09: 1ffffffff1273965 R10: ffffed003b5e4732 R11: ffff8801daf23993 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f7467d67700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001d8a7b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_ext_drop_refs+0xbd/0xf0 fs/ext4/extents.c:718 mext_check_coverage.constprop.13+0x27b/0x510 fs/ext4/move_extent.c:105 move_extent_per_page fs/ext4/move_extent.c:323 [inline] ext4_move_extents+0x2784/0x3c20 fs/ext4/move_extent.c:669 ext4_ioctl+0x3154/0x4210 fs/ext4/ioctl.c:799 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7467d66c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000300 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7467d676d4 R13: 00000000004bf5c9 R14: 00000000004cf460 R15: 00000000ffffffff