INFO: task syz-executor.5:26338 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.5 state:D stack:28960 pid:26338 ppid: 9039 flags:0x00000004 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 filename_lookup+0x19f/0x560 fs/namei.c:2367 user_path_at include/linux/namei.h:59 [inline] vfs_statx+0x142/0x390 fs/stat.c:185 vfs_fstatat fs/stat.c:207 [inline] vfs_lstat include/linux/fs.h:3123 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:362 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 RSP: 002b:00007f40b872dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045e149 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020006680 RBP: 000000000119c060 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00000000016afb7f R14: 00007f40b872e9c0 R15: 000000000119c034 INFO: task syz-executor.5:26340 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.5 state:D stack:27432 pid:26340 ppid: 9039 flags:0x00004004 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_write_slowpath+0x809/0x1220 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:2192 do_new_mount_fc fs/namespace.c:2818 [inline] do_new_mount fs/namespace.c:2877 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3205 do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3426 [inline] __se_sys_mount fs/namespace.c:3403 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3403 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 RSP: 002b:00007f40b870cc68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149 RDX: 0000000020002000 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 000000000119c120 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00000000016afb7f R14: 00007f40b870d9c0 R15: 000000000119c0dc Showing all locks held in the system: 1 lock held by kworker/u4:3/93: #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x235/0x21b0 kernel/sched/core.c:4995 1 lock held by khungtaskd/1652: #0: ffffffff8b793aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254 1 lock held by systemd-journal/4902: #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x235/0x21b0 kernel/sched/core.c:4995 1 lock held by in:imklog/8188: #0: ffff888024438870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:949 3 locks held by syz-executor.5/26330: 1 lock held by syz-executor.5/26338: #0: ffff88803293a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff88803293a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff88803293a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 1 lock held by syz-executor.5/26340: #0: ffff88803293a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88803293a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2192 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1652 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: 155 Comm: kworker/u4:4 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:variable_test_bit arch/x86/include/asm/bitops.h:214 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:198 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4507 [inline] RIP: 0010:__lock_acquire+0x47d/0x54b0 kernel/locking/lockdep.c:4782 Code: 00 45 0f b7 7c 24 20 66 41 81 e7 ff 1f 45 0f b7 ff be 08 00 00 00 4c 89 f8 48 c1 f8 06 48 8d 3c c5 a0 37 51 8f e8 93 eb 5d 00 <4c> 0f a3 3d 7b ab f8 0d 0f 83 36 0c 00 00 4b 8d 04 7f 48 c1 e0 06 RSP: 0018:ffffc9000151fa60 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81588c1d RDX: fffffbfff1ea26f5 RSI: 0000000000000008 RDI: ffffffff8f5137a0 RBP: ffff888011fb3580 R08: 0000000000000000 R09: ffffffff8f5137a7 R10: fffffbfff1ea26f4 R11: 0000000000000000 R12: ffff888011fb3f58 R13: 0000000000000002 R14: ffffffff8b793aa0 R15: 000000000000002c FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f651db3b000 CR3: 000000009394b000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 rcu_lock_acquire include/linux/rcupdate.h:253 [inline] rcu_read_lock include/linux/rcupdate.h:642 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/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