INFO: task syz-executor.2:30944 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27584 pid:30944 ppid: 12263 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2242 do_new_mount_fc fs/namespace.c:2931 [inline] do_new_mount fs/namespace.c:2990 [inline] path_mount+0x14c6/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f10e8011ae9 RSP: 002b:00007f10e5545188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f10e81250e0 RCX: 00007f10e8011ae9 RDX: 0000000020000140 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 00007f10e806bf6d R08: 0000000020000380 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4171ac0f R14: 00007f10e5545300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6226: 2 locks held by kworker/u4:6/7851: 2 locks held by syz-executor.2/30901: #0: ffff88801318a460 (sb_writers#20){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 #1: ffff88806c108298 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] #1: ffff88806c108298 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 1 lock held by syz-executor.2/30944: #0: ffff88806c108298 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #0: ffff88806c108298 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2242 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.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:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1047 Comm: kworker/u4:5 Not tainted 5.15.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_acquire+0x1f/0x510 kernel/locking/lockdep.c:5605 Code: fe ff ff 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 89 f7 41 56 49 89 fe 41 55 41 89 d5 41 54 41 89 cc 55 <44> 89 c5 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 4c 89 0c 24 48 c7 RSP: 0018:ffffc90004567c58 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888078f68190 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8b983b60 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88d73a81 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8b983b60 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd9c0402a0 CR3: 000000007ac6b000 CR4: 0000000000350ee0 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 7: 00 8: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax f: fc ff df 12: 41 57 push %r15 14: 41 89 f7 mov %esi,%r15d 17: 41 56 push %r14 19: 49 89 fe mov %rdi,%r14 1c: 41 55 push %r13 1e: 41 89 d5 mov %edx,%r13d 21: 41 54 push %r12 23: 41 89 cc mov %ecx,%r12d 26: 55 push %rbp * 27: 44 89 c5 mov %r8d,%ebp <-- trapping instruction 2a: 53 push %rbx 2b: 48 81 ec b0 00 00 00 sub $0xb0,%rsp 32: 48 8d 5c 24 10 lea 0x10(%rsp),%rbx 37: 4c 89 0c 24 mov %r9,(%rsp) 3b: 48 rex.W 3c: c7 .byte 0xc7