INFO: task syz-executor975:5857 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor975 state:D stack:29200 pid:5857 tgid:5841 ppid:5835 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 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+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:863 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 generic_file_fsync+0x70/0xf0 fs/libfs.c:1574 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:222 [inline] __se_sys_fdatasync fs/sync.c:220 [inline] __x64_sys_fdatasync+0xb6/0x110 fs/sync.c:220 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:0x7fc04de02e09 RSP: 002b:00007fc04dd98218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fc04de946d8 RCX: 00007fc04de02e09 RDX: 00007fc04dddc3c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc04de946d0 R08: 00007ffcfd247e07 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc04de57160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor975:5846 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor975 state:D stack:25304 pid:5846 tgid:5842 ppid:5836 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 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+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:863 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 generic_file_fsync+0x70/0xf0 fs/libfs.c:1574 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:222 [inline] __se_sys_fdatasync fs/sync.c:220 [inline] __x64_sys_fdatasync+0xb6/0x110 fs/sync.c:220 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:0x7fc04de02e09 RSP: 002b:00007fc04ddb9218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fc04de946c8 RCX: 00007fc04de02e09 RDX: 00007fc04de02e09 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc04de946c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc04de57160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor975:5856 blocked for more than 145 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor975 state:D stack:29200 pid:5856 tgid:5843 ppid:5837 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 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+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:863 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 generic_file_fsync+0x70/0xf0 fs/libfs.c:1574 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:222 [inline] __se_sys_fdatasync fs/sync.c:220 [inline] __x64_sys_fdatasync+0xb6/0x110 fs/sync.c:220 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:0x7fc04de02e09 RSP: 002b:00007fc04dd98218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fc04de946d8 RCX: 00007fc04de02e09 RDX: 00007fc04dddc3c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc04de946d0 R08: 00007ffcfd247e07 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc04de57160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor975:5855 blocked for more than 145 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor975 state:D stack:28912 pid:5855 tgid:5844 ppid:5838 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 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+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:863 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 generic_file_fsync+0x70/0xf0 fs/libfs.c:1574 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:222 [inline] __se_sys_fdatasync fs/sync.c:220 [inline] __x64_sys_fdatasync+0xb6/0x110 fs/sync.c:220 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:0x7fc04de02e09 RSP: 002b:00007fc04dd98218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fc04de946d8 RCX: 00007fc04de02e09 RDX: 00007fc04dddc3c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc04de946d0 R08: 00007ffcfd247e07 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc04de57160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor975:5853 blocked for more than 146 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor975 state:D stack:28632 pid:5853 tgid:5845 ppid:5839 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 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+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:863 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 generic_file_fsync+0x70/0xf0 fs/libfs.c:1574 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:222 [inline] __se_sys_fdatasync fs/sync.c:220 [inline] __x64_sys_fdatasync+0xb6/0x110 fs/sync.c:220 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:0x7fc04de02e09 RSP: 002b:00007fc04dd98218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fc04de946d8 RCX: 00007fc04de02e09 RDX: 00007fc04dddc3c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc04de946d0 R08: 00007ffcfd247e07 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc04de57160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 1 lock held by kswapd0/89: 1 lock held by kswapd1/90: 2 locks held by getty/5588: #0: ffff8880312e30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor975/5851: 1 lock held by syz-executor975/5857: #0: ffff888076168180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff888076168180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 1 lock held by syz-executor975/5846: #0: ffff8880761686c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880761686c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 2 locks held by syz-executor975/5854: 1 lock held by syz-executor975/5848: 1 lock held by syz-executor975/5856: #0: ffff888076180c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff888076180c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 3 locks held by syz-executor975/5850: 1 lock held by syz-executor975/5855: #0: ffff888076180180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff888076180180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 2 locks held by syz-executor975/5847: 1 lock held by syz-executor975/5853: #0: ffff8880761806c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880761806c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-syzkaller #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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 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: 90 Comm: kswapd1 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unwind_next_frame+0x4bb/0x22d0 arch/x86/kernel/unwind_orc.c:512 Code: 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 8a 16 00 00 41 0f b7 1f c1 eb 0b 80 e3 01 48 8b 44 24 28 42 0f b6 04 20 84 c0 <4c> 8b 74 24 78 0f 85 8d 16 00 00 48 8b 04 24 88 18 41 0f b7 1f 83 RSP: 0018:ffffc900025fe5f0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff902eaa68 RDX: ffffffff90a5f5e2 RSI: ffffffff90a5f5e2 RDI: ffffffff816b8f90 RBP: ffffc900025fe710 R08: 0000000000000001 R09: ffffc900025fe7b0 R10: ffffc900025fe710 R11: ffffffff81aae620 R12: dffffc0000000000 R13: ffffc900025fe6c0 R14: ffffffff90a5f5e7 R15: ffffffff90a5f5e6 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bdc732f680 CR3: 00000000338e6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_folios+0xe40/0x18b0 mm/page_alloc.c:2707 shrink_folio_list+0x3fcb/0x5910 mm/vmscan.c:1522 evict_folios+0x4220/0x50b0 mm/vmscan.c:4612 try_to_shrink_lruvec+0x713/0x9b0 mm/vmscan.c:4768 shrink_one+0x3b9/0x850 mm/vmscan.c:4813 shrink_many mm/vmscan.c:4876 [inline] lru_gen_shrink_node mm/vmscan.c:4954 [inline] shrink_node+0x37c5/0x3e50 mm/vmscan.c:5925 kswapd_shrink_node mm/vmscan.c:6754 [inline] balance_pgdat mm/vmscan.c:6946 [inline] kswapd+0x20f3/0x3b10 mm/vmscan.c:7211 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244