INFO: task syz-executor.1:6561 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23688 pid: 6561 ppid: 6560 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] dup_mmap kernel/fork.c:577 [inline] dup_mm+0x761/0x13e0 kernel/fork.c:1504 copy_mm kernel/fork.c:1556 [inline] copy_process+0x6fcf/0x7580 kernel/fork.c:2245 kernel_clone+0xe7/0xac0 kernel/fork.c:2635 __do_sys_clone+0xc8/0x110 kernel/fork.c:2752 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:0x7f7c8db37d2b RSP: 002b:00007ffece4370e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7c8db37d2b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 000055555588c400 R10: 000055555588c6d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffece4371d0 INFO: task syz-executor.3:13597 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27152 pid:13597 ppid: 6565 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] unlink_file_vma+0x7d/0x110 mm/mmap.c:169 free_pgtables+0x1b3/0x2f0 mm/memory.c:427 exit_mmap+0x1df/0x630 mm/mmap.c:3172 __mmput+0x122/0x4b0 kernel/fork.c:1166 mmput+0x58/0x60 kernel/fork.c:1187 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:863 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fbb6609a739 RSP: 002b:00007fbb63611188 EFLAGS: 00000246 ORIG_RAX: 0000000000000147 RAX: 0000000000000050 RBX: 00007fbb6619ef80 RCX: 00007fbb6609a739 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007fbb660f4cc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbb6619ef80 R13: 00007ffdcf8e88af R14: 00007fbb63611300 R15: 0000000000022000 INFO: task syz-executor.0:13615 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26688 pid:13615 ppid: 23236 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] unlink_file_vma+0x7d/0x110 mm/mmap.c:169 free_pgtables+0x1b3/0x2f0 mm/memory.c:427 exit_mmap+0x1df/0x630 mm/mmap.c:3172 __mmput+0x122/0x4b0 kernel/fork.c:1166 mmput+0x58/0x60 kernel/fork.c:1187 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:863 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f447867d739 RSP: 002b:00007f4475bb2218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f44787820f8 RCX: 00007f447867d739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f44787820f8 RBP: 00007f44787820f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f44787820fc R13: 00007ffc2e7272ff R14: 00007f4475bb2300 R15: 0000000000022000 INFO: task syz-executor.1:13602 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26280 pid:13602 ppid: 6561 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] unlink_file_vma+0x7d/0x110 mm/mmap.c:169 free_pgtables+0x1b3/0x2f0 mm/memory.c:427 exit_mmap+0x1df/0x630 mm/mmap.c:3172 __mmput+0x122/0x4b0 kernel/fork.c:1166 mmput+0x58/0x60 kernel/fork.c:1187 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 __do_sys_exit_group kernel/exit.c:933 [inline] __se_sys_exit_group kernel/exit.c:931 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:931 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:0x7f7c8db39739 RSP: 002b:00007f7c8b0afbc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f7c8dc3df80 RCX: 00007f7c8db39739 RDX: 00007f7c8db39739 RSI: 0000000000000000 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 00007f7c8dc3df80 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7c8dc3df80 R13: 00007ffece436eaf R14: 00007f7c8b0b0300 R15: 0000000000022000 INFO: task syz-executor.2:13620 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27992 pid:13620 ppid: 6563 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] unlink_file_vma+0x7d/0x110 mm/mmap.c:169 free_pgtables+0x1b3/0x2f0 mm/memory.c:427 exit_mmap+0x1df/0x630 mm/mmap.c:3172 __mmput+0x122/0x4b0 kernel/fork.c:1166 mmput+0x58/0x60 kernel/fork.c:1187 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:863 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f93a3eb8739 RSP: 002b:00007f93a140e218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f93a3fbd040 RCX: 00007f93a3eb8739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f93a3fbd040 RBP: 00007f93a3fbd038 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f93a3fbd044 R13: 00007ffef6fc6a2f R14: 00007f93a140e300 R15: 0000000000022000 INFO: task syz-executor.5:13628 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27552 pid:13628 ppid: 17189 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] unlink_file_vma+0x7d/0x110 mm/mmap.c:169 free_pgtables+0x1b3/0x2f0 mm/memory.c:427 exit_mmap+0x1df/0x630 mm/mmap.c:3172 __mmput+0x122/0x4b0 kernel/fork.c:1166 mmput+0x58/0x60 kernel/fork.c:1187 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:863 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f420600f739 RSP: 002b:00007ffc8f5ede18 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 0000000000000004 RCX: 00007f420600f739 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f4206113f88 RBP: 00007f4206113f80 R08: 00007f42061100e0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f420611a9e0 R13: 00007ffc8f5edf20 R14: 00007f4206113f80 R15: 000000000015844d INFO: task syz-executor.4:13636 blocked for more than 145 seconds. Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27912 pid:13636 ppid: 6643 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6236 schedule+0xd3/0x270 kernel/sched/core.c:6315 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 i_mmap_lock_write include/linux/fs.h:501 [inline] unlink_file_vma+0x7d/0x110 mm/mmap.c:169 free_pgtables+0x1b3/0x2f0 mm/memory.c:427 exit_mmap+0x1df/0x630 mm/mmap.c:3172 __mmput+0x122/0x4b0 kernel/fork.c:1166 mmput+0x58/0x60 kernel/fork.c:1187 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:863 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f91511bd739 RSP: 002b:00007f914e734218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f91512c1f88 RCX: 00007f91511bd739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f91512c1f88 RBP: 00007f91512c1f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f91512c1f8c R13: 00007fffc672a3ff R14: 00007f914e734300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b9809e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6230: 2 locks held by rs:main Q:Reg/6231: 1 lock held by syz-executor.1/6560: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 4 locks held by syz-executor.1/6561: #0: ffffffff8ba53410 (dup_mmap_sem){++++}-{0:0}, at: dup_mmap kernel/fork.c:498 [inline] #0: ffffffff8ba53410 (dup_mmap_sem){++++}-{0:0}, at: dup_mm+0x108/0x13e0 kernel/fork.c:1504 #1: ffff888024fed528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #1: ffff888024fed528 (&mm->mmap_lock#2){++++}-{3:3}, at: dup_mmap kernel/fork.c:499 [inline] #1: ffff888024fed528 (&mm->mmap_lock#2){++++}-{3:3}, at: dup_mm+0x12e/0x13e0 kernel/fork.c:1504 #2: ffff88804e131d28 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:78 [inline] #2: ffff88804e131d28 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:508 [inline] #2: ffff88804e131d28 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm+0x18a/0x13e0 kernel/fork.c:1504 #3: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #3: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: dup_mmap kernel/fork.c:577 [inline] #3: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: dup_mm+0x761/0x13e0 kernel/fork.c:1504 1 lock held by syz-executor.2/6562: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.3/6564: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.4/6566: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 2 locks held by agetty/14414: #0: ffff888075bb1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900011782e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.5/17183: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.0/23235: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.3/13597: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.0/13615: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.1/13602: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.2/13620: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.5/13628: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 4 locks held by syz-executor.1/13629: 1 lock held by syz-executor.4/13636: #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff8880175c6718 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc2-next-20210922-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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8625 Comm: kworker/u4:8 Not tainted 5.15.0-rc2-next-20210922-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:trace_sched_switch include/trace/events/sched.h:220 [inline] RIP: 0010:__schedule+0x1327/0x26f0 kernel/sched/core.c:6233 Code: 26 04 48 85 db 74 34 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 34 13 00 00 48 8b 7b 08 <4c> 89 f9 4c 89 ea 8b b5 70 ff ff ff e8 58 7c 48 f8 65 ff 0d c1 94 RSP: 0018:ffffc9001715fa60 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff888031d52990 RCX: ffffffff8933dae3 RDX: 1ffff110063aa533 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffffc9001715fb28 R08: 0000000000000000 R09: ffffffff8d6e6cd7 R10: fffffbfff1adcd9a R11: 0000000000000000 R12: ffff8880b9c39a40 R13: ffff88801d758000 R14: ffffc9001715fac0 R15: ffff888079113a00 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e0c8f8000 CR3: 000000000b68e000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: schedule+0xd3/0x270 kernel/sched/core.c:6315 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 toggle_allocation_gate mm/kfence/core.c:633 [inline] toggle_allocation_gate+0x309/0x390 mm/kfence/core.c:618 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 26 04 48 es add $0x48,%al 3: 85 db test %ebx,%ebx 5: 74 34 je 0x3b 7: 48 8d 7b 08 lea 0x8(%rbx),%rdi b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 12: fc ff df 15: 48 89 fa mov %rdi,%rdx 18: 48 c1 ea 03 shr $0x3,%rdx 1c: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 20: 0f 85 34 13 00 00 jne 0x135a 26: 48 8b 7b 08 mov 0x8(%rbx),%rdi * 2a: 4c 89 f9 mov %r15,%rcx <-- trapping instruction 2d: 4c 89 ea mov %r13,%rdx 30: 8b b5 70 ff ff ff mov -0x90(%rbp),%esi 36: e8 58 7c 48 f8 callq 0xf8487c93 3b: 65 gs 3c: ff .byte 0xff 3d: 0d .byte 0xd 3e: c1 .byte 0xc1 3f: 94 xchg %eax,%esp