[21986] 0 21986 17585 9835 26 4 0 1000 syz-executor5 Out of memory: Kill process 21977 (syz-executor2) score 1009 or sacrifice child Killed process 21977 (syz-executor2) total-vm:70472kB, anon-rss:17776kB, file-rss:48824kB, shmem-rss:0kB oom_reaper: reaped process 21977 (syz-executor2), now anon-rss:17832kB, file-rss:16792kB, shmem-rss:0kB INFO: task init:17408 blocked for more than 140 seconds. Not tainted 4.14.78+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29112 17408 1 0x00000000 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_timeout+0x710/0xe60 kernel/time/timer.c:1721 __down_common kernel/locking/semaphore.c:221 [inline] __down+0x180/0x2a0 kernel/locking/semaphore.c:238 down+0x58/0x70 kernel/locking/semaphore.c:62 console_lock+0x24/0x70 kernel/printk/printk.c:2056 console_device+0x17/0xb0 kernel/printk/printk.c:2343 tty_lookup_driver+0x17a/0x210 drivers/tty/tty_io.c:1833 tty_open_by_driver drivers/tty/tty_io.c:1928 [inline] tty_open+0x3b9/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:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 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:0x7ff1bd743120 RSP: 002b:00007ffe4923aca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001988f40 RCX: 00007ff1bd743120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffe4923ae20 R15: 0000000001988f48 INFO: task init:17409 blocked for more than 140 seconds. Not tainted 4.14.78+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 17409 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:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 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:0x7ff1bd743120 RSP: 002b:00007ffe4923aca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001989010 RCX: 00007ff1bd743120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffe4923ae20 R15: 0000000001989018 INFO: task init:17410 blocked for more than 140 seconds. Not tainted 4.14.78+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 17410 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:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 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:0x7ff1bd743120 RSP: 002b:00007ffe4923aca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000019891b0 RCX: 00007ff1bd743120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffe4923ae20 R15: 00000000019891b8 INFO: task init:17411 blocked for more than 140 seconds. Not tainted 4.14.78+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 17411 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:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 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:0x7ff1bd743120 RSP: 002b:00007ffe4923aca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001989280 RCX: 00007ff1bd743120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffe4923ae20 R15: 0000000001989288 INFO: task init:17412 blocked for more than 140 seconds. Not tainted 4.14.78+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 17412 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:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 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:0x7ff1bd743120 RSP: 002b:00007ffe4923aca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001989350 RCX: 00007ff1bd743120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffe4923ae20 R15: 0000000001989358 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/1639: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 2 locks held by getty/1767: #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/0x15e0 drivers/tty/n_tty.c:2142 1 lock held by init/17408: #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/17409: #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/17410: #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/17411: #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/17412: #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-executor3/21978: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor4/21985: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor4/21992: #0: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #0: (sb_writers#4){.+.+}, at: [] do_sendfile+0x9b5/0xb50 fs/read_write.c:1437 1 lock held by syz-executor2/21990: #0: (&mm->mmap_sem){++++}, at: [] vm_mmap_pgoff+0x14f/0x1d0 mm/util.c:331 1 lock held by syz-executor2/21991: #0: (&mm->mmap_sem){++++}, at: [] __mm_populate+0x206/0x300 mm/gup.c:1247 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.78+ #23 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:138 [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: 1857 Comm: syz-executor5 Not tainted 4.14.78+ #23 task: ffff8801d0190000 task.stack: ffff8801a2dd8000 RIP: 0010:switch_mm_irqs_off+0x5d/0xcd0 arch/x86/mm/tlb.c:214 RSP: 0018:ffff8801a2ddfb40 EFLAGS: 00000046 RAX: 00000001a2e1e003 RBX: ffff8801d2973180 RCX: 1ffff10039d5fe7a RDX: dffffc0000000000 RSI: ffffffffb6950d40 RDI: ffff8801ceaff3d0 RBP: ffff8801ceaff380 R08: ffff8801dba2a2e0 R09: 0000000000000000 R10: dffffc0000000000 R11: 0000000000000001 R12: ffff8801d0298000 R13: ffff8801ceaff380 R14: ffff8801d2970002 R15: ffff8801d0298000 FS: 00000000013c3940(0000) GS:ffff8801dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f520000 CR3: 00000001a2e1e003 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: context_switch kernel/sched/core.c:2840 [inline] __schedule+0x688/0x1ed0 kernel/sched/core.c:3446 schedule+0x7f/0x1b0 kernel/sched/core.c:3490 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x201/0x630 kernel/time/hrtimer.c:1519 hrtimer_nanosleep+0x1ea/0x470 kernel/time/hrtimer.c:1573 SYSC_nanosleep kernel/time/hrtimer.c:1605 [inline] SyS_nanosleep+0x127/0x190 kernel/time/hrtimer.c:1592 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x483060 RSP: 002b:00007ffdd54afb78 EFLAGS: 00000246 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 00000000000ae76e RCX: 0000000000483060 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffdd54afb80 RBP: 0000000000000788 R08: 0000000000000001 R09: 00000000013c3940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00000000000ae28f R14: 0000000000000212 R15: 0000000000000005 Code: 00 00 f6 c4 02 0f 85 fd 07 00 00 0f 20 d8 0f 1f 40 00 48 8d 7d 50 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 <0f> 85 2d 0a 00 00 49 c7 c4 64 31 23 b7 48 8b 55 50 48 be 00 00