binder: 20883:20883 ioctl 4018620d 200000c0 returned -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 20884:20884 ioctl 4018620d 200000c0 returned -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 20885:20885 ioctl 4018620d 200000c0 returned -16 INFO: task kworker/0:0:2222 blocked for more than 140 seconds. Not tainted 4.9.179+ #2 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:0 D29096 2222 2 0x80000000 Workqueue: events binder_deferred_func 0000000000000087 ffff8801cacd5f00 ffff8801cb789080 ffff8801db621000 ffff8801cb158000 ffff8801db621018 ffff8801cad07a08 ffffffff82808b9e ffff8801cacd67b0 1ffff100395a0f2a 0000000000000046 ffff8801db6218f0 Call Trace: [<000000001cef0bbf>] schedule+0x92/0x1c0 kernel/sched/core.c:3546 [<000000006b149b66>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3579 [<000000004970cfb1>] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [<000000004970cfb1>] mutex_lock_nested+0x38d/0x920 kernel/locking/mutex.c:621 [<00000000ffc91b60>] binder_deferred_release drivers/android/binder.c:5361 [inline] [<00000000ffc91b60>] binder_deferred_func+0x3a1/0xde0 drivers/android/binder.c:5469 [<000000006d65559c>] process_one_work+0x88b/0x1600 kernel/workqueue.c:2114 [<00000000640689a5>] worker_thread+0x5df/0x11d0 kernel/workqueue.c:2251 [<0000000049896cf7>] kthread+0x278/0x310 kernel/kthread.c:211 [<000000009ccc54ca>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 Showing all locks held in the system: 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [<000000006ec8d8e0>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline] #0: (rcu_read_lock){......}, at: [<000000006ec8d8e0>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263 #1: (tasklist_lock){.+.+..}, at: [<0000000093cccb30>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/1895: #0: (&f->f_pos_lock){+.+.+.}, at: [<000000004b1fed0e>] __fdget_pos+0xa8/0xd0 fs/file.c:782 2 locks held by getty/2022: #0: (&tty->ldisc_sem){++++++}, at: [<0000000094ff9f6f>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+...}, at: [<00000000b83820b6>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 3 locks held by kworker/0:0/2222: #0: ("events"){.+.+.+}, at: [<00000000c9e8bfda>] process_one_work+0x790/0x1600 kernel/workqueue.c:2107 #1: (binder_deferred_work){+.+...}, at: [<00000000bf669c20>] process_one_work+0x7ce/0x1600 kernel/workqueue.c:2111 #2: (&binder_device->context.context_mgr_node_lock){+.+.+.}, at: [<00000000ffc91b60>] binder_deferred_release drivers/android/binder.c:5361 [inline] #2: (&binder_device->context.context_mgr_node_lock){+.+.+.}, at: [<00000000ffc91b60>] binder_deferred_func+0x3a1/0xde0 drivers/android/binder.c:5469 1 lock held by init/18838: #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/18839: #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/18840: #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/18841: #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/18843: #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/18844: #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e9433351>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.179+ #2 ffff8801d98d7cc8 ffffffff81b57391 0000000000000001 0000000000000000 0000000000000001 ffffffff81099901 dffffc0000000000 ffff8801d98d7d00 ffffffff81b6262c 0000000000000001 0000000000000000 0000000000000001 Call Trace: [<000000006a3e0bf5>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a3e0bf5>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000009b1ac8cb>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99 [<000000002b2b7ecb>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60 [<00000000247adca7>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [<000000005a4ea3f8>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [<000000005a4ea3f8>] check_hung_task kernel/hung_task.c:126 [inline] [<000000005a4ea3f8>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline] [<000000005a4ea3f8>] watchdog+0x670/0xaf0 kernel/hung_task.c:263 [<0000000049896cf7>] kthread+0x278/0x310 kernel/kthread.c:211 [<000000009ccc54ca>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2226 Comm: syz-executor873 Not tainted 4.9.179+ #2 task: 00000000a70a1884 task.stack: 0000000005f391b9 RIP: 0010:[] c [<00000000430c9ae6>] io_serial_in+0x6b/0x90 drivers/tty/serial/8250/8250_port.c:414 RSP: 0018:ffff8801cad376d8 EFLAGS: 00000002 RAX: dffffc0000000020 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff81d76ee1 RDI: ffffffff84b65d18 RBP: ffff8801cad376e8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffffffff841d4599 R12: ffffffff84b65ce0 R13: 0000000000000020 R14: fffffbfff096cbe3 R15: fffffbfff096cba5 FS: 0000000001e05880(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004c3588 CR3: 00000001cb1ab000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff84b65ce0c 0000000000002707c ffff8801cad37738c ffffffff81d79184c ffffffff841d4561c ffffffff84b65d28c ffffffff84b65f1ac ffffffff841d455bc ffffffff84b65ce0c 0000000000000070c dffffc0000000000c 0000000000000070c Call Trace: [<000000004b138d4d>] serial_in drivers/tty/serial/8250/8250.h:111 [inline] [<000000004b138d4d>] wait_for_xmitr+0x94/0x1e0 drivers/tty/serial/8250/8250_port.c:1997 [<000000000eb2e298>] serial8250_console_putchar+0x20/0x60 drivers/tty/serial/8250/8250_port.c:3103 [<000000001af10681>] uart_console_write+0x56/0xe0 drivers/tty/serial/serial_core.c:1886 [<0000000034d8dea1>] serial8250_console_write+0x2fb/0x860 drivers/tty/serial/8250/8250_port.c:3169 [<000000007733de92>] univ8250_console_write+0x5f/0x70 drivers/tty/serial/8250/8250_core.c:594 [<000000004f3603f5>] call_console_drivers.isra.0.constprop.0+0x1ac/0x360 kernel/printk/printk.c:1594 [<000000008eebf6f5>] console_unlock+0x47c/0xb20 kernel/printk/printk.c:2454 [<00000000e5faef8a>] vprintk_emit+0x43f/0x6f0 kernel/printk/printk.c:1908 [<0000000049a036cd>] vprintk+0x28/0x30 kernel/printk/printk.c:1918 [<00000000b792ce76>] vprintk_func kernel/printk/internal.h:36 [inline] [<00000000b792ce76>] printk+0xc2/0xf5 kernel/printk/printk.c:1980 [<00000000d9bbf1b4>] binder_ioctl_set_ctx_mgr.isra.0.cold+0x17/0x1c drivers/android/binder.c:4874 [<00000000771de8a0>] binder_ioctl+0xd0e/0x1720 drivers/android/binder.c:5022 [<00000000532823b9>] vfs_ioctl fs/ioctl.c:43 [inline] [<00000000532823b9>] file_ioctl fs/ioctl.c:493 [inline] [<00000000532823b9>] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [<0000000067f4a23e>] SYSC_ioctl fs/ioctl.c:694 [inline] [<0000000067f4a23e>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [<000000004bab7d3b>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000717ae0fe>] 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 ce8 c57 c78 cff ceb cc2 ce8 c41 c58 c78 cff ceb c