[16162] 0 16162 17585 8563 25 4 0 1000 syz-executor3 [16166] 0 16166 2097 24 9 3 0 -1000 blkid [16167] 0 16167 17585 10560 27 4 0 1000 syz-executor0 Out of memory: Kill process 16151 (syz-executor4) score 1010 or sacrifice child Killed process 16151 (syz-executor4) total-vm:70736kB, anon-rss:11984kB, file-rss:52252kB, shmem-rss:0kB INFO: task init:14114 blocked for more than 140 seconds. Not tainted 4.14.87+ #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29016 14114 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:0x7f61aee98120 RSP: 002b:00007ffdba0a97e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001a09010 RCX: 00007f61aee98120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdba0a9960 R15: 0000000001a09018 INFO: task init:14116 blocked for more than 140 seconds. Not tainted 4.14.87+ #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29016 14116 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:0x7f61aee98120 RSP: 002b:00007ffdba0a97e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001a090e0 RCX: 00007f61aee98120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdba0a9960 R15: 0000000001a090e8 INFO: task init:14120 blocked for more than 140 seconds. Not tainted 4.14.87+ #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29016 14120 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:0x7f61aee98120 RSP: 002b:00007ffdba0a97e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001a09350 RCX: 00007f61aee98120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffdba0a9960 R15: 0000000001a09358 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/1616: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 2 locks held by getty/1744: #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/14114: #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/14116: #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/14120: #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/14252: #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/14258: #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 syz-executor1/16160: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor3/16162: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor0/16167: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor0/16171: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x868/0xb60 arch/x86/mm/fault.c:1361 1 lock held by syz-executor5/16173: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x868/0xb60 arch/x86/mm/fault.c:1361 1 lock held by syz-executor5/16178: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor2/16177: #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+ #19 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: 16175 Comm: blkid Not tainted 4.14.87+ #19 task: ffff88805b6b2f00 task.stack: ffff88811e4c8000 RIP: 0010:__rwlock_init+0xee/0x140 kernel/locking/spinlock_debug.c:47 RSP: 0018:ffff88811e4cfab8 EFLAGS: 00000202 RAX: 0000000000000004 RBX: ffff8881d1d6ab08 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8881d1d6ab14 RBP: ffffffff862c0e80 R08: 0000000056e11252 R09: 0000000000000000 R10: ffff88805b6b3730 R11: 0000000000000001 R12: ffffffff87df0060 R13: ffff88811e4cfe90 R14: ffff88811e4cfe90 R15: ffff88805b6b2f00 FS: 00007f3977287740(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000731000 CR3: 000000002c32a002 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: get_empty_filp+0x166/0x380 fs/file_table.c:136 path_openat+0xad/0x2930 fs/namei.c:3573 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:0x7f3976b8f1c8 RSP: 002b:00007ffcec4fee80 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffcec4ff430 RCX: 00007f3976b8f1c8 RDX: 0000000000000000 RSI: 00007f3976e65ea0 RDI: 0000000000000004 RBP: 00007f3976e67064 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3976e65ea0 R13: 0000000000000000 R14: 00007f3977070820 R15: 00007f3976e662a2 Code: 02 00 75 63 48 8d 7b 0c 48 c7 43 10 ff ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 <83> c0 03 38 d0 7c 04 84 d2 75 0c c7 43 0c ff ff ff ff 5b 5d 41