INFO: task syz-executor.1:19216 blocked for more than 143 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28568 pid:19216 ppid: 6677 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 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:1115 mmput+0x58/0x60 kernel/fork.c:1136 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:865 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:0x7f6a8593c739 RSP: 002b:00007f6a82eb3218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f6a85a40f88 RCX: 00007f6a8593c739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6a85a40f88 RBP: 00007f6a85a40f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6a85a40f8c R13: 00007f6a85f74b1f R14: 00007f6a82eb3300 R15: 0000000000022000 INFO: task syz-executor.0:19234 blocked for more than 143 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28568 pid:19234 ppid: 6572 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 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:1115 mmput+0x58/0x60 kernel/fork.c:1136 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:865 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:0x7f408488f739 RSP: 002b:00007f4081e06218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4084993f88 RCX: 00007f408488f739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4084993f88 RBP: 00007f4084993f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4084993f8c R13: 00007f4084ec7b1f R14: 00007f4081e06300 R15: 0000000000022000 INFO: task syz-executor.3:19246 blocked for more than 144 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28568 pid:19246 ppid: 6831 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 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:1115 mmput+0x58/0x60 kernel/fork.c:1136 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:865 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:0x7f92cd154739 RSP: 002b:00007f92ca6cb218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f92cd258f88 RCX: 00007f92cd154739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f92cd258f88 RBP: 00007f92cd258f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f92cd258f8c R13: 00007f92cd78cb1f R14: 00007f92ca6cb300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8b97fe20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6235: #0: ffff88801e9ad9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/6462: #0: ffff88801d07c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900011982e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.0/6556: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.1/6557: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.2/6558: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.3/6559: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.5/6830: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.1/19216: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.0/19234: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.3/19246: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 1 lock held by syz-executor.5/19256: #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: i_mmap_lock_write include/linux/fs.h:501 [inline] #0: ffff888145987b58 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: unlink_file_vma+0x7d/0x110 mm/mmap.c:169 4 locks held by syz-executor.4/19262: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc1-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:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19262 Comm: syz-executor.4 Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lock_acquire kernel/locking/lockdep.c:5625 [inline] RIP: 0010:lock_acquire+0x19e/0x510 kernel/locking/lockdep.c:5590 Code: 89 e1 44 89 ea 65 ff 05 00 93 a6 7e 48 81 64 24 08 00 02 00 00 44 89 fe 6a 00 4c 89 f7 6a 00 ff b4 24 f8 00 00 00 ff 74 24 18 <41> 0f 94 c1 45 0f b6 c9 e8 d5 96 ff ff 48 c7 c7 c0 fb 8b 89 48 83 RSP: 0018:ffffc90000dc0da8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff920001b81bb RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8b99f288 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff8880b9d32a0b R10: ffffed10173a6541 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8b99f288 R15: 0000000000000000 FS: 00007f561c9b1700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f09cd373000 CR3: 00000000a301d000 CR4: 00000000001526e0 Call Trace: seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline] ktime_get_update_offsets_now+0x82/0x5c0 kernel/time/timekeeping.c:2297 hrtimer_update_base kernel/time/hrtimer.c:631 [inline] hrtimer_interrupt+0x142/0x790 kernel/time/hrtimer.c:1793 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5593 Code: 92 a6 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000b11f828 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92001623f07 RCX: ffffffff815b14af RDX: 1ffff11010af04ce RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8fcfa937 R10: fffffbfff1f9f526 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88809da55738 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] zap_pte_range mm/memory.c:1320 [inline] zap_pmd_range mm/memory.c:1481 [inline] zap_pud_range mm/memory.c:1510 [inline] zap_p4d_range mm/memory.c:1531 [inline] unmap_page_range+0x87b/0x2a10 mm/memory.c:1552 unmap_single_vma+0x198/0x310 mm/memory.c:1597 zap_page_range_single+0x2ca/0x430 mm/memory.c:1680 unmap_mapping_range_vma mm/memory.c:3320 [inline] unmap_mapping_range_tree mm/memory.c:3341 [inline] unmap_mapping_pages+0x22b/0x2b0 mm/memory.c:3403 simple_setattr+0xed/0x110 fs/libfs.c:508 debugfs_setattr+0x7b/0xa0 fs/debugfs/inode.c:55 notify_change+0xaef/0x10c0 fs/attr.c:410 do_truncate+0x13c/0x200 fs/open.c:64 do_sys_ftruncate+0x544/0x740 fs/open.c:192 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:0x7f561f43a739 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f561c9b1188 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f561f53ef80 RCX: 00007f561f43a739 RDX: 0000000000000000 RSI: 0000000000008979 RDI: 0000000000000000 RBP: 00007f561f494cc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f561f53ef80 R13: 00007f561fa72b1f R14: 00007f561c9b1300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 89 e1 mov %esp,%ecx 2: 44 89 ea mov %r13d,%edx 5: 65 ff 05 00 93 a6 7e incl %gs:0x7ea69300(%rip) # 0x7ea6930c c: 48 81 64 24 08 00 02 andq $0x200,0x8(%rsp) 13: 00 00 15: 44 89 fe mov %r15d,%esi 18: 6a 00 pushq $0x0 1a: 4c 89 f7 mov %r14,%rdi 1d: 6a 00 pushq $0x0 1f: ff b4 24 f8 00 00 00 pushq 0xf8(%rsp) 26: ff 74 24 18 pushq 0x18(%rsp) * 2a: 41 0f 94 c1 sete %r9b <-- trapping instruction 2e: 45 0f b6 c9 movzbl %r9b,%r9d 32: e8 d5 96 ff ff callq 0xffff970c 37: 48 c7 c7 c0 fb 8b 89 mov $0xffffffff898bfbc0,%rdi 3e: 48 rex.W 3f: 83 .byte 0x83