INFO: task syz-executor.1:20472 blocked for more than 143 seconds. Not tainted 6.4.0-rc4-syzkaller-00268-g51f269a6ecc7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26336 pid:20472 ppid:5023 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:810 [inline] fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1252 fuse_notify_inval_entry fs/fuse/dev.c:1504 [inline] fuse_notify fs/fuse/dev.c:1792 [inline] fuse_dev_do_write+0x338a/0x54f0 fs/fuse/dev.c:1876 fuse_dev_write+0x148/0x1d0 fs/fuse/dev.c:1960 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x790/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f590088c169 RSP: 002b:00007f5901616168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f59009abf80 RCX: 00007f590088c169 RDX: 0000000000000029 RSI: 00000000200043c0 RDI: 0000000000000003 RBP: 00007f59008e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff7430681f R14: 00007f5901616300 R15: 0000000000022000 INFO: task syz-executor.1:20473 blocked for more than 143 seconds. Not tainted 6.4.0-rc4-syzkaller-00268-g51f269a6ecc7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27712 pid:20473 ppid:5023 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 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_lookup_name+0x332/0x830 fs/fuse/dir.c:392 fuse_lookup+0x182/0x600 fs/fuse/dir.c:433 lookup_one_qstr_excl+0x11b/0x250 fs/namei.c:1605 filename_create+0x297/0x530 fs/namei.c:3885 do_mkdirat+0xb7/0x520 fs/namei.c:4130 __do_sys_mkdirat fs/namei.c:4153 [inline] __se_sys_mkdirat fs/namei.c:4151 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4151 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f590088c169 RSP: 002b:00007f59015f5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f59009ac050 RCX: 00007f590088c169 RDX: 0000000000000000 RSI: 0000000020004380 RDI: ffffffffffffff9c RBP: 00007f59008e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff7430681f R14: 00007f59015f5300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:1/12: #0: ffff8880b993c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a7/0x770 kernel/sched/psi.c:984 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf276f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27ab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4752: #0: ffff88802900e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 2 locks held by syz-executor.1/20472: #0: ffff88802d77fb38 (&fc->killsb){++++}-{3:3}, at: fuse_notify_inval_entry fs/fuse/dev.c:1503 [inline] #0: ffff88802d77fb38 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1792 [inline] #0: ffff88802d77fb38 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x3320/0x54f0 fs/fuse/dev.c:1876 #1: ffff8880314b3e10 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880314b3e10 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1252 3 locks held by syz-executor.1/20473: #0: ffff8880419ec460 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880314b3e10 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880314b3e10 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884 #2: ffff8880314b4278 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:475 2 locks held by syz-executor.1/20604: #0: ffff88802e05c338 (&fc->killsb){++++}-{3:3}, at: fuse_notify_inval_entry fs/fuse/dev.c:1503 [inline] #0: ffff88802e05c338 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1792 [inline] #0: ffff88802e05c338 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x3320/0x54f0 fs/fuse/dev.c:1876 #1: ffff8880314b7410 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880314b7410 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1252 3 locks held by syz-executor.1/20605: #0: ffff88803ff1a460 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880314b7410 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880314b7410 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884 #2: ffff8880314b7878 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:475 2 locks held by syz-executor.1/20668: #0: ffff888082f57338 (&fc->killsb){++++}-{3:3}, at: fuse_notify_inval_entry fs/fuse/dev.c:1503 [inline] #0: ffff888082f57338 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1792 [inline] #0: ffff888082f57338 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x3320/0x54f0 fs/fuse/dev.c:1876 #1: ffff8880782a29d0 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880782a29d0 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x62/0x720 fs/fuse/dir.c:1252 3 locks held by syz-executor.1/20669: #0: ffff8880831a6460 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880782a29d0 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880782a29d0 (&type->i_mutex_dir_key#22/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884 #2: ffff8880782a2e38 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:475 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc4-syzkaller-00268-g51f269a6ecc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 56 Comm: kworker/u4:4 Not tainted 6.4.0-rc4-syzkaller-00268-g51f269a6ecc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: phy17 ieee80211_iface_work RIP: 0010:lock_release+0x634/0x9d0 kernel/locking/lockdep.c:5729 Code: 3c 3b 00 74 08 4c 89 f7 e8 a9 13 78 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90001577540 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920002aeeba RCX: ffffc90001577503 RDX: 0000000000000003 RSI: ffffffff8aea9fa0 RDI: ffffffff8b384400 RBP: ffffc90001577670 R08: dffffc0000000000 R09: fffffbfff1cab98e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920002aeeb4 R13: 0000000000000246 R14: ffffc900015775d0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c007099000 CR3: 000000000cd30000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_objects_fill_pool+0xc9/0x990 lib/debugobjects.c:607 debug_object_assert_init+0x12e/0x420 lib/debugobjects.c:915 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __mod_timer+0x10d/0xf40 kernel/time/timer.c:1020 ieee80211_sta_merge_ibss net/mac80211/ibss.c:1296 [inline] ieee80211_ibss_work+0x48f/0x1490 net/mac80211/ibss.c:1708 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308