INFO: task syz-executor.4:15218 blocked for more than 143 seconds. Not tainted 5.12.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28384 pid:15218 ppid: 8415 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5075 schedule+0x14b/0x200 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x117/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:775 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2216 do_new_mount_fc fs/namespace.c:2846 [inline] do_new_mount fs/namespace.c:2905 [inline] path_mount+0x20b2/0x29a0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007fa3f10d4188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c158 RCX: 0000000000465ef9 RDX: 0000000020002000 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bfa34 R08: 00000000200001c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c158 R13: 00007ffd6ed9941f R14: 00007fa3f10d4300 R15: 0000000000022000 Showing all locks held in the system: 8 locks held by kworker/u4:2/79: 1 lock held by khungtaskd/1644: #0: ffffffff8c70fcc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8084: #0: ffff88801bc33770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:961 2 locks held by kworker/u4:7/12034: #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1321 [inline] #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xd8/0xe70 kernel/sched/core.c:4992 #1: ffff8880b9d1f808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x224/0x5c0 kernel/sched/psi.c:833 3 locks held by syz-executor.4/15192: 1 lock held by syz-executor.4/15218: #0: ffff88807c311c50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff88807c311c50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2216 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1644 Comm: khungtaskd Not tainted 5.12.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:79 [inline] dump_stack+0x125/0x19e 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+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:292 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: 135 Comm: kworker/u4:3 Not tainted 5.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:match_held_lock+0x79/0x190 kernel/locking/lockdep.c:4985 Code: c2 c0 6c 72 8f 48 29 d0 48 c1 f8 06 48 ba ab aa aa aa aa aa aa aa 48 0f af d0 48 39 ca 74 02 31 db 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 0f 85 fb 00 00 00 89 d8 48 83 c4 10 5b c3 48 8b 0e RSP: 0018:ffffc9000143fae8 EFLAGS: 00000046 RAX: ab5b0ad52d356e00 RBX: 0000000000000000 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8c70fc20 RDI: ffff888011d0c110 RBP: ffff888011d0c110 R08: dffffc0000000000 R09: fffffbfff1b6adc6 R10: fffffbfff1b6adc6 R11: 0000000000000000 R12: 0000000000000246 R13: ffff888011d0b780 R14: 00000000ffffffff R15: ffffffff8c70fc20 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00058aec0 CR3: 000000001847d000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5253 [inline] lock_is_held_type+0xa1/0x160 kernel/locking/lockdep.c:5549 lock_is_held include/linux/lockdep.h:278 [inline] rcu_read_lock_sched_held+0x41/0xb0 kernel/rcu/update.c:125 trace_lock_release+0x61/0x140 include/trace/events/lock.h:58 lock_release+0x27/0x6b0 kernel/locking/lockdep.c:5521 rcu_read_unlock include/linux/rcupdate.h:710 [inline] batadv_nc_process_nc_paths+0x2f1/0x380 net/batman-adv/network-coding.c:695 batadv_nc_worker+0x3ee/0x5c0 net/batman-adv/network-coding.c:724 process_one_work+0x789/0xfd0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294