INFO: task syz-executor725: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-executor725 state:D stack:29200 pid:5852 tgid:5836 ppid:5831 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:0x7fb304358c09 RSP: 002b:00007fb3042ee218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fb3043ea6d8 RCX: 00007fb304358c09 RDX: 00007fb304332196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fb3043ea6d0 R08: 00007ffcf5b58727 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3043ad0c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor725:5854 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-executor725 state:D stack:29200 pid:5854 tgid:5837 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:0x7fb304358c09 RSP: 002b:00007fb3042ee218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fb3043ea6d8 RCX: 00007fb304358c09 RDX: 00007fb304332196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fb3043ea6d0 R08: 00007ffcf5b58727 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3043ad0c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor725:5850 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-executor725 state:D stack:29200 pid:5850 tgid:5838 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:0x7fb304358c09 RSP: 002b:00007fb3042ee218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fb3043ea6d8 RCX: 00007fb304358c09 RDX: 00007fb304332196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fb3043ea6d0 R08: 00007ffcf5b58727 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3043ad0c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor725:5849 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-executor725 state:D stack:28632 pid:5849 tgid:5839 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:0x7fb304358c09 RSP: 002b:00007fb3042ee218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fb3043ea6d8 RCX: 00007fb304358c09 RDX: 00007fb304332196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fb3043ea6d0 R08: 00007ffcf5b58727 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3043ad0c0 R13: 0030656c69662f30 R14: 2f30656c69662f2e R15: 0031656c69662f2e INFO: task syz-executor725:5851 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-executor725 state:D stack:29200 pid:5851 tgid:5840 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:0x7fb304358c09 RSP: 002b:00007fb3042ee218 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fb3043ea6d8 RCX: 00007fb304358c09 RDX: 00007fb304332196 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fb3043ea6d0 R08: 00007ffcf5b58727 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3043ad0c0 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 2 locks held by kswapd0/89: 2 locks held by kswapd1/90: 2 locks held by getty/5583: #0: ffff8880315040a0 (&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-executor725/5842: 1 lock held by syz-executor725/5852: #0: ffff888076468180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff888076468180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 3 locks held by syz-executor725/5843: 1 lock held by syz-executor725/5854: #0: ffff8880764686c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff8880764686c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 1 lock held by syz-executor725/5845: 1 lock held by syz-executor725/5850: #0: ffff88807645cc00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff88807645cc00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 1 lock held by syz-executor725/5844: 1 lock held by syz-executor725/5849: #0: ffff88807645c180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff88807645c180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 2 locks held by syz-executor725/5846: 1 lock held by syz-executor725/5851: #0: ffff88807645c6c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff88807645c6c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: __generic_file_fsync+0x97/0x1a0 fs/libfs.c:1537 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 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+0xc0/0x22d0 arch/x86/kernel/unwind_orc.c:482 Code: 6c 24 78 48 89 8c 24 90 00 00 00 48 89 5c 24 20 bf 01 00 00 00 e8 00 dd 21 00 49 8d 6d 50 48 89 e8 48 c1 e8 03 48 89 44 24 38 <42> 80 3c 20 00 74 08 48 89 ef e8 f1 0f ba 00 48 8b 5d 00 48 85 db RSP: 0018:ffffc900025ee490 EFLAGS: 00000a02 RAX: 1ffff920004bdcb6 RBX: 1ffff920004bdcac RCX: ffffffff8bf4de00 RDX: dffffc0000000000 RSI: ffffffff81aae558 RDI: ffffffff816b8f90 RBP: ffffc900025ee5b0 R08: 0000000000000000 R09: ffffc900025ee650 R10: ffffc900025ee5b0 R11: ffffffff81aae620 R12: dffffc0000000000 R13: ffffc900025ee560 R14: ffffffff81aae558 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560fbbc3a680 CR3: 0000000030234000 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 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4609 [inline] kmem_cache_free+0x195/0x410 mm/slub.c:4711 free_buffer_head+0x54/0x240 fs/buffer.c:3031 try_to_free_buffers+0x2fa/0x3b0 fs/buffer.c:2972 shrink_folio_list+0x1f83/0x5910 mm/vmscan.c:1472 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 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.700 msecs