INFO: task syz.3.39:6117 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.39 state:D stack:24280 pid:6117 tgid:6116 ppid:5846 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5257 [inline] __schedule+0x14bc/0x5030 kernel/sched/core.c:6864 __schedule_loop kernel/sched/core.c:6946 [inline] schedule+0x165/0x360 kernel/sched/core.c:6961 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7018 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1707 inode_lock_nested include/linux/fs.h:1072 [inline] __start_dirop fs/namei.c:2833 [inline] start_dirop fs/namei.c:2844 [inline] do_unlinkat+0x1b2/0x560 fs/namei.c:5389 __do_sys_unlinkat fs/namei.c:5438 [inline] __se_sys_unlinkat fs/namei.c:5431 [inline] __x64_sys_unlinkat+0xd3/0xf0 fs/namei.c:5431 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe1e2b8f749 RSP: 002b:00007fe1e3a44038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007fe1e2de5fa0 RCX: 00007fe1e2b8f749 RDX: 0000000000000000 RSI: 00002000000001c0 RDI: ffffffffffffff9c RBP: 00007fe1e2c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe1e2de6038 R14: 00007fe1e2de5fa0 R15: 00007ffc0592a458 INFO: task syz.3.39:6129 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.39 state:D stack:27208 pid:6129 tgid:6116 ppid:5846 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5257 [inline] __schedule+0x14bc/0x5030 kernel/sched/core.c:6864 __schedule_loop kernel/sched/core.c:6946 [inline] schedule+0x165/0x360 kernel/sched/core.c:6961 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7018 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1707 inode_lock_nested include/linux/fs.h:1072 [inline] lock_rename fs/namei.c:3681 [inline] __start_renaming+0x148/0x410 fs/namei.c:3777 do_renameat2+0x399/0x8e0 fs/namei.c:5991 __do_sys_rename fs/namei.c:6059 [inline] __se_sys_rename fs/namei.c:6057 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:6057 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe1e2b8f749 RSP: 002b:00007fe1e3a02038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fe1e2de6180 RCX: 00007fe1e2b8f749 RDX: 0000000000000000 RSI: 0000200000000440 RDI: 0000200000000340 RBP: 00007fe1e2c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe1e2de6218 R14: 00007fe1e2de6180 R15: 00007ffc0592a458 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3d980 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3d980 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8df3d980 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by getty/5584: #0: ffff8880347da0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 4 locks held by kworker/u8:16/6108: #0: ffff888141ea9948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x841/0x15e0 kernel/workqueue.c:3236 #1: ffffc900052f7b80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15e0 kernel/workqueue.c:3237 #2: ffff888031bf60e0 (&type->s_umount_key#32){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 #3: ffff88814e2f8b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #3: ffff88814e2f8b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1799 [inline] #3: ffff88814e2f8b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1ca/0x350 fs/ext4/inode.c:3028 2 locks held by syz.3.39/6117: #0: ffff888032b24420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:509 #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1072 [inline] #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2833 [inline] #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2844 [inline] #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: do_unlinkat+0x1b2/0x560 fs/namei.c:5389 8 locks held by syz.3.39/6128: 2 locks held by syz.3.39/6129: #0: ffff888032b24420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:509 #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1072 [inline] #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3681 [inline] #1: ffff888058286988 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: __start_renaming+0x148/0x410 fs/namei.c:3777 2 locks held by syz.4.850/8538: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x135/0x170 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline] watchdog+0xfb5/0x1000 kernel/hung_task.c:515 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6108 Comm: kworker/u8:16 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:validate_chain+0x3/0x2130 kernel/locking/lockdep.c:3864 Code: 4c 89 ff 29 f5 0f 82 91 fe ff ff eb b3 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 <41> 56 41 55 41 54 53 48 81 ec e0 00 00 00 49 89 cf 65 48 8b 05 b4 RSP: 0018:ffffc900052f74c0 EFLAGS: 00000086 RAX: ffffffff931f1928 RBX: 0000000000000005 RCX: 8dd164dd17922ecf RDX: 0000000000000000 RSI: ffff88802ab7e778 RDI: ffff88802ab7db80 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff82146b59 R10: dffffc0000000000 R11: fffff94000010e81 R12: 0000000024bd397b R13: ffff88802ab7e6b0 R14: ffff88802ab7e778 R15: 8dd164dd17922ecf FS: 0000000000000000(0000) GS:ffff888125fba000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e4e3b7198 CR3: 000000000dd38000 CR4: 00000000003526f0 Call Trace: __lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5237 lock_acquire+0x117/0x350 kernel/locking/lockdep.c:5868 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:867 [inline] ___pte_offset_map+0x45/0x240 mm/pgtable-generic.c:288 __pte_offset_map include/linux/mm.h:3337 [inline] __pte_offset_map_lock+0x46/0x210 mm/pgtable-generic.c:399 get_locked_pte include/linux/mm.h:2975 [inline] __text_poke+0x2e6/0xa10 arch/x86/kernel/alternative.c:2525 text_poke arch/x86/kernel/alternative.c:2610 [inline] smp_text_poke_batch_finish+0xd0f/0x1130 arch/x86/kernel/alternative.c:2999 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xc5/0x1b0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate+0x1a1/0x240 mm/kfence/core.c:859 process_one_work+0x93a/0x15e0 kernel/workqueue.c:3261 process_scheduled_works kernel/workqueue.c:3344 [inline] worker_thread+0x9b0/0xee0 kernel/workqueue.c:3425 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246