INFO: task syz-executor276:5848 blocked for more than 143 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor276 state:D stack:28848 pid:5848 tgid:5834 ppid:5831 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] chmod_common+0x1bb/0x4c0 fs/open.c:634 do_fchmodat fs/open.c:686 [inline] __do_sys_fchmodat fs/open.c:705 [inline] __se_sys_fchmodat fs/open.c:702 [inline] __x64_sys_fchmodat+0x11d/0x1c0 fs/open.c:702 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:0x7f2bc41e7ec9 RSP: 002b:00007f2bc417d218 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007f2bc42796b8 RCX: 00007f2bc41e7ec9 RDX: 00000000ffffff19 RSI: 0000000020000000 RDI: 00000000ffffff9c RBP: 00007f2bc42796b0 R08: 00007fffc99d52c7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bc42796bc R13: 0030656c69662f2e R14: 00007f2bc423c160 R15: 00000000ffffff19 INFO: task syz-executor276:5847 blocked for more than 144 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor276 state:D stack:28216 pid:5847 tgid:5835 ppid:5829 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] chmod_common+0x1bb/0x4c0 fs/open.c:634 do_fchmodat fs/open.c:686 [inline] __do_sys_fchmodat fs/open.c:705 [inline] __se_sys_fchmodat fs/open.c:702 [inline] __x64_sys_fchmodat+0x11d/0x1c0 fs/open.c:702 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:0x7f2bc41e7ec9 RSP: 002b:00007f2bc417d218 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007f2bc42796b8 RCX: 00007f2bc41e7ec9 RDX: 00000000ffffff19 RSI: 0000000020000000 RDI: 00000000ffffff9c RBP: 00007f2bc42796b0 R08: 00007fffc99d52c7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bc42796bc R13: 0030656c69662f2e R14: 00007f2bc423c160 R15: 00000000ffffff19 INFO: task syz-executor276:5851 blocked for more than 145 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor276 state:D stack:28848 pid:5851 tgid:5836 ppid:5830 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] chmod_common+0x1bb/0x4c0 fs/open.c:634 do_fchmodat fs/open.c:686 [inline] __do_sys_fchmodat fs/open.c:705 [inline] __se_sys_fchmodat fs/open.c:702 [inline] __x64_sys_fchmodat+0x11d/0x1c0 fs/open.c:702 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:0x7f2bc41e7ec9 RSP: 002b:00007f2bc417d218 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007f2bc42796b8 RCX: 00007f2bc41e7ec9 RDX: 00000000ffffff19 RSI: 0000000020000000 RDI: 00000000ffffff9c RBP: 00007f2bc42796b0 R08: 00007fffc99d52c7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bc42796bc R13: 0030656c69662f2e R14: 00007f2bc423c160 R15: 00000000ffffff19 INFO: task syz-executor276:5849 blocked for more than 145 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor276 state:D stack:28848 pid:5849 tgid:5838 ppid:5832 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] chmod_common+0x1bb/0x4c0 fs/open.c:634 do_fchmodat fs/open.c:686 [inline] __do_sys_fchmodat fs/open.c:705 [inline] __se_sys_fchmodat fs/open.c:702 [inline] __x64_sys_fchmodat+0x11d/0x1c0 fs/open.c:702 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:0x7f2bc41e7ec9 RSP: 002b:00007f2bc417d218 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007f2bc42796b8 RCX: 00007f2bc41e7ec9 RDX: 00000000ffffff19 RSI: 0000000020000000 RDI: 00000000ffffff9c RBP: 00007f2bc42796b0 R08: 00007fffc99d52c7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bc42796bc R13: 0030656c69662f2e R14: 00007f2bc423c160 R15: 00000000ffffff19 INFO: task syz-executor276:5850 blocked for more than 146 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor276 state:D stack:28848 pid:5850 tgid:5840 ppid:5833 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] chmod_common+0x1bb/0x4c0 fs/open.c:634 do_fchmodat fs/open.c:686 [inline] __do_sys_fchmodat fs/open.c:705 [inline] __se_sys_fchmodat fs/open.c:702 [inline] __x64_sys_fchmodat+0x11d/0x1c0 fs/open.c:702 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:0x7f2bc41e7ec9 RSP: 002b:00007f2bc417d218 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007f2bc42796b8 RCX: 00007f2bc41e7ec9 RDX: 00000000ffffff19 RSI: 0000000020000000 RDI: 00000000ffffff9c RBP: 00007f2bc42796b0 R08: 00007fffc99d52c7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bc42796bc R13: 0030656c69662f2e R14: 00007f2bc423c160 R15: 00000000ffffff19 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/89: 2 locks held by getty/5581: #0: ffff8880353120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor276/5841: 2 locks held by syz-executor276/5848: #0: ffff8880790ca420 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888078bc8180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888078bc8180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: chmod_common+0x1bb/0x4c0 fs/open.c:634 2 locks held by syz-executor276/5843: 2 locks held by syz-executor276/5847: #0: ffff88807ca24420 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888078bc86c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888078bc86c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: chmod_common+0x1bb/0x4c0 fs/open.c:634 1 lock held by syz-executor276/5842: 2 locks held by syz-executor276/5851: #0: ffff8880119c6420 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888073094c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888073094c00 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: chmod_common+0x1bb/0x4c0 fs/open.c:634 1 lock held by syz-executor276/5844: 2 locks held by syz-executor276/5849: #0: ffff888072f66420 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff8880730946c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff8880730946c0 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: chmod_common+0x1bb/0x4c0 fs/open.c:634 2 locks held by syz-executor276/5845: 2 locks held by syz-executor276/5850: #0: ffff888072ffc420 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888073094180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888073094180 (&type->i_mutex_dir_key#6){++++}-{4:4}, at: chmod_common+0x1bb/0x4c0 fs/open.c:634 2 locks held by dhcpcd/5874: #0: ffff888078aeb808 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff888078aeb808 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: __sock_release net/socket.c:639 [inline] #0: ffff888078aeb808 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1408 #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5844 Comm: syz-executor276 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:stack_trace_consume_entry+0xd/0x280 kernel/stacktrace.c:83 Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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> 48 83 ec 18 48 89 fb 48 ba 00 00 00 00 00 fc ff df 4c 8d 4f 10 RSP: 0018:ffffc9000408eb10 EFLAGS: 00000286 RAX: ffffffff82272e6a RBX: ffffc9000408eb40 RCX: ffffffff91774000 RDX: ffffffff91923001 RSI: ffffffff82272e6a RDI: ffffc9000408ec20 RBP: ffffc9000408ebd0 R08: ffffc9000408f590 R09: 0000000000000000 R10: ffffc9000408eb90 R11: ffffffff818b3980 R12: ffff888032b8bc00 R13: ffffffff818b3980 R14: ffffc9000408ec20 R15: 0000000000000000 FS: 00007f2bc419e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc356926b90 CR3: 000000007d3ae000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x92/0x800 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1558 prep_new_page mm/page_alloc.c:1566 [inline] get_page_from_freelist+0x3651/0x37a0 mm/page_alloc.c:3476 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4753 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2269 alloc_slab_page+0x6a/0x110 mm/slub.c:2423 allocate_slab+0x5a/0x2b0 mm/slub.c:2589 new_slab mm/slub.c:2642 [inline] ___slab_alloc+0xc27/0x14a0 mm/slub.c:3830 __slab_alloc+0x58/0xa0 mm/slub.c:3920 __slab_alloc_node mm/slub.c:3995 [inline] slab_alloc_node mm/slub.c:4156 [inline] kmem_cache_alloc_noprof+0x268/0x380 mm/slub.c:4175 alloc_buffer_head+0x2a/0x290 fs/buffer.c:3015 folio_alloc_buffers+0x31f/0x640 fs/buffer.c:924 create_empty_buffers+0x3a/0x530 fs/buffer.c:1662 block_read_full_folio+0x244/0xae0 fs/buffer.c:2377 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+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 __do_sys_chdir fs/open.c:553 [inline] __se_sys_chdir+0xbc/0x220 fs/open.c:547 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:0x7f2bc41e7ec9 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:00007f2bc419e218 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f2bc42796a8 RCX: 00007f2bc41e7ec9 RDX: 00007f2bc41e7ec9 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f2bc42796a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bc42796ac R13: 0030656c69662f2e R14: 00007f2bc423c160 R15: 00000000ffffff19