INFO: task syz-executor.0:17804 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29584 pid:17804 ppid: 8513 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x136/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:808 [inline] lock_rename+0x225/0x280 fs/namei.c:2758 do_renameat2+0x60c/0xc00 fs/namei.c:4407 __do_sys_rename fs/namei.c:4508 [inline] __se_sys_rename fs/namei.c:4506 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4506 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f6f22671c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 000000000119c060 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00000000016afb5f R14: 00007f6f226729c0 R15: 000000000119c034 Showing all locks held in the system: 1 lock held by khungtaskd/1658: #0: ffffffff8b373920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by systemd-journal/4891: 1 lock held by in:imklog/8186: #0: ffff888018a359f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by syz-executor.0/17792: 2 locks held by syz-executor.0/17804: #0: ffff8880696e8460 (sb_writers#15){.+.+}-{0:0}, at: do_renameat2+0x376/0xc00 fs/namei.c:4402 #1: ffff88806b9d0ed0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff88806b9d0ed0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x225/0x280 fs/namei.c:2758 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1658 Comm: khungtaskd Not tainted 5.11.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+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 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:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4519 Comm: kworker/u4:6 Not tainted 5.11.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:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_preemption_disabled+0x1b/0x150 lib/smp_processor_id.c:16 Code: 00 41 bc 01 00 00 00 e8 73 ce c2 fa eb 9f cc 41 56 41 55 49 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 35 61 08 77 <65> 8b 1d 8e bb 08 77 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 RSP: 0018:ffffc9000afcfb48 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 1ffff920015f9f76 RCX: ffffffff8158cce8 RDX: 0000000000000001 RSI: ffffffff899ed8a0 RDI: ffffffff899ed8e0 RBP: ffffffff899ed8e0 R08: 0000000000000000 R09: ffffffff8d0375cf R10: fffffbfff1a06eb9 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff899ed8a0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff55f348000 CR3: 000000001a6a8000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1161 [inline] rcu_lockdep_current_cpu_online+0x2d/0x150 kernel/rcu/tree.c:1152 rcu_read_lock_held_common kernel/rcu/update.c:110 [inline] rcu_read_lock_held_common kernel/rcu/update.c:100 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:121 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x5c9/0x740 kernel/locking/lockdep.c:5408 rcu_lock_acquire include/linux/rcupdate.h:259 [inline] rcu_read_lock include/linux/rcupdate.h:648 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/0xe50 net/batman-adv/network-coding.c:715 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296