INFO: task syz.3.265:8227 blocked for more than 143 seconds.
Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.265 state:D stack:27424 pid:8227 tgid:8190 ppid:7668 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x17fa/0x4bd0 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6767 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6782
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
inode_lock_nested include/linux/fs.h:850 [inline]
lock_rename fs/namei.c:3161 [inline]
do_renameat2+0x62c/0x13f0 fs/namei.c:5105
__do_sys_renameat2 fs/namei.c:5204 [inline]
__se_sys_renameat2 fs/namei.c:5201 [inline]
__x64_sys_renameat2+0xce/0xe0 fs/namei.c:5201
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff99057e719
RSP: 002b:00007ff99130d038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007ff990736058 RCX: 00007ff99057e719
RDX: ffffffffffffff9c RSI: 0000000020000580 RDI: ffffffffffffff9c
RBP: 00007ff9905f139e R08: 0000000000000004 R09: 0000000000000000
R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007ff990736058 R15: 00007ffe4504cd28
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e7e2188 (wq_pool_mutex){+.+.}-{3:3}, at: pwq_release_workfn+0x422/0x800 kernel/workqueue.c:5064
1 lock held by khungtaskd/30:
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by kworker/u8:2/35:
2 locks held by kworker/u8:4/70:
2 locks held by getty/5588:
#0: ffff888031a0a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032532f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by syz.3.265/8191:
2 locks held by syz.3.265/8227:
#0: ffff88806b06e420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff8880626e86c0 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#1: ffff8880626e86c0 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3161 [inline]
#1: ffff8880626e86c0 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:5105
1 lock held by syz-executor/9700:
#0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
3 locks held by syz.3.379/9829:
2 locks held by syz.2.381/9837:
#0: ffff8880719b00e0 (&type->s_umount_key#53/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e7e2188 (wq_pool_mutex){+.+.}-{3:3}, at: apply_wqattrs_lock kernel/workqueue.c:5152 [inline]
#1: ffffffff8e7e2188 (wq_pool_mutex){+.+.}-{3:3}, at: __alloc_workqueue+0xa55/0x1f20 kernel/workqueue.c:5706
1 lock held by syz.1.382/9872:
#0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
4 locks held by syz.1.382/9884:
#0: ffff88805d686420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805f3da850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline]
#1: ffff88805f3da850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3691 [inline]
#1: ffff88805f3da850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x89a/0x3590 fs/namei.c:3930
#2: ffff88805f3da5b8 (&ni->ni_lock#3/6){+.+.}-{3:3}, at: ni_lock_dir fs/ntfs3/ntfs_fs.h:1114 [inline]
#2: ffff88805f3da5b8 (&ni->ni_lock#3/6){+.+.}-{3:3}, at: ntfs_create_inode+0x20e/0x3920 fs/ntfs3/inode.c:1219
#3: ffff88805f3d8fb0 (&ni->ni_lock#3){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1129 [inline]
#3: ffff88805f3d8fb0 (&ni->ni_lock#3){+.+.}-{3:3}, at: ni_write_inode+0x1bc/0x1010 fs/ntfs3/frecord.c:3330
1 lock held by syz.0.383/9871:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9888 Comm: sed Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:mas_next_slot+0x6f/0xea0
Code: 57 f9 47 f6 48 89 5c 24 28 4c 8b 65 10 4c 8d 6d 18 4c 8d 75 38 48 8d 45 28 48 89 44 24 70 48 8d 45 3d 48 89 04 24 48 8d 45 3f <48> 89 44 24 30 48 8d 45 20 48 89 44 24 78 48 8d 5d 08 4c 89 e9 48
RSP: 0018:ffffc9000355f498 EFLAGS: 00000246
RAX: ffffc9000355f67f RBX: ffffc9000355f650 RCX: ffff88802fadda00
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffc9000355f640
RBP: ffffc9000355f640 R08: ffffffff8bb3c010 R09: ffffffff8bb3bfd4
R10: 0000000000000002 R11: ffff88802fadda00 R12: 000056163d7fcfff
R13: ffffc9000355f658 R14: ffffc9000355f678 R15: ffffffffffffffff
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5ebd0de290 CR3: 0000000053936000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mas_find+0x950/0xbb0 lib/maple_tree.c:6059
vma_next include/linux/mm.h:1007 [inline]
validate_mm+0x104/0x550 mm/vma.c:535
vms_complete_munmap_vmas+0x722/0x910 mm/vma.c:1166
mmap_region+0x10aa/0x2940 mm/mmap.c:1546
do_mmap+0x8f0/0x1000 mm/mmap.c:496
vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588
ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5ebd100b74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007ffe8ff43ba8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffe8ff43c20 RCX: 00007f5ebd100b74
RDX: 0000000000000001 RSI: 0000000000007000 RDI: 00007f5ebce4d000
RBP: 00007ffe8ff43f80 R08: 0000000000000003 R09: 000000000001b000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007f5ebd0ddfc0
R13: 00007ffe8ff44008 R14: 000000000001a43e R15: 0000000000000000