INFO: task syz-executor238:5855 blocked for more than 143 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor238 state:D stack:28632 pid:5855 tgid:5841 ppid:5837 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:818 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 generic_file_fsync+0x70/0xf0 fs/libfs.c:1573 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:0x7fee0c15ec09 RSP: 002b:00007fee0c0f4218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fee0c1f06d8 RCX: 00007fee0c15ec09 RDX: 00007fee0c138196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fee0c1f06d0 R08: 00007ffc8780c577 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fee0c1b30c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor238:5859 blocked for more than 144 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor238 state:D stack:29200 pid:5859 tgid:5842 ppid:5838 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:818 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 generic_file_fsync+0x70/0xf0 fs/libfs.c:1573 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:0x7fee0c15ec09 RSP: 002b:00007fee0c0f4218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fee0c1f06d8 RCX: 00007fee0c15ec09 RDX: ffffffffffffffb0 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fee0c1f06d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc8780c577 R11: 0000000000000246 R12: 00007fee0c1b30c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor238:5856 blocked for more than 144 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor238 state:D stack:29200 pid:5856 tgid:5843 ppid:5836 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:818 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 generic_file_fsync+0x70/0xf0 fs/libfs.c:1573 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:0x7fee0c15ec09 RSP: 002b:00007fee0c0f4218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fee0c1f06d8 RCX: 00007fee0c15ec09 RDX: 00007fee0c138196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fee0c1f06d0 R08: 00007ffc8780c577 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fee0c1b30c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor238:5857 blocked for more than 145 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor238 state:D stack:29200 pid:5857 tgid:5844 ppid:5839 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:818 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 generic_file_fsync+0x70/0xf0 fs/libfs.c:1573 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:0x7fee0c15ec09 RSP: 002b:00007fee0c0f4218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fee0c1f06d8 RCX: 00007fee0c15ec09 RDX: 00007fee0c138196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fee0c1f06d0 R08: 00007ffc8780c577 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fee0c1b30c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor238:5858 blocked for more than 146 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor238 state:D stack:29200 pid:5858 tgid:5845 ppid:5840 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:818 [inline] __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 generic_file_fsync+0x70/0xf0 fs/libfs.c:1573 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:0x7fee0c15ec09 RSP: 002b:00007fee0c0f4218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fee0c1f06d8 RCX: 00007fee0c15ec09 RDX: 00007fee0c138196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fee0c1f06d0 R08: 00007ffc8780c577 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fee0c1b30c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (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 getty/5576: #0: ffff8880359610a0 (&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-executor238/5847: 1 lock held by syz-executor238/5855: #0: ffff88807951c180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff88807951c180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 1 lock held by syz-executor238/5851: 1 lock held by syz-executor238/5859: #0: ffff888079578180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff888079578180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 1 lock held by syz-executor238/5848: 1 lock held by syz-executor238/5856: #0: ffff88807951c6c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff88807951c6c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 1 lock held by syz-executor238/5849: 1 lock held by syz-executor238/5857: #0: ffff8880795786c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff8880795786c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 2 locks held by syz-executor238/5850: 1 lock held by syz-executor238/5858: #0: ffff888079578c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff888079578c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1536 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #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+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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5849 Comm: syz-executor238 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__rcu_read_unlock+0xb/0x110 kernel/rcu/tree_plugin.h:430 Code: c1 7c aa 4c 89 ff e8 54 60 7d 00 eb a0 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 <41> 54 53 49 bc 00 00 00 00 00 fc ff df 65 4c 8b 34 25 80 d4 03 00 RSP: 0018:ffffc900041bee80 EFLAGS: 00000246 RAX: 739661309a4f8b00 RBX: 0000000000000001 RCX: ffffc900041bed03 RDX: 0000000000000002 RSI: ffffffff8c0aaae0 RDI: ffffffff8c5edd60 RBP: 0000000000000001 R08: ffffffff901856b7 R09: 1ffffffff2030ad6 R10: dffffc0000000000 R11: fffffbfff2030ad7 R12: 0000000000000002 R13: dffffc0000000000 R14: ffffffff81d81b5e R15: ffffea0001655234 FS: 00007fee0c1156c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005619da372958 CR3: 000000005a52e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:882 [inline] page_ref_add_unless include/linux/page_ref.h:239 [inline] folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get+0x228/0x350 include/linux/page_ref.h:264 filemap_get_entry+0x240/0x3b0 mm/filemap.c:1851 __filemap_get_folio+0x72/0x940 mm/filemap.c:1886 grow_dev_folio fs/buffer.c:1039 [inline] grow_buffers fs/buffer.c:1105 [inline] __getblk_slow fs/buffer.c:1131 [inline] bdev_getblk+0x1d4/0x670 fs/buffer.c:1431 __bread_gfp+0x86/0x400 fs/buffer.c:1485 sb_bread include/linux/buffer_head.h:346 [inline] get_branch+0x2c3/0x6e0 fs/sysv/itree.c:102 get_block+0x180/0x16d0 fs/sysv/itree.c:222 block_read_full_folio+0x3ee/0xae0 fs/buffer.c:2396 filemap_read_folio+0x148/0x3b0 mm/filemap.c:2366 do_read_cache_folio+0x373/0x5b0 mm/filemap.c:3826 read_mapping_folio include/linux/pagemap.h:1011 [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:0x7fee0c15ec09 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:00007fee0c115218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fee0c1f06c8 RCX: 00007fee0c15ec09 RDX: 00007fee0c15ec09 RSI: 0000000020000000 RDI: 0000000020000040 RBP: 00007fee0c1f06c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fee0c1b30c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.715 msecs