binder: 20785:20792 ioctl 40046207 0 returned -16 binder_alloc: binder_alloc_mmap_handler: 20798 20001000-20004000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 20798:20801 ioctl 40046207 0 returned -16 binder_alloc: binder_alloc_mmap_handler: 20785 20001000-20004000 already mapped failed -16 INFO: task init:28596 blocked for more than 140 seconds. Not tainted 4.9.183+ #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D28872 28596 1 0x00000000 0000000000000083 ffff8801c4590000 ffff8801cb443180 ffff8801db721000 ffff8801d1b117c0 ffff8801db721018 ffff8801d39475a0 ffffffff8280a5be ffffffff810ae520 0000000000000000 0000000000000000 ffff8801db7218f0 Call Trace: [<00000000eeb27d9d>] schedule+0x92/0x1c0 kernel/sched/core.c:3546 [<00000000790bf87e>] schedule_timeout+0x766/0xe50 kernel/time/timer.c:1771 [<00000000452ed1d5>] __down_common kernel/locking/semaphore.c:221 [inline] [<00000000452ed1d5>] __down+0x190/0x2b0 kernel/locking/semaphore.c:238 [<00000000f9e62d2c>] down+0x64/0x90 kernel/locking/semaphore.c:61 [<00000000505b01af>] console_lock+0x2c/0x80 kernel/printk/printk.c:2217 [<0000000076b709f6>] console_device+0x1c/0xc0 kernel/printk/printk.c:2554 [<000000002d019a20>] tty_lookup_driver drivers/tty/tty_io.c:2018 [inline] [<000000002d019a20>] tty_open_by_driver drivers/tty/tty_io.c:2063 [inline] [<000000002d019a20>] tty_open+0x796/0xe10 drivers/tty/tty_io.c:2140 [<00000000fc162bde>] chrdev_open+0x230/0x630 fs/char_dev.c:398 [<00000000cbfa35c8>] do_dentry_open+0x422/0xd20 fs/open.c:772 [<0000000094246e59>] vfs_open+0x105/0x230 fs/open.c:885 [<000000002acbd2da>] do_last fs/namei.c:3457 [inline] [<000000002acbd2da>] path_openat+0xbf5/0x2f60 fs/namei.c:3581 [<00000000e96b45b8>] do_filp_open+0x1a1/0x280 fs/namei.c:3615 [<000000003808918b>] do_sys_open+0x2f0/0x610 fs/open.c:1078 [<000000000f2858e3>] SYSC_open fs/open.c:1096 [inline] [<000000000f2858e3>] SyS_open+0x2d/0x40 fs/open.c:1091 [<0000000055693b6d>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000cc856b2f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [<00000000fb22a4a1>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline] #0: (rcu_read_lock){......}, at: [<00000000fb22a4a1>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263 #1: (tasklist_lock){.+.+..}, at: [<000000003f23f951>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/1916: #0: (&f->f_pos_lock){+.+.+.}, at: [<0000000010e3ee9b>] __fdget_pos+0xa8/0xd0 fs/file.c:782 2 locks held by getty/2044: #0: (&tty->ldisc_sem){++++++}, at: [<0000000041790d53>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+...}, at: [<000000005d6ec473>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 1 lock held by init/28596: #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/28598: #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/28599: #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/28600: #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/28601: #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/28603: #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<000000002ac7798d>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 24 Comm: khungtaskd Not tainted 4.9.183+ #4 ffff8801d98efcc8 ffffffff81b580a1 0000000000000000 0000000000000000 0000000000000000 ffffffff81099a01 dffffc0000000000 ffff8801d98efd00 ffffffff81b6333c 0000000000000000 0000000000000000 0000000000000000 Call Trace: [<00000000a5854c1e>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000a5854c1e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000002e37e095>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99 [<00000000306c6ab9>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60 [<0000000084e9c9e6>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [<00000000889fc692>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [<00000000889fc692>] check_hung_task kernel/hung_task.c:126 [inline] [<00000000889fc692>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline] [<00000000889fc692>] watchdog+0x670/0xaf0 kernel/hung_task.c:263 [<00000000655ab22f>] kthread+0x278/0x310 kernel/kthread.c:211 [<000000005bddaed8>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2249 Comm: syz-executor011 Not tainted 4.9.183+ #4 task: 00000000bff9376f task.stack: 00000000120cb7d2 RIP: 0010:[] c [<00000000da416bc6>] io_serial_in+0x6b/0x90 drivers/tty/serial/8250/8250_port.c:414 RSP: 0018:ffff8801ccd7f728 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff81d77bd1 RDI: ffffffff84b65d18 RBP: ffff8801ccd7f738 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffffffff841d4599 R12: ffffffff84b65ce0 R13: 0000000000000020 R14: fffffbfff096cbe3 R15: fffffbfff096cba5 FS: 00007f5a10d65700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a10d64db8 CR3: 00000001c9cf4000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff84b65ce0c 000000000000270fc ffff8801ccd7f788c ffffffff81d79e74c ffffffff841d4561c ffffffff84b65d28c ffffffff84b65f1ac ffffffff841d4543c ffffffff84b65ce0c 0000000000000020c dffffc0000000000c 0000000000000020c Call Trace: [<00000000d4adff7c>] serial_in drivers/tty/serial/8250/8250.h:111 [inline] [<00000000d4adff7c>] wait_for_xmitr+0x94/0x1e0 drivers/tty/serial/8250/8250_port.c:1997 [<0000000026309804>] serial8250_console_putchar+0x20/0x60 drivers/tty/serial/8250/8250_port.c:3103 [<000000001f3f8b73>] uart_console_write+0x56/0xe0 drivers/tty/serial/serial_core.c:1880 [<00000000f40f0ed3>] serial8250_console_write+0x2fb/0x860 drivers/tty/serial/8250/8250_port.c:3169 [<0000000018dc87ac>] univ8250_console_write+0x5f/0x70 drivers/tty/serial/8250/8250_core.c:594 [<0000000083b71880>] call_console_drivers.isra.0.constprop.0+0x1ac/0x360 kernel/printk/printk.c:1594 [<00000000236b7760>] console_unlock+0x47c/0xb20 kernel/printk/printk.c:2454 [<00000000bfa1c2ca>] vprintk_emit+0x43f/0x6f0 kernel/printk/printk.c:1908 [<00000000eb8e9527>] vprintk+0x28/0x30 kernel/printk/printk.c:1918 [<00000000b95051db>] vprintk_func kernel/printk/internal.h:36 [inline] [<00000000b95051db>] printk+0xc2/0xf5 kernel/printk/printk.c:1980 [<00000000f6305c28>] binder_ioctl.cold+0x160/0x31f drivers/android/binder.c:5109 [<000000000d0358b9>] vfs_ioctl fs/ioctl.c:43 [inline] [<000000000d0358b9>] file_ioctl fs/ioctl.c:493 [inline] [<000000000d0358b9>] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [<00000000e9e9450a>] SYSC_ioctl fs/ioctl.c:694 [inline] [<00000000e9e9450a>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [<0000000055693b6d>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000cc856b2f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c24 cc9 c00 c00 c00 c49 c8d c7c c24 c38 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c48 c89 cfa c48 cc1 cea c03 cd3 ce3 c80 c3c c02 c00 c75 c17 c41 c03 c5c c24 c38 c89 cda cec c<5b> c0f cb6 cc0 c41 c5c c5d cc3 ce8 c38 c53 c78 cff ceb cc2 ce8 c91 c53 c78 cff ceb c