INFO: task syz-executor.4:28018 can't die for more than 143 seconds. task:syz-executor.4 state:D stack:27832 pid:28018 ppid: 3635 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] open_last_lookups fs/namei.c:3397 [inline] path_openat+0x94b/0x2940 fs/namei.c:3606 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed4b91fe99 RSP: 002b:00007fed4a295168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fed4ba32f60 RCX: 00007fed4b91fe99 RDX: 0000000000185842 RSI: 0000000020004400 RDI: ffffffffffffff9c RBP: 00007fed4b979ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6bf2b41f R14: 00007fed4a295300 R15: 0000000000022000 INFO: task syz-executor.4:28018 blocked for more than 143 seconds. Not tainted 5.16.0-rc6-next-20211223-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27832 pid:28018 ppid: 3635 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] open_last_lookups fs/namei.c:3397 [inline] path_openat+0x94b/0x2940 fs/namei.c:3606 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed4b91fe99 RSP: 002b:00007fed4a295168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fed4ba32f60 RCX: 00007fed4b91fe99 RDX: 0000000000185842 RSI: 0000000020004400 RDI: ffffffffffffff9c RBP: 00007fed4b979ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6bf2b41f R14: 00007fed4a295300 R15: 0000000000022000 INFO: task syz-executor.4:28025 can't die for more than 144 seconds. task:syz-executor.4 state:D stack:27512 pid:28025 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:411 __fuse_request_send fs/fuse/dev.c:430 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:515 fuse_lookup_name+0x280/0x630 fs/fuse/dir.c:386 fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:427 fuse_lookup+0x70/0x90 fs/fuse/dir.c:423 __lookup_slow+0x24c/0x480 fs/namei.c:1707 lookup_slow fs/namei.c:1724 [inline] walk_component+0x40f/0x6a0 fs/namei.c:2020 link_path_walk.part.0+0x7ef/0xf70 fs/namei.c:2347 link_path_walk fs/namei.c:2272 [inline] path_openat+0x266/0x2940 fs/namei.c:3605 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed4b91fe99 RSP: 002b:00007fed4a232168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fed4ba331d0 RCX: 00007fed4b91fe99 RDX: 0000000000000042 RSI: 0000000020002080 RDI: ffffffffffffff9c RBP: 00007fed4b979ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6bf2b41f R14: 00007fed4a232300 R15: 0000000000022000 INFO: task syz-executor.4:28025 blocked for more than 144 seconds. Not tainted 5.16.0-rc6-next-20211223-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27512 pid:28025 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:411 __fuse_request_send fs/fuse/dev.c:430 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:515 fuse_lookup_name+0x280/0x630 fs/fuse/dir.c:386 fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:427 fuse_lookup+0x70/0x90 fs/fuse/dir.c:423 __lookup_slow+0x24c/0x480 fs/namei.c:1707 lookup_slow fs/namei.c:1724 [inline] walk_component+0x40f/0x6a0 fs/namei.c:2020 link_path_walk.part.0+0x7ef/0xf70 fs/namei.c:2347 link_path_walk fs/namei.c:2272 [inline] path_openat+0x266/0x2940 fs/namei.c:3605 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed4b91fe99 RSP: 002b:00007fed4a232168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fed4ba331d0 RCX: 00007fed4b91fe99 RDX: 0000000000000042 RSI: 0000000020002080 RDI: ffffffffffffff9c RBP: 00007fed4b979ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6bf2b41f R14: 00007fed4a232300 R15: 0000000000022000 INFO: task syz-executor.4:28026 can't die for more than 144 seconds. task:syz-executor.4 state:D stack:29016 pid:28026 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2264 do_new_mount_fc fs/namespace.c:2953 [inline] do_new_mount fs/namespace.c:3012 [inline] path_mount+0x14c6/0x1fa0 fs/namespace.c:3340 do_mount fs/namespace.c:3353 [inline] __do_sys_mount fs/namespace.c:3561 [inline] __se_sys_mount fs/namespace.c:3538 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3538 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed4b91fe99 RSP: 002b:00007fed4a211168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fed4ba332a0 RCX: 00007fed4b91fe99 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00007fed4b979ff1 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6bf2b41f R14: 00007fed4a211300 R15: 0000000000022000 INFO: task syz-executor.4:28026 blocked for more than 145 seconds. Not tainted 5.16.0-rc6-next-20211223-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29016 pid:28026 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2264 do_new_mount_fc fs/namespace.c:2953 [inline] do_new_mount fs/namespace.c:3012 [inline] path_mount+0x14c6/0x1fa0 fs/namespace.c:3340 do_mount fs/namespace.c:3353 [inline] __do_sys_mount fs/namespace.c:3561 [inline] __se_sys_mount fs/namespace.c:3538 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3538 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed4b91fe99 RSP: 002b:00007fed4a211168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fed4ba332a0 RCX: 00007fed4b91fe99 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00007fed4b979ff1 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6bf2b41f R14: 00007fed4a211300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb82420 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3283: #0: ffff88814ac19098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 1 lock held by syz-executor.4/3635: #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline] #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline] #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:2020 3 locks held by kworker/u4:12/3876: 2 locks held by syz-executor.4/28018: #0: ffff88807235e460 (sb_writers#13){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3389 [inline] #0: ffff88807235e460 (sb_writers#13){.+.+}-{0:0}, at: path_openat+0x28d1/0x2940 fs/namei.c:3606 #1: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3397 [inline] #1: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x94b/0x2940 fs/namei.c:3606 2 locks held by syz-executor.4/28025: #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline] #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline] #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:2020 #1: ffff8880736534f8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:463 1 lock held by syz-executor.4/28026: #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff888073653090 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2264 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc6-next-20211223-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:381 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2963 Comm: klogd Not tainted 5.16.0-rc6-next-20211223-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4724 [inline] RIP: 0010:__lock_acquire+0x6a0/0x54a0 kernel/locking/lockdep.c:4977 Code: 48 8b 04 24 41 83 c4 01 48 c1 e8 03 42 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 23 2b 00 00 45 3b a5 60 0a 00 00 0f 8d 99 00 00 00 <49> 63 c4 48 8d 04 80 49 8d 1c c6 48 8d 7b 20 48 89 fa 48 c1 ea 03 RSP: 0000:ffffc90001aef7b0 EFLAGS: 00000097 RAX: 0000000000000000 RBX: 00000000000003dd RCX: ffffffff815c912d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffe43d8 RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffff8ffb59bf R10: fffffbfff1ff6b37 R11: 0000000000000000 R12: 0000000000000002 R13: ffff88807d9a0000 R14: ffff88807d9a0a68 R15: dffffc0000000000 FS: 00007fe5c0744800(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75fa131078 CR3: 000000007f44e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 debug_timer_activate kernel/time/timer.c:729 [inline] __mod_timer+0x77d/0xe30 kernel/time/timer.c:1050 dsp_cmx_send+0xbf3/0x1580 drivers/isdn/mISDN/dsp_cmx.c:1850 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x45/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0033:0x7fe5c08e00ac Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10 RSP: 002b:00007fffbfba4048 EFLAGS: 00000246 RAX: 0000000000000059 RBX: 0000000000000000 RCX: 00007fe5c08e00ac RDX: 0000000000000059 RSI: 00007fe5c1035780 RDI: 0000000000000003 RBP: 00007fe5c102b910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007fe5c0a5b77d R15: 00007fffbfba4158 ---------------- Code disassembly (best guess): 0: 48 8b 04 24 mov (%rsp),%rax 4: 41 83 c4 01 add $0x1,%r12d 8: 48 c1 e8 03 shr $0x3,%rax c: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 11: 84 c0 test %al,%al 13: 74 08 je 0x1d 15: 3c 03 cmp $0x3,%al 17: 0f 8e 23 2b 00 00 jle 0x2b40 1d: 45 3b a5 60 0a 00 00 cmp 0xa60(%r13),%r12d 24: 0f 8d 99 00 00 00 jge 0xc3 * 2a: 49 63 c4 movslq %r12d,%rax <-- trapping instruction 2d: 48 8d 04 80 lea (%rax,%rax,4),%rax 31: 49 8d 1c c6 lea (%r14,%rax,8),%rbx 35: 48 8d 7b 20 lea 0x20(%rbx),%rdi 39: 48 89 fa mov %rdi,%rdx 3c: 48 c1 ea 03 shr $0x3,%rdx