binder: 3835:3835 ioctl 0 c0306201 returned -22 binder: 3838:3838 ioctl 0 c0306201 returned -22 binder: 3835:3835 ioctl 0 c0306201 returned -22 binder: 3838:3838 ioctl 0 c0306201 returned -22 binder: 3835:3835 ioctl 0 c0306201 returned -22 INFO: task init:3857 blocked for more than 120 seconds. Not tainted 4.9.94-g8683408 #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29000 3857 1 0x00000000 ffff8801d8729800 ffff8801c14379c0 ffff8801b91ec000 ffff8801b673c800 ffff8801db321b98 ffff8801c2117570 ffffffff838c040d 0000000000000000 ffff8801d872a0ea ffff8801c21176d0 0000000000000046 ffff8801db322468 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] schedule_timeout+0x861/0xf70 kernel/time/timer.c:1768 [] __down_common kernel/locking/semaphore.c:221 [inline] [] __down+0x12e/0x1f0 kernel/locking/semaphore.c:238 [] down+0x5e/0x80 kernel/locking/semaphore.c:61 [] console_lock+0x2c/0x80 kernel/printk/printk.c:2212 [] console_device+0x1c/0xc0 kernel/printk/printk.c:2549 [] tty_lookup_driver drivers/tty/tty_io.c:1994 [inline] [] tty_open_by_driver drivers/tty/tty_io.c:2039 [inline] [] tty_open+0x71a/0xe20 drivers/tty/tty_io.c:2116 [] chrdev_open+0x22d/0x4c0 fs/char_dev.c:392 [] do_dentry_open+0x703/0xc80 fs/open.c:766 [] vfs_open+0x11c/0x210 fs/open.c:879 [] do_last fs/namei.c:3409 [inline] [] path_openat+0x758/0x3590 fs/namei.c:3533 [] do_filp_open+0x197/0x270 fs/namei.c:3567 [] do_sys_open+0x30d/0x5c0 fs/open.c:1072 [] SYSC_open fs/open.c:1090 [inline] [] SyS_open+0x2d/0x40 fs/open.c:1085 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/515: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11c/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/3652: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 2 locks held by getty/3748: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x202/0x16b0 drivers/tty/n_tty.c:2133 1 lock held by syzkaller881055/3836: #0: (&pipe->mutex/1){+.+.+.}, at: [] __pipe_lock fs/pipe.c:87 [inline] #0: (&pipe->mutex/1){+.+.+.}, at: [] pipe_write+0xb6/0xd60 fs/pipe.c:370 1 lock held by init/3857: #0: (tty_mutex){+.+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:2038 [inline] #0: (tty_mutex){+.+.+.}, at: [] tty_open+0x46c/0xe20 drivers/tty/tty_io.c:2116 1 lock held by init/3858: #0: (tty_mutex){+.+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:2038 [inline] #0: (tty_mutex){+.+.+.}, at: [] tty_open+0x46c/0xe20 drivers/tty/tty_io.c:2116 1 lock held by init/3859: #0: (tty_mutex){+.+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:2038 [inline] #0: (tty_mutex){+.+.+.}, at: [] tty_open+0x46c/0xe20 drivers/tty/tty_io.c:2116 1 lock held by init/3860: #0: (tty_mutex){+.+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:2038 [inline] #0: (tty_mutex){+.+.+.}, at: [] tty_open+0x46c/0xe20 drivers/tty/tty_io.c:2116 1 lock held by init/3861: #0: (tty_mutex){+.+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:2038 [inline] #0: (tty_mutex){+.+.+.}, at: [] tty_open+0x46c/0xe20 drivers/tty/tty_io.c:2116 1 lock held by init/3862: #0: (tty_mutex){+.+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:2038 [inline] #0: (tty_mutex){+.+.+.}, at: [] tty_open+0x46c/0xe20 drivers/tty/tty_io.c:2116 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 515 Comm: khungtaskd Not tainted 4.9.94-g8683408 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d86cfd08 ffffffff81d9b509 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810b7d60 ffff8801d86cfd40 ffffffff81da6837 0000000000000001 0000000000000000 0000000000000002 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6b4/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3834 Comm: syzkaller881055 Not tainted 4.9.94-g8683408 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b8713000 task.stack: ffff8801b6780000 RIP: 0010:[] c [] inb arch/x86/include/asm/io.h:316 [inline] RIP: 0010:[] c [] io_serial_in+0x6b/0x90 drivers/tty/serial/8250/8250_port.c:414 RSP: 0018:ffff8801b6787888 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff82037961 RDI: ffffffff8627fc78 RBP: ffff8801b6787898 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8627fc40 R13: 0000000000000020 R14: fffffbfff0c4ffcf R15: fffffbfff0c4ff91 FS: 0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:0000000008e58840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ffc9e34c2f8 CR3: 00000001b8bac000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8627fc40c 000000000000270fc ffff8801b67878e8c ffffffff82039584c ffffffff81dc6828c ffffffff8627fc88c ffffffff8627fe7ac ffffffff8627fc40c 0000000000000070c ffffffff820396d0c dffffc0000000000c 0000000000000070c Call Trace: [] serial_in drivers/tty/serial/8250/8250.h:111 [inline] [] wait_for_xmitr+0x94/0x1e0 drivers/tty/serial/8250/8250_port.c:1997 [] serial8250_console_putchar+0x1f/0x60 drivers/tty/serial/8250/8250_port.c:3103 [] uart_console_write+0x59/0xf0 drivers/tty/serial/serial_core.c:1859 [] serial8250_console_write+0x528/0x820 drivers/tty/serial/8250/8250_port.c:3169 [] univ8250_console_write+0x5f/0x70 drivers/tty/serial/8250/8250_core.c:594 [] call_console_drivers.isra.18.constprop.28+0x1ad/0x360 kernel/printk/printk.c:1589 [] console_unlock+0x42f/0xb40 kernel/printk/printk.c:2449 [] vprintk_emit+0x448/0x790 kernel/printk/printk.c:1903 [] vprintk+0x28/0x30 kernel/printk/printk.c:1913 [] vprintk_default+0x1d/0x30 kernel/printk/printk.c:1914 [] vprintk_func kernel/printk/internal.h:36 [inline] [] printk+0xaf/0xd7 kernel/printk/printk.c:1975 [] binder_ioctl.cold.82+0x61/0x121 drivers/android/binder.c:4833 [] C_SYSC_ioctl fs/compat_ioctl.c:1602 [inline] [] compat_SyS_ioctl+0x126/0x1fe0 fs/compat_ioctl.c:1549 [] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline] [] do_fast_syscall_32+0x2f7/0x870 arch/x86/entry/common.c:387 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 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 c18 c19 c50 cff ceb cc2 ce8 c71 c19 c50 cff ceb c