INFO: task syz-executor.1:21541 blocked for more than 140 seconds. Not tainted 4.9.141+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29608 21541 21538 0x20020000 ffff8801c510df00 0000000000000000 ffff8801d1b68000 ffff880194eec740 ffff8801db621018 ffff8801c50dfb50 ffffffff828075c2 ffff880100000001 ffffffff00000000 fffffbfff08489a8 0007171d00000001 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_compat_ioctl+0x12d/0x270 drivers/tty/tty_io.c:3039 [] C_SYSC_ioctl fs/compat_ioctl.c:1602 [inline] [] compat_SyS_ioctl+0x12d/0x1fd0 fs/compat_ioctl.c:1549 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Showing all locks held in the system: 2 locks held by kworker/0:1/23: #0: ("events"){.+.+.+}, at: [] process_one_work+0x73c/0x15f0 kernel/workqueue.c:2085 #1: ((&rew.rew_work)){+.+...}, at: [] process_one_work+0x774/0x15f0 kernel/workqueue.c:2089 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 3 locks held by kworker/0:2/351: #0: ("events"){.+.+.+}, at: [] process_one_work+0x73c/0x15f0 kernel/workqueue.c:2085 #1: ((linkwatch_work).work){+.+...}, at: [] process_one_work+0x774/0x15f0 kernel/workqueue.c:2089 #2: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 1 lock held by rsyslogd/1901: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 2 locks held by getty/2028: #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.5/2091: #0: (tasklist_lock){.+.+..}, at: [] __schedule+0x13c/0x1b10 kernel/sched/core.c:3448 #1: (rcu_read_lock){......}, at: [] cpuacct_charge+0x7c/0x360 kernel/sched/cpuacct.c:354 2 locks held by syz-executor.1/21538: #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.1/21541: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 3 locks held by kworker/1:0/24895: #0: ("%s"("ipv6_addrconf")){.+.+..}, at: [] process_one_work+0x73c/0x15f0 kernel/workqueue.c:2085 #1: ((&(&ifa->dad_work)->work)){+.+...}, at: [] process_one_work+0x774/0x15f0 kernel/workqueue.c:2089 #2: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 1 lock held by syz-executor.3/28877: #0: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 2 locks held by syz-executor.5/28886: #0: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 #1: (rcu_preempt_state.exp_mutex){+.+...}, at: [] exp_funnel_lock kernel/rcu/tree_exp.h:256 [inline] #1: (rcu_preempt_state.exp_mutex){+.+...}, at: [] _synchronize_rcu_expedited+0x339/0x840 kernel/rcu/tree_exp.h:569 1 lock held by syz-executor.0/28916: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 1 lock held by syz-executor.1/28912: #0: (&mm->mmap_sem){++++++}, at: [] vm_mmap_pgoff+0x128/0x1b0 mm/util.c:327 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 24 Comm: khungtaskd Not tainted 4.9.141+ #23 ffff8801d9907d08 ffffffff81b42e79 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810983b0 ffff8801d9907d40 ffffffff81b4df89 0000000000000000 0000000000000000 0000000000000003 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 28940 Comm: syz-executor.4 Not tainted 4.9.141+ #23 task: ffff8801ab090000 task.stack: ffff8801c6460000 RIP: 0010:[] c [] debug_lockdep_rcu_enabled+0x31/0x90 kernel/rcu/update.c:264 RSP: 0018:ffff8801c6467c80 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffff8801ab090000 RCX: 1ffff10035612115 RDX: 0000000000000000 RSI: 00000000000002dd RDI: ffffffff833e7adc RBP: ffff8801c6467c80 R08: ffffed0038c8cfb7 R09: ffffed0038c8cfaf R10: ffffed0038c8cfb6 R11: ffff8801c6467db7 R12: 0000000000000000 R13: ffffffff82b91060 R14: 00000000000002dd R15: 000000007fffffff FS: 0000000000000000(0000) GS:ffff8801db700000(0063) knlGS:00000000f558db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f54c6db0 CR3: 00000001a8b9b000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c6467cb8c ffffffff811679c1c ffff8801ab090000c ffffffff82b91060c 00000000000002ddc 0000000000000000c 000000007fffffffc ffff8801c6467cf8c ffffffff81167c85c 0000000000000286c ffffffff83248ea8c ffff8801ab090000c Call Trace: [] ___might_sleep+0x31/0x260 kernel/sched/core.c:7954 [] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7945 [] __might_fault+0xaf/0x1d0 mm/memory.c:4020 [] copy_to_user arch/x86/include/asm/uaccess.h:733 [inline] [] extract_crng_user drivers/char/random.c:1014 [inline] [] urandom_read+0x1d5/0x580 drivers/char/random.c:1805 [] SYSC_getrandom drivers/char/random.c:1965 [inline] [] SyS_getrandom+0xcd/0x280 drivers/char/random.c:1946 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Code: c83 c55 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c48 c89 cfa c48 c89 ce5 c48 cc1 cea c03 c0f cb6 c14 c02 c48 c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c04 c84 cd2 c75 c4c c<8b> c15 c95 c3e c1a c02 c85 cd2 c74 c3e c48 cc7 cc7 c00 c25 c1f c83 c48 cb8 c00 c00 c