INFO: task syz-executor.3:30448 blocked for more than 143 seconds. Not tainted 6.7.0-syzkaller-12377-g9d1694dc91ce #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27088 pid:30448 tgid:30441 ppid:5089 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:837 [inline] lock_rename fs/namei.c:3065 [inline] do_renameat2+0x62c/0x13f0 fs/namei.c:4971 __do_sys_rename fs/namei.c:5083 [inline] __se_sys_rename fs/namei.c:5081 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5081 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f5a46c7cda9 RSP: 002b:00007f5a47a550c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f5a46dac050 RCX: 00007f5a46c7cda9 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000020000140 RBP: 00007f5a46cc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5a46dac050 R15: 00007ffccddcee38 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:9/2429: 2 locks held by kworker/1:3/4521: #0: ffff8880b993c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9928988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 2 locks held by getty/4807: #0: ffff88802a84f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/0:3/5145: #0: ffff888012c8a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888012c8a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90004d0fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90004d0fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 3 locks held by syz-executor.3/30442: 2 locks held by syz-executor.3/30448: #0: ffff88802464a420 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803b49de28 (&sb->s_type->i_mutex_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff88803b49de28 (&sb->s_type->i_mutex_key#22/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3065 [inline] #1: ffff88803b49de28 (&sb->s_type->i_mutex_key#22/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:4971 2 locks held by syz-executor.5/32721: 1 lock held by syz-executor.3/32739: 2 locks held by syz-executor.3/32740: 3 locks held by syz-executor.3/32742: #0: ffff88803f4639c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191 #1: ffff8880300c8420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2795 [inline] #1: ffff8880300c8420 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x233/0xca0 fs/read_write.c:586 #2: ffff88807db05400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #2: ffff88807db05400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:530 [inline] #2: ffff88807db05400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_file_write_iter+0x37a/0x19b0 fs/ext4/file.c:696 2 locks held by syz-executor.3/32744: #0: ffff8880300c8420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2795 [inline] #0: ffff8880300c8420 (sb_writers#4){.+.+}-{0:0}, at: vfs_fallocate+0x4cf/0x6c0 fs/open.c:327 #1: ffff88807db05400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88807db05400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_fallocate+0x147/0x1f60 fs/ext4/extents.c:4702 1 lock held by syz-executor.0/32751: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller-12377-g9d1694dc91ce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5148 Comm: kworker/0:5 Not tainted 6.7.0-syzkaller-12377-g9d1694dc91ce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events nsim_dev_trap_report_work RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x279/0x29e0 arch/x86/kernel/unwind_orc.c:494 Code: 00 00 89 e8 48 8d 1c 85 3c dd 22 90 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 84 c0 0f 85 89 20 00 00 <44> 8b 3b 89 e8 ff c0 48 8d 1c 85 3c dd 22 90 48 89 d8 48 c1 e8 03 RSP: 0018:ffffc90004d1f580 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff9023d638 RCX: 00000000000a6001 RDX: ffff88801dbe1dc0 RSI: 0000000000003e3f RDI: 00000000000a6000 RBP: 0000000000003e3f R08: ffffffff813e0f39 R09: 0000000000000000 R10: ffffc90004d1f6c0 R11: fffff520009a3ee4 R12: ffffc90004d1f6c0 R13: 00000000000a6001 R14: dffffc0000000000 R15: ffffffff813e3f0c FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32b2f000 CR3: 000000000d732000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unwind_start+0x641/0x7a0 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xfd/0x1a0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x70 mm/kasan/common.c:68 kasan_save_free_info+0x4e/0x60 mm/kasan/generic.c:640 poison_slab_object+0xa6/0xe0 mm/kasan/common.c:241 __kasan_slab_free+0x34/0x60 mm/kasan/common.c:257 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2121 [inline] slab_free mm/slub.c:4299 [inline] kmem_cache_free+0x102/0x2a0 mm/slub.c:4363 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x765/0xa90 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242