binder: 26092:26092 ioctl 4018620d 200000c0 returned -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 26093:26093 ioctl 4018620d 200000c0 returned -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 26096:26096 ioctl 4018620d 200000c0 returned -16 INFO: task kworker/1:1:22 blocked for more than 140 seconds. Not tainted 4.9.180+ #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:1 D26872 22 2 0x80000000 Workqueue: events binder_deferred_func 0000000000000087 ffff8801d9c20000 ffff8801c9a60000 ffff8801db721000 ffff8801ca422f80 ffff8801db721018 ffff8801d9c2fa08 ffffffff8280932e 0000000000000006 ffff8801d9c20000 00fffc0000000000 ffff8801db7218f0 Call Trace: [<000000005d18dff0>] schedule+0x92/0x1c0 kernel/sched/core.c:3546 [<00000000e52cdd01>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3579 [<00000000280af21d>] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [<00000000280af21d>] mutex_lock_nested+0x38d/0x920 kernel/locking/mutex.c:621 [<00000000fd9f5d70>] binder_deferred_release drivers/android/binder.c:5361 [inline] [<00000000fd9f5d70>] binder_deferred_func+0x3a1/0xde0 drivers/android/binder.c:5469 [<00000000b435b247>] process_one_work+0x88b/0x1600 kernel/workqueue.c:2114 [<00000000908290a5>] worker_thread+0x5df/0x11d0 kernel/workqueue.c:2251 [<00000000072e58f9>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000afacabdb>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 Showing all locks held in the system: 3 locks held by kworker/1:1/22: #0: ("events"){.+.+.+}, at: [<000000006518bcb8>] process_one_work+0x790/0x1600 kernel/workqueue.c:2107 #1: (binder_deferred_work){+.+...}, at: [<0000000060bc48ad>] process_one_work+0x7ce/0x1600 kernel/workqueue.c:2111 #2: (&binder_device->context.context_mgr_node_lock){+.+.+.}, at: [<00000000fd9f5d70>] binder_deferred_release drivers/android/binder.c:5361 [inline] #2: (&binder_device->context.context_mgr_node_lock){+.+.+.}, at: [<00000000fd9f5d70>] binder_deferred_func+0x3a1/0xde0 drivers/android/binder.c:5469 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [<00000000a7ddaf81>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline] #0: (rcu_read_lock){......}, at: [<00000000a7ddaf81>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263 #1: (tasklist_lock){.+.+..}, at: [<00000000c36a8efa>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/1907: #0: (&f->f_pos_lock){+.+.+.}, at: [<0000000041c8697c>] __fdget_pos+0xa8/0xd0 fs/file.c:782 2 locks held by getty/2035: #0: (&tty->ldisc_sem){++++++}, at: [<00000000fca79777>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+...}, at: [<0000000056516623>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 1 lock held by init/537: #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/538: #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/539: #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/540: #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/541: #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/542: #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<0000000014b553e9>] 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.180+ #3 ffff8801d98d7cc8 ffffffff81b577f1 0000000000000001 0000000000000000 0000000000000001 ffffffff81099901 dffffc0000000000 ffff8801d98d7d00 ffffffff81b62a8c 0000000000000001 0000000000000000 0000000000000001 Call Trace: [<0000000084fdee44>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000084fdee44>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000a2533b24>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99 [<00000000a6835289>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60 [<00000000e2648bc0>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [<00000000817c430a>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [<00000000817c430a>] check_hung_task kernel/hung_task.c:126 [inline] [<00000000817c430a>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline] [<00000000817c430a>] watchdog+0x670/0xaf0 kernel/hung_task.c:263 [<00000000072e58f9>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000afacabdb>] 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: 2196 Comm: syz-executor080 Not tainted 4.9.180+ #3 task: 00000000487767aa task.stack: 0000000033784499 RIP: 0010:[] c [<00000000f9e26309>] io_serial_in+0x6b/0x90 drivers/tty/serial/8250/8250_port.c:414 RSP: 0018:ffff8801cc0b76d8 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff81d77341 RDI: ffffffff84b65d18 RBP: ffff8801cc0b76e8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffffffff841d4599 R12: ffffffff84b65ce0 R13: 0000000000000020 R14: fffffbfff096cbe3 R15: fffffbfff096cba5 FS: 0000000001e49880(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004c35a8 CR3: 00000001cc0b8000 CR4: 00000000001606b0 Stack: ffffffff84b65ce0c 000000000000270cc ffff8801cc0b7738c ffffffff81d795e4c ffffffff841d4561c ffffffff84b65d28c ffffffff84b65f1ac ffffffff841d4593c ffffffff84b65ce0c 0000000000000065c dffffc0000000000c 0000000000000065c Call Trace: [<00000000de6b7d0a>] serial_in drivers/tty/serial/8250/8250.h:111 [inline] [<00000000de6b7d0a>] wait_for_xmitr+0x94/0x1e0 drivers/tty/serial/8250/8250_port.c:1997 [<000000006e0edb41>] serial8250_console_putchar+0x20/0x60 drivers/tty/serial/8250/8250_port.c:3103 [<000000005487e9fe>] uart_console_write+0x56/0xe0 drivers/tty/serial/serial_core.c:1886 [<000000001277b679>] serial8250_console_write+0x2fb/0x860 drivers/tty/serial/8250/8250_port.c:3169 [<000000003f3875a0>] univ8250_console_write+0x5f/0x70 drivers/tty/serial/8250/8250_core.c:594 [<0000000089cc5534>] call_console_drivers.isra.0.constprop.0+0x1ac/0x360 kernel/printk/printk.c:1594 [<00000000525f8df7>] console_unlock+0x47c/0xb20 kernel/printk/printk.c:2454 [<00000000aa7d742c>] vprintk_emit+0x43f/0x6f0 kernel/printk/printk.c:1908 [<000000004923881e>] vprintk+0x28/0x30 kernel/printk/printk.c:1918 [<00000000b4448d25>] vprintk_func kernel/printk/internal.h:36 [inline] [<00000000b4448d25>] printk+0xc2/0xf5 kernel/printk/printk.c:1980 [<000000001371e14a>] binder_ioctl_set_ctx_mgr.isra.0.cold+0x17/0x1c drivers/android/binder.c:4874 [<00000000c6bf515e>] binder_ioctl+0xd0e/0x1720 drivers/android/binder.c:5022 [<0000000048ea5436>] vfs_ioctl fs/ioctl.c:43 [inline] [<0000000048ea5436>] file_ioctl fs/ioctl.c:493 [inline] [<0000000048ea5436>] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [<000000009192240b>] SYSC_ioctl fs/ioctl.c:694 [inline] [<000000009192240b>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [<00000000a6f5e0c3>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000f3f87e98>] 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 c78 c57 c78 cff ceb cc2 ce8 cd1 c57 c78 cff ceb c