INFO: task syz-executor.2:16901 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29184 pid:16901 ppid: 8657 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_read_slowpath+0x4ca/0x980 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xdf/0x460 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:783 [inline] lookup_slow fs/namei.c:1560 [inline] walk_component+0x409/0x6a0 fs/namei.c:1861 lookup_last fs/namei.c:2310 [inline] path_lookupat+0x1ba/0x830 fs/namei.c:2334 do_o_path fs/namei.c:3340 [inline] path_openat+0x183d/0x27a0 fs/namei.c:3362 do_filp_open+0x17e/0x3c0 fs/namei.c:3396 do_sys_openat2+0x16d/0x420 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_compat_sys_openat fs/open.c:1246 [inline] __se_compat_sys_openat fs/open.c:1244 [inline] __ia32_compat_sys_openat+0x13f/0x1f0 fs/open.c:1244 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f73549 RSP: 002b:00000000f552b0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 0000000020004280 RDX: 0000000000280440 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by kworker/u4:5/197: 1 lock held by khungtaskd/1658: #0: ffffffff8b78e1e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8208: #0: ffff888011a960f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 3 locks held by syz-executor.2/16900: 1 lock held by syz-executor.2/16901: #0: ffff888032793e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff888032793e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff888032793e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1658 Comm: khungtaskd Not tainted 5.10.0-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+0x3c/0xef 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+0xe36/0x10b0 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: 22 Comm: kworker/u4:1 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:lock_release+0x3ea/0x710 kernel/locking/lockdep.c:5445 Code: 65 0f c1 05 b8 40 aa 7e 83 f8 01 0f 85 73 01 00 00 ff 34 24 9d 48 b8 00 00 00 00 00 fc ff df 48 01 c5 48 c7 45 00 00 00 00 00 45 08 00 00 00 00 48 8b 84 24 88 00 00 00 65 48 2b 04 25 28 00 RSP: 0018:ffffc90000dcfbc8 EFLAGS: 00000286 RAX: dffffc0000000000 RBX: 1c9ee7e16124c266 RCX: ffffc90000dcfc18 RDX: 1ffff110022bf7df RSI: 0000000000000000 RDI: 0000000000000000 RBP: fffff520001b9f7b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000003 R14: ffff8880115fbf00 R15: ffff8880115fb580 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd3c3eb0000 CR3: 0000000018d70000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:258 [inline] rcu_read_unlock include/linux/rcupdate.h:696 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x7dd/0xe80 net/batman-adv/network-coding.c:715 process_one_work+0x98d/0x1630 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