INFO: task syz-executor.0:5428 blocked for more than 143 seconds. Not tainted 6.6.0-next-20231103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23088 pid:5428 tgid:5428 ppid:1 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_read_slowpath+0x61a/0xb10 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0xf0/0x470 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:812 [inline] lookup_slow fs/namei.c:1710 [inline] walk_component+0x33b/0x5a0 fs/namei.c:2002 link_path_walk.part.0.constprop.0+0x71f/0xce0 fs/namei.c:2329 link_path_walk fs/namei.c:2254 [inline] path_openat+0x23e/0x2c40 fs/namei.c:3775 do_filp_open+0x1dc/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f22fd47a7c1 RSP: 002b:00007ffebae24d60 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f22fd47a7c1 RDX: 0000000000090800 RSI: 00007f22fd4d660e RDI: 00000000ffffff9c RBP: 00007ffebae24e2c R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000001adf0 R14: 000000000001aaa7 R15: 0000000000000009 INFO: task syz-executor.0:5494 blocked for more than 143 seconds. Not tainted 6.6.0-next-20231103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26688 pid:5494 tgid:5493 ppid:5428 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 request_wait_answer+0x4f4/0x8f0 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x504/0xd10 fs/fuse/dev.c:513 fuse_lookup_name+0x1df/0x580 fs/fuse/dir.c:386 fuse_lookup+0x1ad/0x430 fs/fuse/dir.c:425 __lookup_slow+0x24d/0x450 fs/namei.c:1694 lookup_slow fs/namei.c:1711 [inline] walk_component+0x349/0x5a0 fs/namei.c:2002 link_path_walk.part.0.constprop.0+0x71f/0xce0 fs/namei.c:2329 link_path_walk fs/namei.c:2254 [inline] path_openat+0x23e/0x2c40 fs/namei.c:3775 do_filp_open+0x1dc/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f22fd47ad39 RSP: 002b:00007f22fe65c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f22fd59bf80 RCX: 00007f22fd47ad39 RDX: 0000000000000042 RSI: 0000000020002080 RDI: ffffffffffffff9c RBP: 00007f22fd4d7567 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f22fd59bf80 R15: 00007ffebae24a88 INFO: task syz-executor.0:5498 blocked for more than 144 seconds. Not tainted 6.6.0-next-20231103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28704 pid:5498 tgid:5493 ppid:5428 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0x539/0x1290 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1696 inode_lock_nested include/linux/fs.h:837 [inline] fuse_reverse_inval_entry+0x59/0x580 fs/fuse/dir.c:1351 fuse_notify_delete fs/fuse/dev.c:1552 [inline] fuse_notify fs/fuse/dev.c:1801 [inline] fuse_dev_do_write+0xe94/0x2c90 fs/fuse/dev.c:1876 fuse_dev_write+0x155/0x1e0 fs/fuse/dev.c:1960 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64d/0xdf0 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f22fd47ad39 RSP: 002b:00007f22fe63b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f22fd59c050 RCX: 00007f22fd47ad39 RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f22fd4d7567 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f22fd59c050 R15: 00007ffebae24a88 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfae060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfae060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfae060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4825: #0: ffff888025d840a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc4/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5428: #0: ffff8880723d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff8880723d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1710 [inline] #0: ffff8880723d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x33b/0x5a0 fs/namei.c:2002 2 locks held by syz-executor.0/5494: #0: ffff8880723d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff8880723d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1710 [inline] #0: ffff8880723d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x33b/0x5a0 fs/namei.c:2002 #1: ffff8880723d05c8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd2/0x110 fs/fuse/inode.c:492 2 locks held by syz-executor.0/5498: #0: ffff88807b3ad338 (&fc->killsb){.+.+}-{3:3}, at: fuse_notify_delete fs/fuse/dev.c:1551 [inline] #0: ffff88807b3ad338 (&fc->killsb){.+.+}-{3:3}, at: fuse_notify fs/fuse/dev.c:1801 [inline] #0: ffff88807b3ad338 (&fc->killsb){.+.+}-{3:3}, at: fuse_dev_do_write+0xe74/0x2c90 fs/fuse/dev.c:1876 #1: ffff8880723d0150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff8880723d0150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x59/0x580 fs/fuse/dir.c:1351 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/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: 2837 Comm: kworker/u4:11 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:x2apic_send_IPI+0x0/0xe0 arch/x86/kernel/apic/x2apic_phys.c:45 Code: f2 89 f8 b9 30 08 00 00 48 c1 e2 20 48 09 d0 48 c1 ea 20 0f 30 66 90 c3 31 d2 48 89 c6 bf 30 08 00 00 e9 33 e6 5b 03 0f 1f 00 0f 1e fa 41 54 41 89 f4 55 48 63 ef 53 48 c7 c3 2c 1a 02 00 48 RSP: 0018:ffffc9000ac2f908 EFLAGS: 00000246 RAX: 1ffffffff19beeb5 RBX: 0000000000000001 RCX: ffffffff817d2be9 RDX: dffffc0000000000 RSI: 00000000000000fb RDI: 0000000000000001 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000003bccc R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b983d8c0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b99cdfa680 CR3: 000000000cd78000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:101 [inline] send_call_function_single_ipi kernel/smp.c:117 [inline] smp_call_function_many_cond+0x12d9/0x1560 kernel/smp.c:837 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2006 [inline] text_poke_bp_batch+0x746/0x960 arch/x86/kernel/alternative.c:2299 text_poke_flush arch/x86/kernel/alternative.c:2407 [inline] text_poke_flush arch/x86/kernel/alternative.c:2404 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2414 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:830 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822 process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242