INFO: task syz-executor318:5852 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-executor318 state:D stack:29200 pid:5852 tgid:5837 ppid:5833 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:0x7f305eb5be09 RSP: 002b:00007f305eaf1218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007f305ebed6d8 RCX: 00007f305eb5be09 RDX: 00007f305eb353c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f305ebed6d0 R08: 00007ffe83a0fe67 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f305ebb0160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor318:5851 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-executor318 state:D stack:28912 pid:5851 tgid:5838 ppid:5832 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:0x7f305eb5be09 RSP: 002b:00007f305eaf1218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007f305ebed6d8 RCX: 00007f305eb5be09 RDX: 00007f305eb353c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f305ebed6d0 R08: 00007ffe83a0fe67 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f305ebb0160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor318:5853 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-executor318 state:D stack:28912 pid:5853 tgid:5839 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:0x7f305eb5be09 RSP: 002b:00007f305eaf1218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007f305ebed6d8 RCX: 00007f305eb5be09 RDX: 00007f305eb353c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f305ebed6d0 R08: 00007ffe83a0fe67 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f305ebb0160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor318:5854 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-executor318 state:D stack:28848 pid:5854 tgid:5840 ppid:5834 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:0x7f305eb5be09 RSP: 002b:00007f305eaf1218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007f305ebed6d8 RCX: 00007f305eb5be09 RDX: 00007f305eb353c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f305ebed6d0 R08: 00007ffe83a0fe67 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f305ebb0160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor318:5850 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-executor318 state:D stack:28632 pid:5850 tgid:5841 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:0x7f305eb5be09 RSP: 002b:00007f305eaf1218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007f305ebed6d8 RCX: 00007f305eb5be09 RDX: 00007f305eb353c6 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f305ebed6d0 R08: 00007ffe83a0fe67 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f305ebb0160 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/88: 2 locks held by kswapd1/89: 2 locks held by getty/5584: #0: ffff88803500a0a0 (&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 1 lock held by syz-executor318/5843: 1 lock held by syz-executor318/5852: #0: ffff8880781a4180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880781a4180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 1 lock held by syz-executor318/5845: 1 lock held by syz-executor318/5851: #0: ffff8880780f8180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880780f8180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 1 lock held by syz-executor318/5848: 1 lock held by syz-executor318/5853: #0: ffff8880781a5140 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880781a5140 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 1 lock held by syz-executor318/5846: 1 lock held by syz-executor318/5854: #0: ffff8880781a4c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880781a4c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 3 locks held by syz-executor318/5847: 1 lock held by syz-executor318/5850: #0: ffff8880781a46c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880781a46c0 (&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: 5843 Comm: syz-executor318 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:__lock_acquire+0x55/0x2100 kernel/locking/lockdep.c:5086 Code: c7 c0 90 e4 1a 90 48 c1 e8 03 48 be 00 00 00 00 00 fc ff df 0f b6 04 30 84 c0 0f 85 f8 16 00 00 45 31 f6 83 3d 3b 53 80 0e 00 <0f> 84 c8 13 00 00 89 54 24 60 89 5c 24 38 4c 89 f8 48 c1 e8 03 80 RSP: 0018:ffffc90003f5ef90 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffffffff8ea36f60 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff203563f R12: ffff888031f65a00 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8ea36f60 FS: 00007f305eb126c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056147d6dd680 CR3: 0000000030b40000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __fs_reclaim_acquire mm/page_alloc.c:3853 [inline] fs_reclaim_acquire+0x88/0x130 mm/page_alloc.c:3867 might_alloc include/linux/sched/mm.h:318 [inline] prepare_alloc_pages+0x147/0x5b0 mm/page_alloc.c:4512 __alloc_frozen_pages_noprof+0x16f/0x710 mm/page_alloc.c:4743 alloc_pages_mpol+0x30e/0x550 mm/mempolicy.c:2270 alloc_frozen_pages_noprof mm/mempolicy.c:2340 [inline] alloc_pages_noprof+0x121/0x190 mm/mempolicy.c:2360 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2370 filemap_alloc_folio_noprof+0xe1/0x540 mm/filemap.c:1010 do_read_cache_folio+0x2fd/0x5b0 mm/filemap.c:3855 read_mapping_folio include/linux/pagemap.h:1032 [inline] dir_get_folio fs/sysv/dir.c:64 [inline] sysv_find_entry+0x16c/0x590 fs/sysv/dir.c:154 sysv_inode_by_name+0x98/0x2a0 fs/sysv/dir.c:370 sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38 __lookup_slow+0x28c/0x3f0 fs/namei.c:1791 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component fs/namei.c:2112 [inline] link_path_walk+0x99b/0xea0 fs/namei.c:2477 path_parentat fs/namei.c:2681 [inline] __filename_parentat+0x2a7/0x740 fs/namei.c:2705 filename_parentat fs/namei.c:2723 [inline] do_renameat2+0x3b8/0x13f0 fs/namei.c:5136 __do_sys_rename fs/namei.c:5271 [inline] __se_sys_rename fs/namei.c:5269 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5269 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:0x7f305eb5be09 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f305eb12218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f305ebed6c8 RCX: 00007f305eb5be09 RDX: ffffffffffffffb0 RSI: 0000000020000000 RDI: 0000000020000040 RBP: 00007f305ebed6c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f305ebb0160 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e