INFO: task syz-executor.3:30651 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-00152-g3ecc37918c80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:22072 pid:30651 ppid:3673 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write_nested+0x23f/0x280 kernel/locking/rwsem.c:1673 inode_lock_nested include/linux/fs.h:791 [inline] fuse_reverse_inval_entry+0xaa/0x860 fs/fuse/dir.c:1184 fuse_notify_inval_entry fs/fuse/dev.c:1501 [inline] fuse_notify fs/fuse/dev.c:1789 [inline] fuse_dev_do_write+0x2f60/0x3cc0 fs/fuse/dev.c:1873 fuse_dev_write+0x143/0x1d0 fs/fuse/dev.c:1957 call_write_iter include/linux/fs.h:2199 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7dc/0xc50 fs/read_write.c:584 ksys_write+0x177/0x2a0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f82aa08c0d9 RSP: 002b:00007f82aadba168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f82aa1abf80 RCX: 00007f82aa08c0d9 RDX: 0000000000000029 RSI: 00000000200043c0 RDI: 0000000000000003 RBP: 00007f82aa0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb408543f R14: 00007f82aadba300 R15: 0000000000022000 INFO: task syz-executor.3:30652 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-00152-g3ecc37918c80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24360 pid:30652 ppid:3673 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1034/0x1870 fs/fuse/dev.c:511 fuse_lookup_name+0x349/0x830 fs/fuse/dir.c:392 fuse_lookup+0x13e/0x5d0 fs/fuse/dir.c:433 __lookup_hash+0x115/0x240 fs/namei.c:1601 filename_create+0x25f/0x4f0 fs/namei.c:3808 do_mkdirat+0xb5/0x550 fs/namei.c:4051 __do_sys_mkdirat fs/namei.c:4076 [inline] __se_sys_mkdirat fs/namei.c:4074 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4074 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f82aa08c0d9 RSP: 002b:00007f82aad99168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f82aa1ac050 RCX: 00007f82aa08c0d9 RDX: 0000000000000000 RSI: 0000000020004380 RDI: ffffffffffffff9c RBP: 00007f82aa0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb408543f R14: 00007f82aad99300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d127330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d127b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d127160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3319: #0: ffff888017be7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:7/3767: 2 locks held by syz-executor.3/30651: #0: ffff88802980c338 (&fc->killsb){++++}-{3:3}, at: fuse_notify_inval_entry fs/fuse/dev.c:1500 [inline] #0: ffff88802980c338 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1789 [inline] #0: ffff88802980c338 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x2f1b/0x3cc0 fs/fuse/dev.c:1873 #1: ffff8880715e1c50 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff8880715e1c50 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0xaa/0x860 fs/fuse/dir.c:1184 3 locks held by syz-executor.3/30652: #0: ffff888079210460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff8880715e1c50 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff8880715e1c50 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807 #2: ffff8880715e20b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.3/30938: #0: ffff88807bf30338 (&fc->killsb){++++}-{3:3}, at: fuse_notify_inval_entry fs/fuse/dev.c:1500 [inline] #0: ffff88807bf30338 (&fc->killsb){++++}-{3:3}, at: fuse_notify fs/fuse/dev.c:1789 [inline] #0: ffff88807bf30338 (&fc->killsb){++++}-{3:3}, at: fuse_dev_do_write+0x2f1b/0x3cc0 fs/fuse/dev.c:1873 #1: ffff888049395910 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888049395910 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0xaa/0x860 fs/fuse/dir.c:1184 3 locks held by syz-executor.3/30941: #0: ffff88807e96e460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888049395910 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888049395910 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807 #2: ffff888049395d78 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.3/31708: #0: ffff8880715e3750 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff8880715e3750 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3480 [inline] #0: ffff8880715e3750 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x7aa/0x2df0 fs/namei.c:3711 #1: ffff8880715e3bb8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 1 lock held by syz-executor.3/31711: #0: ffff8880715e3750 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff8880715e3750 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lock_mount+0x5f/0x2d0 fs/namespace.c:2292 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc8-syzkaller-00152-g3ecc37918c80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 34 Comm: kworker/u4:2 Not tainted 6.1.0-rc8-syzkaller-00152-g3ecc37918c80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy12 ieee80211_iface_work RIP: 0010:mark_lock+0x1/0x350 kernel/locking/lockdep.c:4595 Code: 38 c1 7c 8c 48 c7 c7 18 2a 76 8e e8 99 0e 74 00 48 ba 00 00 00 00 00 fc ff df e9 71 ff ff ff e8 e5 bd 27 09 0f 1f 44 00 00 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 10 49 89 f7 48 89 3c 24 49 bd RSP: 0018:ffffc90000ab7630 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff888018444520 RCX: ffffffff816ab72a RDX: 0000000000000002 RSI: ffff888018444520 RDI: ffff888018443a80 RBP: ffffc90000ab76e8 R08: dffffc0000000000 R09: fffffbfff20b2e46 R10: fffffbfff20b2e46 R11: 1ffffffff20b2e45 R12: ffff888018444540 R13: 0000000000000002 R14: ffff8880184444c8 R15: 1ffff11003088899 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005629c3e504c0 CR3: 00000000280ca000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks kernel/locking/lockdep.c:4236 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4254 [inline] lockdep_hardirqs_on_prepare+0x260/0x790 kernel/locking/lockdep.c:4321 trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8b/0x120 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x5c2/0x650 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:1699 [inline] slab_free_freelist_hook+0xcf/0x1a0 mm/slub.c:1750 slab_free mm/slub.c:3661 [inline] __kmem_cache_free+0x71/0x110 mm/slub.c:3674 ieee80211_ibss_rx_queued_mgmt+0x1acb/0x2c00 ieee80211_iface_process_skb net/mac80211/iface.c:1630 [inline] ieee80211_iface_work+0x773/0xcf0 net/mac80211/iface.c:1684 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306