INFO: task syz-executor.0:5418 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-next-20231117-syzkaller-01905-geff99d8edbed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23088 pid:5418 tgid:5418 ppid:1 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c00 kernel/sched/core.c:6726 __schedule_loop kernel/sched/core.c:6801 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6816 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6873 rwsem_down_read_slowpath+0x61a/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x120/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:812 [inline] lookup_slow fs/namei.c:1711 [inline] walk_component+0x33b/0x5a0 fs/namei.c:2003 link_path_walk.part.0.constprop.0+0x71f/0xce0 fs/namei.c:2330 link_path_walk fs/namei.c:2255 [inline] path_openat+0x23d/0x2c50 fs/namei.c:3777 do_filp_open+0x1dc/0x430 fs/namei.c:3811 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+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7ff74107c311 RSP: 002b:00007ffc69e81de0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff74107c311 RDX: 0000000000090800 RSI: 00007ff7410d7b46 RDI: 00000000ffffff9c RBP: 00007ffc69e81eac R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000001957f R14: 0000000000019234 R15: 0000000000000009 INFO: task syz-executor.0:5481 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-next-20231117-syzkaller-01905-geff99d8edbed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25696 pid:5481 tgid:5479 ppid:5418 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c00 kernel/sched/core.c:6726 __schedule_loop kernel/sched/core.c:6801 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6816 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:1695 lookup_slow fs/namei.c:1712 [inline] walk_component+0x349/0x5a0 fs/namei.c:2003 link_path_walk.part.0.constprop.0+0x71f/0xce0 fs/namei.c:2330 link_path_walk fs/namei.c:2255 [inline] path_openat+0x23d/0x2c50 fs/namei.c:3777 do_filp_open+0x1dc/0x430 fs/namei.c:3811 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+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7ff74107b560 RSP: 002b:00007ff741e54c00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000004000 RCX: 00007ff74107b560 RDX: 0000000000004000 RSI: 00007ff741e54ca0 RDI: 00000000ffffff9c RBP: 00007ff741e54ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff74119bf80 R15: 00007ffc69e81b38 INFO: task syz-executor.0:5484 blocked for more than 144 seconds. Not tainted 6.7.0-rc1-next-20231117-syzkaller-01905-geff99d8edbed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28864 pid:5484 tgid:5479 ppid:5418 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c00 kernel/sched/core.c:6726 __schedule_loop kernel/sched/core.c:6801 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6816 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6873 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x94c/0x13f0 kernel/locking/rwsem.c:1306 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:2021 [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+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7ff74107c859 RSP: 002b:00007ff741e340c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff74119c050 RCX: 00007ff74107c859 RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007ff7410d8ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff74119c050 R15: 00007ffc69e81b38 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 1 lock held by klogd/4501: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 2 locks held by getty/4816: #0: ffff8880269b60a0 (&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+0xfc4/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5418: #0: ffff888075588150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff888075588150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1711 [inline] #0: ffff888075588150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x33b/0x5a0 fs/namei.c:2003 2 locks held by syz-executor.0/5481: #0: ffff888075588150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff888075588150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1711 [inline] #0: ffff888075588150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x33b/0x5a0 fs/namei.c:2003 #1: ffff8880755885c8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd2/0x110 fs/fuse/inode.c:544 2 locks held by syz-executor.0/5484: #0: ffff8880203a1b38 (&fc->killsb){.+.+}-{3:3}, at: fuse_notify_delete fs/fuse/dev.c:1551 [inline] #0: ffff8880203a1b38 (&fc->killsb){.+.+}-{3:3}, at: fuse_notify fs/fuse/dev.c:1801 [inline] #0: ffff8880203a1b38 (&fc->killsb){.+.+}-{3:3}, at: fuse_dev_do_write+0xe74/0x2c90 fs/fuse/dev.c:1876 #1: ffff888075588150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff888075588150 (&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.7.0-rc1-next-20231117-syzkaller-01905-geff99d8edbed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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/0x390 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+0x2c1/0x3a0 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: 2381 Comm: kworker/u4:7 Not tainted 6.7.0-rc1-next-20231117-syzkaller-01905-geff99d8edbed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:switch_mm_irqs_off+0x448/0xbc0 arch/x86/mm/tlb.c:663 Code: 41 8b 86 80 07 00 00 85 c0 0f 84 4f 03 00 00 e8 fe a3 c5 ff 31 f6 bf 00 01 00 00 e8 e2 df f6 ff 48 83 c4 40 4c 89 f6 48 89 ef <5b> 5d 41 5c 41 5d 41 5e 41 5f e9 a9 7c f3 ff 48 63 d3 48 83 fa 05 RSP: 0018:ffffc9000a4d7960 EFLAGS: 00000086 RAX: 0000000000000000 RBX: ffff888013068780 RCX: 1ffffffff1e322e3 RDX: 0000000000000000 RSI: ffff888013068000 RDI: ffffffff8d123300 RBP: ffffffff8d123300 R08: 0000000000000000 R09: ffffed100260d0f0 R10: ffff888013068783 R11: 0000000000000006 R12: 000000000000fcb0 R13: 000000000003bde8 R14: ffff888013068000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556b634ec600 CR3: 0000000013063000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: use_temporary_mm arch/x86/kernel/alternative.c:1732 [inline] __text_poke+0x3fb/0xca0 arch/x86/kernel/alternative.c:1843 text_poke_bp_batch+0x493/0x750 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2409 [inline] text_poke_flush arch/x86/kernel/alternative.c:2406 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2416 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x154/0x1c0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:835 [inline] toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:822 process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2636 process_scheduled_works kernel/workqueue.c:2709 [inline] worker_thread+0x8b6/0x1290 kernel/workqueue.c:2790 kthread+0x2c1/0x3a0 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