INFO: task syz-executor.3:17151 blocked for more than 143 seconds. Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29408 pid:17151 ppid: 17128 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5184 [inline] __schedule+0xa09/0x4f10 kernel/sched/core.c:6496 schedule+0xd2/0x1f0 kernel/sched/core.c:6568 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1653 inode_lock_nested include/linux/fs.h:796 [inline] filename_create+0x1aa/0x4a0 fs/namei.c:3746 do_mkdirat+0x94/0x300 fs/namei.c:3990 __do_sys_mkdir fs/namei.c:4021 [inline] __se_sys_mkdir fs/namei.c:4019 [inline] __x64_sys_mkdir+0xf2/0x140 fs/namei.c:4019 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+0x46/0xb0 RIP: 0033:0x7f321e889209 RSP: 002b:00007f321f995168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f321e99c030 RCX: 00007f321e889209 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f321e8e3161 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec5ab0b6f R14: 00007f321f995300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bd864f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bd861f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bd87040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3279: #0: ffff8880268c7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177 3 locks held by kworker/1:6/3689: #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90003c5fda8 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffffffff8bd91800 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x630 kernel/rcu/tree.c:3783 3 locks held by kworker/u4:13/4431: #0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90009fcfda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffffffff8bd91800 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x630 kernel/rcu/tree.c:3783 2 locks held by syz-executor.3/16970: #0: ffff888020d66460 (sb_writers#19){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3739 #1: ffff888038cb8d00 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline] #1: ffff888038cb8d00 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3746 2 locks held by syz-executor.3/17150: #0: ffff888088d60460 (sb_writers#19){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3739 #1: ffff888038cb98b0 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline] #1: ffff888038cb98b0 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3746 2 locks held by syz-executor.3/17151: #0: ffff888088d60460 (sb_writers#19){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3739 #1: ffff888038cb98b0 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline] #1: ffff888038cb98b0 (&sb->s_type->i_mutex_key#26/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3746 1 lock held by syz-executor.3/17232: #0: ffff88808a8560e0 (&type->s_umount_key#59/1){+.+.}-{3:3}, at: alloc_super+0x1d8/0xaa0 fs/super.c:228 1 lock held by syz-executor.0/19175: 1 lock held by syz-executor.5/19181: #0: ffff8880b9a39f18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:552 [inline] #0: ffff8880b9a39f18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x8c/0x120 kernel/sched/core.c:537 1 lock held by syz-executor.4/19187: 1 lock held by syz-executor.2/19188: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 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:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19193 Comm: syz-executor.1 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:mas_split_final_node.isra.0+0x59d/0xae0 lib/maple_tree.c:3278 Code: 18 45 30 e4 4c 89 e1 48 c1 e9 03 80 3c 11 00 0f 85 81 04 00 00 48 89 c1 4d 8b 24 24 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 <80> 3c 11 00 0f 85 77 04 00 00 4c 89 20 4c 8b 65 10 48 b8 00 00 00 RSP: 0018:ffffc90014557320 EFLAGS: 00000a06 RAX: ffff888088a3a000 RBX: ffffc90014557cd0 RCX: 1ffff11011147400 RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffffc90014557570 RBP: ffffc90014557498 R08: 1ffff920028aaeae R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880746c4fc1 R13: ffff888088a3ac00 R14: ffffc900145574f8 R15: ffff888088a3a01c FS: 00005555558e4400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ce8b9bf64 CR3: 0000000080489000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: mas_split lib/maple_tree.c:3487 [inline] mas_commit_b_node lib/maple_tree.c:3575 [inline] mas_wr_modify+0x20d8/0x5b00 lib/maple_tree.c:4317 mas_wr_store_entry.isra.0+0x5c3/0xf90 lib/maple_tree.c:4355 mas_store_prealloc+0xaf/0x150 lib/maple_tree.c:5644 mmap_region+0xd93/0x1bf0 mm/mmap.c:2755 do_mmap+0x825/0xf50 mm/mmap.c:1483 vm_mmap_pgoff+0x1ab/0x270 mm/util.c:520 ksys_mmap_pgoff+0x79/0x5a0 mm/mmap.c:1529 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+0x46/0xb0 RIP: 0033:0x7f7ce8a89252 Code: 00 00 00 00 00 0f 1f 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 c7 c0 b8 ff ff ff 64 RSP: 002b:00007ffe28416f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000020022 RCX: 00007f7ce8a89252 RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffe28417140 R13: 00007f7ce81ff700 R14: 0000000000000000 R15: 0000000000022000