[18116] 0 18116 17618 12747 33 5 0 1000 syz-executor1 [18123] 0 18123 17618 8217 25 4 0 1000 syz-executor5 Out of memory: Kill process 18098 (syz-executor3) score 1007 or sacrifice child Killed process 18098 (syz-executor3) total-vm:70604kB, anon-rss:11676kB, file-rss:42192kB, shmem-rss:0kB oom_reaper: reaped process 18098 (syz-executor3), now anon-rss:11692kB, file-rss:10844kB, shmem-rss:0kB INFO: task init:12525 blocked for more than 140 seconds. Not tainted 4.14.78+ #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29112 12525 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:0x7f3444593120 RSP: 002b:00007ffce7a53768 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000002064f40 RCX: 00007f3444593120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffce7a538e0 R15: 0000000002064f48 INFO: task init:12526 blocked for more than 140 seconds. Not tainted 4.14.78+ #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 12526 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:0x7f3444593120 RSP: 002b:00007ffce7a53768 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000002065010 RCX: 00007f3444593120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffce7a538e0 R15: 0000000002065018 INFO: task init:12527 blocked for more than 140 seconds. Not tainted 4.14.78+ #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 12527 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:0x7f3444593120 RSP: 002b:00007ffce7a53768 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000020650e0 RCX: 00007f3444593120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffce7a538e0 R15: 00000000020650e8 INFO: task init:12528 blocked for more than 140 seconds. Not tainted 4.14.78+ #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 12528 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:0x7f3444593120 RSP: 002b:00007ffce7a53768 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000020651b0 RCX: 00007f3444593120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffce7a538e0 R15: 00000000020651b8 INFO: task init:12529 blocked for more than 140 seconds. Not tainted 4.14.78+ #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 12529 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:0x7f3444593120 RSP: 002b:00007ffce7a53768 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000002065280 RCX: 00007f3444593120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffce7a538e0 R15: 0000000002065288 INFO: task init:12530 blocked for more than 140 seconds. Not tainted 4.14.78+ #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29352 12530 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:0x7f3444593120 RSP: 002b:00007ffce7a53768 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000002065350 RCX: 00007f3444593120 RDX: 0000000000000010 RSI: 0000000000000902 RDI: 00000000004072c8 RBP: 0000000000000000 R08: 0000000000407370 R09: 0000000000000001 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000902 R13: 0000000000000102 R14: 00007ffce7a538e0 R15: 0000000002065358 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/0x15e0 drivers/tty/n_tty.c:2142 1 lock held by init/12525: #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/12526: #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/12527: #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/12528: #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/12529: #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/12530: #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 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.78+ #25 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: 18167 Comm: syz-executor3 Not tainted 4.14.78+ #25 task: ffff8801d0a21780 task.stack: ffff880102678000 RIP: 0010:debug_lockdep_rcu_enabled+0x6a/0x90 kernel/rcu/update.c:299 RSP: 0018:ffff88010267f528 EFLAGS: 00000097 RAX: 0000000000000001 RBX: 1ffff100204cfea9 RCX: 00000000ffffffff RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffffffffa920be80 RBP: ffff8801d0a21780 R08: 1ffff1003acaba5b R09: 0000000000000000 R10: ffff8801d0a21fb0 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffea0004620120 R14: ffffffffa9420998 R15: ffffea0004620100 FS: 00007fbaa98e5700(0000) GS:ffff8801d7600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000129a740 CR3: 0000000206822002 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+0x41d/0x720 kernel/locking/lockdep.c:4009 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:166 [inline] _raw_spin_unlock_irq+0x17/0x50 kernel/locking/spinlock.c:200 spin_unlock_irq include/linux/spinlock.h:367 [inline] __munlock_pagevec+0x282/0x9b0 mm/mlock.c:322 munlock_vma_pages_range+0x4c7/0x580 mm/mlock.c:493 munlock_vma_pages_all mm/internal.h:293 [inline] exit_mmap+0x183/0x420 mm/mmap.c:3052 __mmput kernel/fork.c:929 [inline] mmput+0xc8/0x350 kernel/fork.c:950 exit_mm kernel/exit.c:544 [inline] do_exit+0x83b/0x2800 kernel/exit.c:852 do_group_exit+0x100/0x2e0 kernel/exit.c:968 get_signal+0x4e5/0x1470 kernel/signal.c:2348 do_signal+0x8f/0x1660 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x116/0x150 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:267 [inline] do_syscall_64+0x35d/0x4b0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457569 RSP: 002b:00007fbaa98e4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: 0000000020000000 RBX: 0000000000000006 RCX: 0000000000457569 RDX: fffffffffffffffb RSI: 0000000000e7e000 RDI: 0000000020000000 RBP: 000000000072c0e0 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000031 R11: 0000000000000246 R12: 00007fbaa98e56d4 R13: 00000000004c2836 R14: 00000000004d3bd0 R15: 00000000ffffffff Code: 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 19 8b 05 06 d0 3c 02 <85> c0 74 05 e9 3d ff ff ff 31 c0 c3 e8 55 c8 2e 00 eb b0 e8 4e