INFO: task syz-executor.1:28290 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24336 pid:28290 tgid:28284 ppid:5097 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1192/0x1b80 fs/fuse/dev.c:513 fuse_readdir_uncached fs/fuse/readdir.c:361 [inline] fuse_readdir+0x185a/0x31a0 fs/fuse/readdir.c:601 iterate_dir+0x1cd/0x540 fs/readdir.c:106 __do_sys_getdents64 fs/readdir.c:405 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:390 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7efe64a7cce9 RSP: 002b:00007efe6582b0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007efe64b9bf80 RCX: 00007efe64a7cce9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007efe64ac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007efe64b9bf80 R15: 00007ffe148319b8 INFO: task syz-executor.1:28294 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26704 pid:28294 tgid:28284 ppid:5097 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 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] fuse_reverse_inval_entry+0x62/0x720 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+0x3443/0x54e0 fs/fuse/dev.c:1876 fuse_dev_write+0x149/0x1d0 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+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7efe64a7cce9 RSP: 002b:00007efe6580a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007efe64b9c050 RCX: 00007efe64a7cce9 RDX: 000000000000002a RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007efe64ac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007efe64b9c050 R15: 00007ffe148319b8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4815: #0: ffff8880260ee0a0 (&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 4 locks held by syz-executor.1/28290: #0: ffff88803e034d48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1177 #1: ffff88809228e690 (&type->i_mutex_dir_key#18){.+.+}-{3:3}, at: iterate_dir+0xd7/0x540 fs/readdir.c:99 #2: ffff88801e6490a8 (&ff->readdir.lock){+.+.}-{3:3}, at: fuse_readdir+0x191/0x31a0 fs/fuse/readdir.c:595 #3: ffff88809228eb08 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:544 2 locks held by syz-executor.1/28294: #0: ffff888064dc8338 (&fc->killsb){++++}-{3:3}, at: fuse_notify_delete fs/fuse/dev.c:1551 [inline] #0: ffff888064dc8338 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1801 [inline] #0: ffff888064dc8338 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x33d9/0x54e0 fs/fuse/dev.c:1876 #1: ffff88809228e690 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff88809228e690 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1351 4 locks held by syz-executor.1/28369: #0: ffff88807a60a5c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1177 #1: ffff888092288150 (&type->i_mutex_dir_key#18){.+.+}-{3:3}, at: iterate_dir+0xd7/0x540 fs/readdir.c:99 #2: ffff8880207704a8 (&ff->readdir.lock){+.+.}-{3:3}, at: fuse_readdir+0x191/0x31a0 fs/fuse/readdir.c:595 #3: ffff8880922885c8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:544 2 locks held by syz-executor.1/28370: #0: ffff8880839ecb38 (&fc->killsb){++++}-{3:3}, at: fuse_notify_delete fs/fuse/dev.c:1551 [inline] #0: ffff8880839ecb38 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1801 [inline] #0: ffff8880839ecb38 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x33d9/0x54e0 fs/fuse/dev.c:1876 #1: ffff888092288150 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff888092288150 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1351 4 locks held by syz-executor.1/28426: #0: ffff8880204c79c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1177 #1: ffff88808f985fd0 (&type->i_mutex_dir_key#18){.+.+}-{3:3}, at: iterate_dir+0xd7/0x540 fs/readdir.c:99 #2: ffff88807c9e20a8 (&ff->readdir.lock){+.+.}-{3:3}, at: fuse_readdir+0x191/0x31a0 fs/fuse/readdir.c:595 #3: ffff88808f986448 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:544 2 locks held by syz-executor.1/28427: #0: ffff888094c7eb38 (&fc->killsb){++++}-{3:3}, at: fuse_notify_delete fs/fuse/dev.c:1551 [inline] #0: ffff888094c7eb38 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1801 [inline] #0: ffff888094c7eb38 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x33d9/0x54e0 fs/fuse/dev.c:1876 #1: ffff88808f985fd0 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff88808f985fd0 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1351 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc8-syzkaller #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2879 Comm: kworker/u4:11 Not tainted 6.7.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203 Code: 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d e4 17 a6 0b 48 89 de 5b e9 93 28 5b 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d 00 3f 75 7e 65 8b 15 01 3f 75 RSP: 0018:ffffc9000af9f718 EFLAGS: 00000297 RAX: ffff8880b993d480 RBX: ffff8880b993d488 RCX: ffff8880270e0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc9000af9f920 R08: ffffffff8182e227 R09: 1ffffffff1e01845 R10: dffffc0000000000 R11: fffffbfff1e01846 R12: dffffc0000000000 R13: 0000000000000002 R14: 0000000000000003 R15: ffff8880b9900000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563d06eaa258 CR3: 000000000d731000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpu_max_bits_warn include/linux/cpumask.h:143 [inline] cpumask_check include/linux/cpumask.h:150 [inline] __cpumask_clear_cpu include/linux/cpumask.h:492 [inline] smp_call_function_many_cond+0x4fd/0x2940 kernel/smp.c:802 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2016 [inline] text_poke_bp_batch+0x726/0xb30 arch/x86/kernel/alternative.c:2288 text_poke_flush arch/x86/kernel/alternative.c:2417 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2424 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:830 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781 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