binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: send failed reply for transaction 366, target dead INFO: task syz-executor.0:10898 blocked for more than 140 seconds. Not tainted 4.9.141+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29592 10898 2090 0x00000000 ffff8801cb8c2f80 ffff8801d3aeee00 ffff8801d30ad280 ffff8801cb8c0000 ffff8801db621018 ffff8800a5cff840 ffffffff828075c2 ffff8801d9c46c00 ffffffff83cca6f0 0000000000000246 0000000000006531 ffff8801db6218f0 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3553 [] schedule_timeout+0x735/0xe20 kernel/time/timer.c:1771 [] down_read_failed drivers/tty/tty_ldsem.c:241 [inline] [] __ldsem_down_read_nested+0x33c/0x610 drivers/tty/tty_ldsem.c:332 [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 [] tty_ldisc_ref_wait+0x25/0x80 drivers/tty/tty_ldisc.c:275 [] tty_ioctl+0x3b6/0x2190 drivers/tty/tty_io.c:3009 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:493 [inline] [] do_vfs_ioctl+0x1ac/0x11a0 fs/ioctl.c:677 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] 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: [] 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 2 locks held by getty/2024: #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/0x16e0 drivers/tty/n_tty.c:2142 2 locks held by syz-executor.0/3941: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.1/26693: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.4/32711: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.4/6296: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.4/6367: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.0/6380: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.4/6395: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.0/6401: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.0/6423: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&tty->atomic_write_lock){+.+.+.}, at: [] tty_write_lock+0x21/0x60 drivers/tty/tty_io.c:1107 2 locks held by syz-executor.0/10897: #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/0x16e0 drivers/tty/n_tty.c:2142 1 lock held by syz-executor.0/10898: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.141+ #1 ffff8801d9907d08 ffffffff81b42e79 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810983b0 ffff8801d9907d40 ffffffff81b4df89 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.0+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12c/0x151 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+0x6ad/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: 2090 Comm: syz-executor.0 Not tainted 4.9.141+ #1 task: ffff8801d1c817c0 task.stack: ffff8801aa140000 RIP: 0010:[] c [] lock_is_held+0x105/0x140 kernel/locking/lockdep.c:3799 RSP: 0018:ffff8801aa147b38 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000004 RCX: ffffed003a39040d RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000246 RBP: ffff8801aa147b48 R08: ffff8801d1c82070 R09: d8a1064c1ba25689 R10: ffff8801d1c817c0 R11: 0000000000000001 R12: ffff8801d1c817c0 R13: 0000000000000001 R14: ffff8801aa147e4c R15: ffff8801aa147e48 FS: 0000000001a67940(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000046f660 CR3: 00000001aa749000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffff8801a29f8400c ffff8801d1c817c0c ffff8801aa147b58c ffffffff81243f44c ffff8801aa147b88c ffffffff819f7fb0c ffffffff819f7d30c ffff8801c7060000c dffffc0000000000c ffff8801c7060000c ffff8801aa147ba0c ffffffff819f8083c Call Trace: [] rcu_read_lock_held+0xa4/0xc0 kernel/rcu/update.c:297 [] task_has_perm+0x280/0x330 security/selinux/hooks.c:1612 [] selinux_task_wait+0x23/0x30 security/selinux/hooks.c:3954 [] security_task_wait+0x73/0xb0 security/security.c:1032 [] wait_consider_task+0x2a1/0x3620 kernel/exit.c:1377 [] do_wait_thread kernel/exit.c:1490 [inline] [] do_wait+0x423/0x950 kernel/exit.c:1561 [] SYSC_wait4 kernel/exit.c:1693 [inline] [] SyS_wait4+0x12b/0x1f0 kernel/exit.c:1658 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: cb6 c14 c02 c48 c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c04 c84 cd2 c75 c3a c41 cc7 c84 c24 cac c08 c00 c00 c00 c00 c00 c00 c48 c89 cdf c57 c9d c0f c1f c44 c00 c00 c5b c<44> c89 ce8 c41 c5c c41 c5d c5d cc3 c41 cbd c01 c00 c00 c00 c5b c44 c89 ce8 c41 c5c c