INFO: task syz-executor.1:17235 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29656 pid:17235 ppid: 8410 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 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+0x13b/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:808 [inline] filename_create+0x15a/0x490 fs/namei.c:3468 user_path_create fs/namei.c:3526 [inline] do_mkdirat+0xa0/0x2d0 fs/namei.c:3666 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007f26efa97188 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 0000000000a9fb1f R14: 00007f26efa97300 R15: 0000000000022000 INFO: task syz-executor.1:17239 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27800 pid:17239 ppid: 8410 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 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+0x137/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount fs/namespace.c:3409 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007f26efa76188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465ef9 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bcd1c R08: 0000000020004300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 0000000000a9fb1f R14: 00007f26efa76300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1658: #0: ffffffff8bf743e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327 1 lock held by in:imklog/8078: #0: ffff88801211c0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961 2 locks held by kworker/u4:7/16540: 2 locks held by syz-executor.1/17228: 2 locks held by syz-executor.1/17235: #0: ffff88801dc6a460 (sb_writers#16){.+.+}-{0:0}, at: filename_create+0x104/0x490 fs/namei.c:3463 #1: ffff888032b62310 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff888032b62310 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x15a/0x490 fs/namei.c:3468 1 lock held by syz-executor.1/17239: #0: ffff888032b62310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888032b62310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1658 Comm: khungtaskd Not tainted 5.11.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+0xfa/0x151 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+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16540 Comm: kworker/u4:7 Not tainted 5.11.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:mark_held_locks+0x4d/0xe0 kernel/locking/lockdep.c:4069 Code: ea 03 48 83 ec 08 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 89 00 00 00 41 8b 84 24 80 09 00 00 31 db 49 bd 00 00 00 00 00 fc ff df <4d> 8d b4 24 88 09 00 00 85 c0 7e 57 48 63 c3 48 8d 04 80 49 8d 34 RSP: 0018:ffffc9000182fb98 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 1ffffffff1f5e7c2 RDX: 1ffff11003ba6820 RSI: 0000000000000006 RDI: ffff88801dd34100 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffffff8faa4877 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801dd33780 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffffffff88a1e5b0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1950c1000 CR3: 00000000180a8000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __trace_hardirqs_on_caller kernel/locking/lockdep.c:4105 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4165 [inline] lockdep_hardirqs_on_prepare+0x28b/0x400 kernel/locking/lockdep.c:4117 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0xa0/0x110 kernel/softirq.c:201 spin_unlock_bh include/linux/spinlock.h:399 [inline] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:467 batadv_nc_worker+0x831/0xe50 net/batman-adv/network-coding.c:716 process_one_work+0x98d/0x1600 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:294