INFO: task syz-executor.3:18366 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28104 pid:18366 ppid: 8462 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_read_slowpath+0x4df/0x920 kernel/locking/rwsem.c:992 __down_read_common+0x65/0x390 kernel/locking/rwsem.c:1213 inode_lock_shared include/linux/fs.h:783 [inline] lookup_slow fs/namei.c:1560 [inline] walk_component+0x448/0x6b0 fs/namei.c:1861 lookup_last fs/namei.c:2312 [inline] path_lookupat+0x19d/0x970 fs/namei.c:2336 filename_lookup+0x1b0/0x5e0 fs/namei.c:2369 unix_find_other+0x80/0x7c0 net/unix/af_unix.c:935 unix_dgram_sendmsg+0xd3d/0x2990 net/unix/af_unix.c:1695 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x519/0x800 net/socket.c:2345 ___sys_sendmsg net/socket.c:2399 [inline] __sys_sendmmsg+0x453/0x680 net/socket.c:2489 __do_sys_sendmmsg net/socket.c:2518 [inline] __se_sys_sendmmsg net/socket.c:2515 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2515 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f7a4ec71c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e219 RDX: 0000000000000002 RSI: 0000000020008600 RDI: 0000000000000005 RBP: 000000000119c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007fff6cc7aadf R14: 00007f7a4ec729c0 R15: 000000000119c034 INFO: task syz-executor.3:18376 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28512 pid:18376 ppid: 8462 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x20d1/0x2a00 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f7a4ec50c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 000000000119c120 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007fff6cc7aadf R14: 00007f7a4ec519c0 R15: 000000000119c0dc Showing all locks held in the system: 1 lock held by khungtaskd/1623: #0: ffffffff8bd11740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 2 locks held by kworker/u4:6/3144: 1 lock held by in:imklog/8144: #0: ffff888025ad14f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947 3 locks held by syz-executor.3/18356: 1 lock held by syz-executor.3/18366: #0: ffff8880800f8810 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff8880800f8810 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff8880800f8810 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x448/0x6b0 fs/namei.c:1861 1 lock held by syz-executor.3/18376: #0: ffff8880800f8810 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff8880800f8810 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1623 Comm: khungtaskd Not tainted 5.11.0-rc5-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+0x137/0x1be lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 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+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 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: 3144 Comm: kworker/u4:6 Not tainted 5.11.0-rc5-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+0x482/0x5e90 kernel/locking/lockdep.c:4775 Code: 00 00 00 83 e1 01 c1 e1 12 31 d2 83 7c 24 74 00 0f 95 c2 c1 e2 13 44 8b 65 20 41 c1 e4 14 41 09 c6 41 09 d6 45 09 e6 41 09 ce <45> 09 c6 41 09 de 48 8b 44 24 50 8a 04 30 84 c0 0f 85 8c 25 00 00 RSP: 0018:ffffc90001ec7a00 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffff88801b185cac RBP: ffffc90001ec7bb0 R08: 000000000000002c R09: 0000000000000000 R10: fffffbfff1a2724e R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801b185340 R14: 0000000000020000 R15: ffff88801b185d30 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560178718160 CR3: 0000000012b5c000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x114/0x5e0 kernel/locking/lockdep.c:5442 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:259 rcu_read_lock include/linux/rcupdate.h:648 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0xc8/0x5c0 net/batman-adv/network-coding.c:715 process_one_work+0x789/0xfc0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296