INFO: task jbd2/sda1-8:2301 blocked for more than 140 seconds. Not tainted 4.18.0-rc5+ #151 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. jbd2/sda1-8 D16776 2301 2 0x80000000 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 jbd2_journal_commit_transaction+0xccf/0x8c54 fs/jbd2/commit.c:434 kjournald2+0x274/0xb50 fs/jbd2/journal.c:229 kthread+0x345/0x410 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 INFO: task kworker/u4:4:6720 blocked for more than 140 seconds. Not tainted 4.18.0-rc5+ #151 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:4 D13496 6720 2 0x80000000 Workqueue: writeback wb_workfn (flush-8:0) Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 wait_transaction_locked+0x24d/0x310 fs/jbd2/transaction.c:159 add_transaction_credits+0x550/0xe90 fs/jbd2/transaction.c:187 start_this_handle+0x427/0x1260 fs/jbd2/transaction.c:357 jbd2__journal_start+0x3cb/0xa80 fs/jbd2/transaction.c:439 __ext4_journal_start_sb+0x182/0x600 fs/ext4/ext4_jbd2.c:81 __ext4_journal_start fs/ext4/ext4_jbd2.h:311 [inline] ext4_writepages+0x180a/0x4080 fs/ext4/inode.c:2838 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2341 __writeback_single_inode+0x1ec/0x15e0 fs/fs-writeback.c:1323 writeback_sb_inodes+0x71f/0x11d0 fs/fs-writeback.c:1587 __writeback_inodes_wb+0x1b8/0x340 fs/fs-writeback.c:1656 wb_writeback+0x9f1/0xf80 fs/fs-writeback.c:1765 wb_check_old_data_flush fs/fs-writeback.c:1867 [inline] wb_do_writeback fs/fs-writeback.c:1920 [inline] wb_workfn+0xfb7/0x1760 fs/fs-writeback.c:1949 process_one_work+0xc73/0x1ba0 kernel/workqueue.c:2153 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296 kthread+0x345/0x410 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 INFO: task syz-executor0:32111 blocked for more than 140 seconds. Not tainted 4.18.0-rc5+ #151 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24136 32111 4572 0x00000004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726 jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103 ext4_create+0x473/0x640 fs/ext4/namei.c:2458 lookup_open+0x13eb/0x1b40 fs/namei.c:3220 do_last fs/namei.c:3311 [inline] path_openat+0x1343/0x4e10 fs/namei.c:3540 do_filp_open+0x255/0x380 fs/namei.c:3574 do_sys_open+0x584/0x760 fs/open.c:1101 ksys_open include/linux/syscalls.h:1274 [inline] __do_sys_creat fs/open.c:1159 [inline] __se_sys_creat fs/open.c:1157 [inline] __x64_sys_creat+0x61/0x80 fs/open.c:1157 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455ab9 Code: e0 1f 48 89 04 24 e8 b6 6f fd ff e8 81 6a fd ff e8 5c 68 fd ff 48 8d 05 1c c1 48 00 48 89 04 24 48 c7 44 24 08 1d 00 00 00 e8 <13> 5e fd ff 0f 0b e8 8c 44 00 00 e9 07 f0 ff ff cc cc cc cc cc cc RSP: 002b:00007f95cb785c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f95cb7866d4 RCX: 0000000000455ab9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000201d3ff4 RBP: 000000000072c098 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004bb9a6 R14: 00000000004c8f68 R15: 0000000000000003 Showing all locks held in the system: 1 lock held by khungtaskd/901: #0: 000000006ab96190 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 3 locks held by rs:main Q:Reg/4430: #0: 00000000e8dff1ef (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 000000007911cc61 (sb_writers#6){.+.+}, at: file_start_write include/linux/fs.h:2737 [inline] #1: 000000007911cc61 (sb_writers#6){.+.+}, at: vfs_write+0x452/0x560 fs/read_write.c:548 #2: 00000000212fef07 (&sb->s_type->i_mutex_key#12){++++}, at: inode_trylock include/linux/fs.h:735 [inline] #2: 00000000212fef07 (&sb->s_type->i_mutex_key#12){++++}, at: ext4_file_write_iter+0x2a1/0x1430 fs/ext4/file.c:232 1 lock held by rsyslogd/4432: #0: 0000000005b93e0b (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/4522: #0: 00000000e5da46f5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000ff83f30c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4523: #0: 000000000e19ccf0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000087ecbdaa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4524: #0: 000000009f9e0666 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b61c85b4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4525: #0: 00000000229b7a84 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000089947a98 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4526: #0: 00000000516c4921 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000005a565659 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4527: #0: 000000005a218b5d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000062b276b5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4528: #0: 00000000a1369546 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000088129794 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 4 locks held by kworker/u4:4/6720: #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000d2c44f19 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124 #1: 0000000057aa2111 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128 #2: 0000000065847a55 (&type->s_umount_key#29){++++}, at: trylock_super+0x22/0x110 fs/super.c:409 #3: 0000000089d79b28 (&sbi->s_journal_flag_rwsem){++++}, at: do_writepages+0x9a/0x1a0 mm/page-writeback.c:2341 3 locks held by syz-executor0/32109: 2 locks held by syz-executor0/32111: #0: 000000007911cc61 (sb_writers#6){.+.+}, at: sb_start_write include/linux/fs.h:1554 [inline] #0: 000000007911cc61 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 000000004c056731 (&type->i_mutex_dir_key){++++}, at: inode_lock include/linux/fs.h:715 [inline] #1: 000000004c056731 (&type->i_mutex_dir_key){++++}, at: do_last fs/namei.c:3308 [inline] #1: 000000004c056731 (&type->i_mutex_dir_key){++++}, at: path_openat+0x1316/0x4e10 fs/namei.c:3540 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 901 Comm: khungtaskd Not tainted 4.18.0-rc5+ #151 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+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 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:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x9c4/0xf80 kernel/hung_task.c:252 kthread+0x345/0x410 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54