INFO: task syz-executor.3:3536 blocked for more than 143 seconds. Not tainted 5.13.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27216 pid: 3536 ppid: 8422 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x171/0x180 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:809 [inline] filename_create+0x19f/0x700 fs/namei.c:3592 user_path_create fs/namei.c:3650 [inline] do_mkdirat+0xaf/0x3e0 fs/namei.c:3828 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007f1226d21188 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000240 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffdb674ecbf R14: 00007f1226d21300 R15: 0000000000022000 INFO: task syz-executor.3:3538 blocked for more than 143 seconds. Not tainted 5.13.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27888 pid: 3538 ppid: 8422 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x171/0x180 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:809 [inline] filename_create+0x19f/0x700 fs/namei.c:3592 user_path_create fs/namei.c:3650 [inline] do_mkdirat+0xaf/0x3e0 fs/namei.c:3828 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007f1226d00188 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 000000000056c260 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c260 R13: 00007ffdb674ecbf R14: 00007f1226d00300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1611: #0: ffffffff8cf15c40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8103: 1 lock held by syz-executor.3/3528: #0: ffff88808cefb578 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff88808cefb578 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1645 [inline] #0: ffff88808cefb578 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x4c8/0x740 fs/namei.c:1942 2 locks held by syz-executor.3/3536: #0: ffff88809964c460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff88808cefb578 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:809 [inline] #1: ffff88808cefb578 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x19f/0x700 fs/namei.c:3592 2 locks held by syz-executor.3/3538: #0: ffff88809964c460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff88808cefb578 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:809 [inline] #1: ffff88808cefb578 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x19f/0x700 fs/namei.c:3592 2 locks held by syz-executor.3/3541: 1 lock held by syz-executor.3/3554: #0: ffff88808cefb578 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff88808cefb578 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1645 [inline] #0: ffff88808cefb578 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x4c8/0x740 fs/namei.c:1942 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1611 Comm: khungtaskd Not tainted 5.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x202/0x31e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xcfb/0xd40 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 167 Comm: kworker/u4:4 Not tainted 5.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__this_cpu_preempt_check+0x0/0x20 lib/smp_processor_id.c:69 Code: 2d a5 f7 48 8b 74 24 40 48 c7 c7 20 a2 92 8a 31 c0 e8 6c 2d a5 f7 e8 e1 f7 5c fa eb 96 e8 18 eb ff ff 0f 1f 84 00 00 00 00 00 <53> 48 89 fb 0f 1f 44 00 00 48 c7 c7 80 a1 92 8a 48 89 de 5b e9 57 RSP: 0018:ffffc90000fcf890 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000080000202 RDX: 0000000000000000 RSI: ffffffff8cf15ba0 RDI: ffffffff8a2eac80 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1c702e6 R10: fffffbfff1c702e6 R11: 0000000000000000 R12: 0000000000000246 R13: ffff888014d954c0 R14: 00000000ffffffff R15: ffffffff8cf15ba0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e15d78018 CR3: 00000000234b4000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_is_held_type+0xf7/0x180 kernel/locking/lockdep.c:5556 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x87/0x110 kernel/rcu/update.c:125 trace_lock_acquire+0x6b/0x180 include/trace/events/lock.h:13 lock_acquire+0xa9/0x720 kernel/locking/lockdep.c:5483 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] batadv_nc_purge_paths+0xe0/0x3f0 net/batman-adv/network-coding.c:438 batadv_nc_worker+0x2ea/0x5c0 net/batman-adv/network-coding.c:716 process_one_work+0x833/0x10c0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294