INFO: task khugepaged:1083 blocked for more than 143 seconds. Not tainted 5.4.0-rc4-next-20191024 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. khugepaged D27840 1083 2 0x80004000 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x94a/0x1e70 kernel/sched/core.c:4069 schedule+0xd9/0x260 kernel/sched/core.c:4136 io_schedule+0x1c/0x70 kernel/sched/core.c:5780 wait_on_page_bit_common mm/filemap.c:1175 [inline] __lock_page+0x422/0xab0 mm/filemap.c:1383 lock_page include/linux/pagemap.h:480 [inline] mpage_prepare_extent_to_map+0xb3f/0xf90 fs/ext4/inode.c:2668 ext4_writepages+0xb6a/0x2e70 fs/ext4/inode.c:2866 ? 0xffffffff81000000 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x2bc/0x3b0 mm/filemap.c:421 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x24/0x30 mm/filemap.c:456 collapse_file+0x36b1/0x41a0 mm/khugepaged.c:1652 khugepaged_scan_file mm/khugepaged.c:1890 [inline] khugepaged_scan_mm_slot mm/khugepaged.c:1988 [inline] khugepaged_do_scan mm/khugepaged.c:2072 [inline] khugepaged+0x2da9/0x4360 mm/khugepaged.c:2117 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 4 locks held by kworker/u4:4/667: #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff88821b32d928 ((wq_completion)writeback){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: ffff8880a8087dc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 #2: ffff8882158440d8 (&type->s_umount_key#32){++++}, at: trylock_super+0x22/0x110 fs/super.c:418 #3: ffff888215846990 (&sbi->s_journal_flag_rwsem){.+.+}, at: do_writepages+0xfa/0x2a0 mm/page-writeback.c:2344 1 lock held by khungtaskd/975: #0: ffffffff88faba80 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 kernel/locking/lockdep.c:5336 1 lock held by khugepaged/1083: #0: ffff888215846990 (&sbi->s_journal_flag_rwsem){.+.+}, at: do_writepages+0xfa/0x2a0 mm/page-writeback.c:2344 3 locks held by udevd/3885: 1 lock held by rsyslogd/8595: #0: ffff88809a609160 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8685: #0: ffff88809c9ec090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f3d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/8686: #0: ffff88808dc99090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f252e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/8687: #0: ffff8880a48be090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f352e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/8688: #0: ffff8880a0bd1090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/8689: #0: ffff8880a1edd090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/8690: #0: ffff8880938b3090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f412e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/8691: #0: ffff8880a7e61090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f112e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.1/8729: 3 locks held by syz-executor.5/8734: 2 locks held by syz-executor.4/29439: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 3 locks held by syz-executor.1/29460: 2 locks held by syz-executor.4/29463: 2 locks held by syz-executor.3/29466: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 1 lock held by syz-executor.3/29484: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 2 locks held by syz-executor.0/29488: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 2 locks held by syz-executor.0/29508: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 2 locks held by syz-executor.0/29528: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 1 lock held by syz-executor.5/29548: #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 1 lock held by syz-executor.4/29549: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 4 locks held by syz-executor.0/29562: 2 locks held by syz-executor.2/29572: 3 locks held by syz-executor.4/29573: 2 locks held by syz-executor.1/29579: 2 locks held by syz-executor.5/29580: 2 locks held by syz-executor.0/29582: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 2 locks held by syz-executor.5/29601: #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 2 locks held by syz-executor.3/29618: #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae934d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 1 lock held by syz-executor.0/29629: 2 locks held by syz-executor.5/29633: #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 #1: ffffffff88faba80 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88faba80 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8d0 kernel/sched/fair.c:860 1 lock held by syz-executor.4/29648: #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae834d58 (&rq->lock){-.-.}, at: __schedule+0x266/0x1e70 kernel/sched/core.c:4017 1 lock held by syz-executor.1/29659: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 975 Comm: khungtaskd Not tainted 5.4.0-rc4-next-20191024 #0 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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:269 [inline] watchdog+0xc8f/0x1350 kernel/hung_task.c:353 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29680 Comm: syz-executor.3 Not tainted 5.4.0-rc4-next-20191024 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_getblk+0x390/0x570 include/linux/err.h:26 Code: f9 ff 31 ff 41 89 c7 89 c6 e8 7c 3b 76 ff 45 85 ff 74 17 e8 f2 39 76 ff 48 89 df 49 63 df e8 e7 f7 ca ff eb 05 e8 e0 39 76 ff db 39 76 ff 48 b8 00 00 00 00 00 fc ff df 49 01 c5 48 89 d8 49 RSP: 0018:ffff88807fcaf9d0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888093f110a8 RCX: ffffffff81fd339a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff88807fcafa98 R08: ffff888095508640 R09: ffffed10127a5861 R10: ffffed10127a5860 R11: ffff888093d2c303 R12: 0000000000000000 R13: 1ffff1100ff95f3e R14: ffff888093e2f348 R15: 0000000000000000 FS: 0000000002013940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000758040 CR3: 000000009f25f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_bread+0x8f/0x390 fs/ext4/inode.c:1024 __ext4_read_dirblock+0x35/0xbe0 fs/ext4/namei.c:112 ext4_add_entry+0x7e9/0xe00 fs/ext4/namei.c:2214 ext4_add_nondir+0x28/0x90 fs/ext4/namei.c:2553 ext4_symlink+0xba6/0xf10 fs/ext4/namei.c:3331 vfs_symlink fs/namei.c:4123 [inline] vfs_symlink+0x373/0x5a0 fs/namei.c:4109 do_symlinkat+0x22b/0x290 fs/namei.c:4150 __do_sys_symlink fs/namei.c:4169 [inline] __se_sys_symlink fs/namei.c:4167 [inline] __x64_sys_symlink+0x59/0x80 fs/namei.c:4167 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459c27 Code: 0f 1f 00 b8 5c 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 6d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 4d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc6d1e0778 EFLAGS: 00000206 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000459c27 RDX: 00007ffc6d1e0813 RSI: 00000000004bf8e2 RDI: 00007ffc6d1e0800 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000013 R10: 0000000000000075 R11: 0000000000000206 R12: 0000000000000001 R13: 00007ffc6d1e07b0 R14: 0000000000000000 R15: 00007ffc6d1e07c0