[ 5980] 0 5980 17618 15200 37 4 0 0 syz-executor2 [ 5997] 0 5997 82 1 5 3 0 -1000 blkid [ 5999] 0 5999 17552 8220 22 3 0 1000 syz-executor3 Out of memory: Kill process 14370 (syz-executor2) score 1007 or sacrifice child Killed process 14370 (syz-executor2) total-vm:70472kB, anon-rss:18068kB, file-rss:32640kB, shmem-rss:0kB INFO: task init:865 blocked for more than 140 seconds. Not tainted 4.14.87+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 865 1 0x00000000 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 chrdev_open+0x20d/0x570 fs/char_dev.c:417 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0x5f9/0x2930 fs/namei.c:3597 do_filp_open+0x197/0x270 fs/namei.c:3631 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fd123978120 RSP: 002b:00007ffdadc53bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001906f40 RCX: 00007fd123978120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdadc53d30 R15: 0000000001906f48 INFO: task init:866 blocked for more than 140 seconds. Not tainted 4.14.87+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 866 1 0x00000000 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 chrdev_open+0x20d/0x570 fs/char_dev.c:417 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0x5f9/0x2930 fs/namei.c:3597 do_filp_open+0x197/0x270 fs/namei.c:3631 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fd123978120 RSP: 002b:00007ffdadc53bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000019070e0 RCX: 00007fd123978120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdadc53d30 R15: 00000000019070e8 INFO: task init:867 blocked for more than 140 seconds. Not tainted 4.14.87+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 867 1 0x00000000 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 chrdev_open+0x20d/0x570 fs/char_dev.c:417 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0x5f9/0x2930 fs/namei.c:3597 do_filp_open+0x197/0x270 fs/namei.c:3631 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fd123978120 RSP: 002b:00007ffdadc53bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001907350 RCX: 00007fd123978120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdadc53d30 R15: 0000000001907358 INFO: task init:868 blocked for more than 140 seconds. Not tainted 4.14.87+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 868 1 0x00000000 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 chrdev_open+0x20d/0x570 fs/char_dev.c:417 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0x5f9/0x2930 fs/namei.c:3597 do_filp_open+0x197/0x270 fs/namei.c:3631 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fd123978120 RSP: 002b:00007ffdadc53bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000019071b0 RCX: 00007fd123978120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdadc53d30 R15: 00000000019071b8 INFO: task init:1062 blocked for more than 140 seconds. Not tainted 4.14.87+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 1062 1 0x00000000 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 chrdev_open+0x20d/0x570 fs/char_dev.c:417 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0x5f9/0x2930 fs/namei.c:3597 do_filp_open+0x197/0x270 fs/namei.c:3631 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fd123978120 RSP: 002b:00007ffdadc53bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001907010 RCX: 00007fd123978120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdadc53d30 R15: 0000000001907018 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541 1 lock held by rsyslogd/1629: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 2 locks held by getty/1757: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1ff/0x1700 drivers/tty/n_tty.c:2156 1 lock held by init/865: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 1 lock held by init/866: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 1 lock held by init/867: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 1 lock held by init/868: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 1 lock held by init/1062: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1927 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x3a8/0x980 drivers/tty/tty_io.c:2011 2 locks held by syz-executor5/6161: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1545 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xa0 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+0xfd/0x1c0 fs/open.c:61 2 locks held by syz-executor1/6160: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1545 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xa0 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+0xfd/0x1c0 fs/open.c:61 1 lock held by syz-executor4/6156: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.87+ #21 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 nmi_cpu_backtrace.cold.0+0x47/0x85 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x574/0xa70 kernel/hung_task.c:252 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 32 Comm: kswapd0 Not tainted 4.14.87+ #21 task: ffff8881da322f00 task.stack: ffff8881d9db8000 RIP: 0010:perf_trace_lock+0x15/0x4c0 include/trace/events/lock.h:39 RSP: 0018:ffff8881d9dbf618 EFLAGS: 00000082 RAX: 1ffff1103ab42293 RBX: 1ffff1103b3b7eca RCX: 1ffffffff1115884 RDX: dffffc0000000000 RSI: ffffffff88ad32a0 RDI: ffffffff88ac0000 RBP: ffff8881d9dbf628 R08: 0000000000000000 R09: 0000000000000000 R10: ffff8881da323730 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffffff867f5350 R14: ffffffff88ad32a0 R15: ffffffff88ad32a0 FS: 0000000000000000(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff6496cdd8 CR3: 0000000113426005 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x4dc/0x720 kernel/locking/lockdep.c:4009 rcu_lock_release include/linux/rcupdate.h:249 [inline] rcu_read_unlock include/linux/rcupdate.h:687 [inline] page_evictable+0x143/0x200 mm/vmscan.c:3969 shrink_active_list+0x44f/0xc80 mm/vmscan.c:2027 shrink_list mm/vmscan.c:2171 [inline] shrink_node_memcg+0x641/0x12e0 mm/vmscan.c:2438 shrink_node+0x301/0xbf0 mm/vmscan.c:2630 kswapd_shrink_node mm/vmscan.c:3296 [inline] balance_pgdat mm/vmscan.c:3402 [inline] kswapd+0x947/0x14b0 mm/vmscan.c:3621 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Code: e9 23 fd ff ff 4c 89 e7 e8 39 96 33 00 e9 da fe ff ff 0f 1f 40 00 48 ba 00 00 00 00 00 fc ff df 55 48 89 e5 41 57 49 89 f7 41 56 <4c> 8d 75 d8 41 55 49 89 fd 48 83 ef 80 41 54 4c 8d a5 38 ff ff