INFO: task syz-executor.4:22791 blocked for more than 143 seconds. Not tainted 5.11.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28592 pid:22791 ppid: 8496 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5202 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:428 fuse_lookup.part.0+0x86/0x390 fs/fuse/dir.c:468 fuse_lookup+0x70/0x90 fs/fuse/dir.c:465 __lookup_slow+0x24c/0x480 fs/namei.c:1544 lookup_slow fs/namei.c:1561 [inline] walk_component+0x418/0x6a0 fs/namei.c:1861 link_path_walk.part.0+0x703/0xc70 fs/namei.c:2186 link_path_walk fs/namei.c:2112 [inline] path_lookupat+0xb7/0x830 fs/namei.c:2335 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __x64_sys_mount+0x1ea/0x300 fs/namespace.c:3406 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007ff827e99c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 000000000119c078 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffd1f26a65f R14: 00007ff827e9a9c0 R15: 000000000119c034 INFO: task syz-executor.4:22817 blocked for more than 144 seconds. Not tainted 5.11.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28520 pid:22817 ppid: 8496 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_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/0x440 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 link_path_walk.part.0+0x703/0xc70 fs/namei.c:2186 link_path_walk fs/namei.c:2112 [inline] path_lookupat+0xb7/0x830 fs/namei.c:2335 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __x64_sys_mount+0x1ea/0x300 fs/namespace.c:3406 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007ff827e78c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 000000000119c120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007ffd1f26a65f R14: 00007ff827e799c0 R15: 000000000119c0dc INFO: task syz-executor.4:22818 blocked for more than 144 seconds. Not tainted 5.11.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27776 pid:22818 ppid: 8496 flags:0x00004004 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+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2195 do_new_mount_fc fs/namespace.c:2821 [inline] do_new_mount fs/namespace.c:2880 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3208 do_mount fs/namespace.c:3221 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3406 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007ff827e57c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 000000000119c1c8 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c184 R13: 00007ffd1f26a65f R14: 00007ff827e589c0 R15: 000000000119c184 Showing all locks held in the system: 3 locks held by kworker/u4:4/168: #0: ffff8880b9f34d18 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1319 [inline] #0: ffff8880b9f34d18 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4981 #1: ffffc900012c7da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 #2: ffffffff8b373920 (rcu_read_lock){....}-{1:2}, at: __mod_timer+0x60c/0xe30 kernel/time/timer.c:1041 1 lock held by khungtaskd/1649: #0: ffffffff8b373920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8365: #0: ffff88802a1618b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by syz-executor.4/22788: 2 locks held by syz-executor.4/22791: #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 #1: ffff88807aabc6a8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:428 1 lock held by syz-executor.4/22817: #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 1 lock held by syz-executor.4/22818: #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88807aabc2d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2195 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1649 Comm: khungtaskd Not tainted 5.11.0-rc3-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: 48 Comm: kworker/u4:2 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_memory_region+0x132/0x180 mm/kasan/generic.c:186 Code: 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b b8 01 00 00 00 5d <41> 5c c3 44 89 c2 e8 03 f0 ff ff 5b 83 f0 01 5d 41 5c c3 48 29 c3 RSP: 0018:ffffc90000f079d0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 00000000000006ab RCX: ffffffff81587ba2 RDX: fffffbfff1da7d0f RSI: 0000000000000008 RDI: ffffffff8ed3e870 RBP: ffff8880112603c0 R08: 0000000000000000 R09: ffffffff8ed3e877 R10: fffffbfff1da7d0e R11: 0000000000000000 R12: ffff888011260d98 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc640264000 CR3: 00000000128f0000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:198 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3520 [inline] validate_chain kernel/locking/lockdep.c:3576 [inline] __lock_acquire+0x16c2/0x54f0 kernel/locking/lockdep.c:4832 lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x740 kernel/locking/lockdep.c:5402 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:438 batadv_nc_worker+0x831/0xe50 net/batman-adv/network-coding.c:716 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