INFO: task syz-executor.2:5354 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29008 pid:5354 tgid:5346 ppid:5086 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bfs_lookup+0x15c/0x2c0 fs/bfs/dir.c:136 __lookup_slow+0x24f/0x460 fs/namei.c:1692 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xa5/0x1e0 fs/xattr.c:666 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:683 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f706207dea9 RSP: 002b:00007f7062e5b0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f70621ac050 RCX: 00007f706207dea9 RDX: 0000000020000480 RSI: 0000000020000440 RDI: 00000000200003c0 RBP: 00007f70620ca4a4 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f70621ac050 R15: 00007ffe83cc2178 INFO: task syz-executor.2:5356 blocked for more than 144 seconds. Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28416 pid:5356 tgid:5346 ppid:5086 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 d_wait_lookup fs/dcache.c:2449 [inline] d_alloc_parallel+0xeab/0x12b0 fs/dcache.c:2531 __lookup_slow+0x194/0x460 fs/namei.c:1677 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2255 [inline] path_lookupat+0x93/0x770 fs/namei.c:2484 do_o_path fs/namei.c:3770 [inline] path_openat+0x1a08/0x2990 fs/namei.c:3792 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f706207dea9 RSP: 002b:00007f7062e3a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f70621ac120 RCX: 00007f706207dea9 RDX: 0000000000200002 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f70620ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f70621ac120 R15: 00007ffe83cc2178 INFO: task syz-executor.2:5357 blocked for more than 144 seconds. Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26400 pid:5357 tgid:5346 ppid:5086 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 d_wait_lookup fs/dcache.c:2449 [inline] d_alloc_parallel+0xeab/0x12b0 fs/dcache.c:2531 __lookup_slow+0x194/0x460 fs/namei.c:1677 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_parentat+0xaa/0x1b0 fs/namei.c:2532 __filename_parentat+0x1f0/0x630 fs/namei.c:2556 filename_parentat fs/namei.c:2574 [inline] do_rmdir+0xd8/0x410 fs/namei.c:4233 __do_sys_rmdir fs/namei.c:4284 [inline] __se_sys_rmdir fs/namei.c:4282 [inline] __x64_sys_rmdir+0xc7/0x110 fs/namei.c:4282 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f706207dea9 RSP: 002b:00007f7062e190c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f70621ac1f0 RCX: 00007f706207dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00007f70620ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f70621ac1f0 R15: 00007ffe83cc2178 Showing all locks held in the system: 3 locks held by kworker/1:0/24: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by udevd/4525: #0: ffff8880b953ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2380 [inline] #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x107/0x460 kernel/trace/bpf_trace.c:2422 2 locks held by getty/4830: #0: ffff88802a2820a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-fuzzer/5172: 2 locks held by syz-executor.2/5349: 2 locks held by syz-executor.2/5354: #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 #1: ffff88807c2b6cd8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0x15c/0x2c0 fs/bfs/dir.c:136 1 lock held by syz-executor.2/5356: #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.2/5357: #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88805ca40168 (&type->i_mutex_dir_key#13){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.4/5710: #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.0/5782: 2 locks held by syz-executor.2/7289: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/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 PID: 7289 Comm: syz-executor.2 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:209 [inline] RIP: 0010:unwind_next_frame+0x221/0x23a0 arch/x86/kernel/unwind_orc.c:494 Code: 4c 89 e7 e8 d1 a3 50 00 49 81 fc 00 00 00 8b 0f 83 7d 02 00 00 e8 6f a9 50 00 4c 89 e0 48 2d 00 00 00 81 48 c1 e8 08 49 89 c5 <89> c7 89 44 24 38 8b 05 7b e8 e8 0b 44 8d 70 ff 89 44 24 3c 44 89 RSP: 0018:ffffc90003cde4c0 EFLAGS: 00000206 RAX: 000000000000c6b2 RBX: ffffc90003cde540 RCX: ffffc9000cb3f000 RDX: 0000000000040000 RSI: ffffffff813d18e1 RDI: 0000000000000006 RBP: 0000000000000001 R08: 0000000000000006 R09: ffffffff81c6b277 R10: ffffffff8b000000 R11: 0000000000000002 R12: ffffffff81c6b277 R13: 000000000000c6b2 R14: ffffc90003cde600 R15: ffffc90003cde575 FS: 00007f6c996a46c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffdd CR3: 00000000182d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:240 [inline] __kasan_slab_free+0x11d/0x1a0 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2106 [inline] slab_free mm/slub.c:4280 [inline] kmem_cache_free+0x12e/0x380 mm/slub.c:4344 free_buffer_head+0x4e/0x110 fs/buffer.c:3017 try_to_free_buffers+0x1c5/0x2d0 fs/buffer.c:2958 filemap_release_folio+0x219/0x280 mm/filemap.c:4133 shrink_folio_list+0x295a/0x3f00 mm/vmscan.c:1376 evict_folios+0x6e6/0x1bb0 mm/vmscan.c:4537 try_to_shrink_lruvec+0x618/0x9b0 mm/vmscan.c:4733 lru_gen_shrink_lruvec mm/vmscan.c:4876 [inline] shrink_lruvec+0x2df/0x29b0 mm/vmscan.c:5653 shrink_node_memcgs mm/vmscan.c:5873 [inline] shrink_node+0x81e/0x3a80 mm/vmscan.c:5908 shrink_zones mm/vmscan.c:6152 [inline] do_try_to_free_pages+0x361/0x1a20 mm/vmscan.c:6214 try_to_free_mem_cgroup_pages+0x317/0x7f0 mm/vmscan.c:6529 try_charge_memcg+0x3d1/0x11a0 mm/memcontrol.c:2783 try_charge mm/memcontrol.c:2931 [inline] charge_memcg mm/memcontrol.c:7284 [inline] __mem_cgroup_charge+0xa6/0x140 mm/memcontrol.c:7299 mem_cgroup_charge include/linux/memcontrol.h:691 [inline] shmem_alloc_and_add_folio+0x1d9/0x6f0 mm/shmem.c:1677 shmem_get_folio_gfp+0x685/0x13e0 mm/shmem.c:2055 shmem_get_folio mm/shmem.c:2160 [inline] shmem_write_begin+0x15a/0x370 mm/shmem.c:2744 generic_perform_write+0x272/0x620 mm/filemap.c:3974 shmem_file_write_iter+0x114/0x140 mm/shmem.c:2920 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6db/0x1100 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6c9887cbef Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f6c996a3e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000013bd7ef RCX: 00007f6c9887cbef RDX: 00000000013bd7ef RSI: 00007f6c8e600000 RDI: 000000000000000d RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000054f6 R10: 000000002000ad02 R11: 0000000000000293 R12: 000000000000000d R13: 00007f6c996a3f80 R14: 00007f6c996a3f40 R15: 00007f6c8e600000