INFO: task syz-executor.2:9348 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29776 pid: 9348 ppid: 8089 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1638 inode_lock_nested include/linux/fs.h:818 [inline] filename_create+0x158/0x480 fs/namei.c:3654 do_mkdirat+0x94/0x300 fs/namei.c:3898 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0xf2/0x140 fs/namei.c:3927 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:0x7f3410a77ae9 RSP: 002b:00007f340dfcc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f3410b8b020 RCX: 00007f3410a77ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f3410ad1f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff37624b4f R14: 00007f340dfcc300 R15: 0000000000022000 INFO: task syz-executor.2:9374 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29256 pid: 9374 ppid: 8089 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:996 __down_read_common kernel/locking/rwsem.c:1224 [inline] __down_read kernel/locking/rwsem.c:1233 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1476 inode_lock_shared include/linux/fs.h:793 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x400/0x6a0 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2449 filename_lookup+0x1c6/0x590 fs/namei.c:2478 user_path_at_empty+0x42/0x60 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:489 [inline] __se_sys_chdir fs/open.c:483 [inline] __x64_sys_chdir+0xb7/0x260 fs/open.c:483 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:0x7f3410a77ae9 RSP: 002b:00007f340dfab188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f3410b8b0e0 RCX: 00007f3410a77ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007f3410ad1f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff37624b4f R14: 00007f340dfab300 R15: 0000000000022000 INFO: task syz-executor.2:9375 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29568 pid: 9375 ppid: 8089 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:996 __down_read_common kernel/locking/rwsem.c:1224 [inline] __down_read kernel/locking/rwsem.c:1233 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1476 inode_lock_shared include/linux/fs.h:793 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x400/0x6a0 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2449 filename_lookup+0x1c6/0x590 fs/namei.c:2478 user_path_at_empty+0x42/0x60 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3328 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1ea/0x300 fs/namespace.c:3516 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:0x7f3410a77ae9 RSP: 002b:00007f340df8a188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3410b8b1a0 RCX: 00007f3410a77ae9 RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007f3410ad1f6d R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff37624b4f R14: 00007f340df8a300 R15: 0000000000022000 INFO: task syz-executor.2:9380 blocked for more than 144 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29728 pid: 9380 ppid: 8089 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1638 inode_lock_nested include/linux/fs.h:818 [inline] filename_create+0x158/0x480 fs/namei.c:3654 do_mkdirat+0x94/0x300 fs/namei.c:3898 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0xf2/0x140 fs/namei.c:3927 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:0x7f3410a76bf7 RSP: 002b:00007f340df68fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3410a76bf7 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020004c80 RBP: 00007f340df69040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020004c40 R13: 0000000020004c80 R14: 00007f340df69000 R15: 0000000020004d40 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb80f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 3 locks held by kworker/u4:4/940: #0: ffff8880b9d39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffffc90004177db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff8880b9d28298 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946 2 locks held by kworker/u4:6/1070: 1 lock held by in:imklog/6451: #0: ffff88801dc26130 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by syz-executor.2/9345: #0: ffff888078346460 (sb_writers#23){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 #1: ffff888080383358 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] #1: ffff888080383358 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 2 locks held by syz-executor.2/9348: #0: ffff888078346460 (sb_writers#23){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 #1: ffff888080383358 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] #1: ffff888080383358 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 1 lock held by syz-executor.2/9374: #0: ffff888080383358 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff888080383358 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff888080383358 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 1 lock held by syz-executor.2/9375: #0: ffff888080383358 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff888080383358 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff888080383358 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 2 locks held by syz-executor.2/9380: #0: ffff888078346460 (sb_writers#23){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 #1: ffff888080383358 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] #1: ffff888080383358 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 2969 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0xe/0xc0 kernel/locking/lockdep.c:5089 Code: 48 c7 c7 20 f8 ab 89 e8 e9 60 bc ff e8 23 e6 cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 48 89 fb 48 83 ec 08 48 39 77 10 74 6a <66> f7 47 22 f0 ff 74 5a 48 8b 46 08 48 89 f7 48 85 c0 74 42 8b 15 RSP: 0018:ffffc90002077cc0 EFLAGS: 00000006 RAX: 0000000000000000 RBX: ffff888075eecbe0 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bb80ea0 RDI: ffff888075eecbe0 RBP: ffffffff8bb80ea0 R08: 0000000000000000 R09: ffffffff8d913717 R10: fffffbfff1b226e2 R11: 0000000000000000 R12: ffff888075eec180 R13: ffff888075eecbe0 R14: 00000000ffffffff R15: ffff888075eecbe0 FS: 00007f2bda5918c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2bd7ed6000 CR3: 000000007e9d4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5380 [inline] lock_is_held_type+0xa7/0x140 kernel/locking/lockdep.c:5680 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x522/0x720 kernel/locking/lockdep.c:5648 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] lockref_put_or_lock+0x65/0x80 lib/lockref.c:178 fast_dput fs/dcache.c:750 [inline] dput+0x485/0xbc0 fs/dcache.c:875 path_put+0x2d/0x60 fs/namei.c:557 do_faccessat+0x339/0x850 fs/open.c:455 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:0x7f2bd984c9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd3483bb18 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffd3483eb40 RCX: 00007f2bd984c9c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000564da70009a3 RBP: 00007ffd3483bc60 R08: 0000564da6ff63e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000564da78328c0 R15: 00007ffd3483c150 ---------------- Code disassembly (best guess): 0: 48 c7 c7 20 f8 ab 89 mov $0xffffffff89abf820,%rdi 7: e8 e9 60 bc ff callq 0xffbc60f5 c: e8 23 e6 cc ff callq 0xffcce634 11: 31 c0 xor %eax,%eax 13: 5d pop %rbp 14: c3 retq 15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1c: 53 push %rbx 1d: 48 89 fb mov %rdi,%rbx 20: 48 83 ec 08 sub $0x8,%rsp 24: 48 39 77 10 cmp %rsi,0x10(%rdi) 28: 74 6a je 0x94 * 2a: 66 f7 47 22 f0 ff testw $0xfff0,0x22(%rdi) <-- trapping instruction 30: 74 5a je 0x8c 32: 48 8b 46 08 mov 0x8(%rsi),%rax 36: 48 89 f7 mov %rsi,%rdi 39: 48 85 c0 test %rax,%rax 3c: 74 42 je 0x80 3e: 8b .byte 0x8b 3f: 15 .byte 0x15