INFO: task syz-executor.5:10784 blocked for more than 143 seconds. Not tainted 6.4.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24544 pid:10784 ppid:5021 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] lock_two_directories+0x116/0x120 fs/namei.c:3032 ovl_workdir_ok fs/overlayfs/super.c:981 [inline] ovl_get_workdir+0x211/0x17c0 fs/overlayfs/super.c:1416 ovl_fill_super+0x1c64/0x2bd0 fs/overlayfs/super.c:1992 mount_nodev+0x56/0xe0 fs/super.c:1426 legacy_get_tree+0xef/0x190 fs/fs_context.c:610 vfs_get_tree+0x8c/0x270 fs/super.c:1510 do_new_mount+0x28f/0xae0 fs/namespace.c:3039 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568 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:0x7fbafba8c199 RSP: 002b:00007fbafc712168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbafbbabf80 RCX: 00007fbafba8c199 RDX: 00000000200002c0 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fbafbae7ca1 R08: 0000000020000080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc608bf60f R14: 00007fbafc712300 R15: 0000000000022000 INFO: task syz-executor.5:10816 blocked for more than 143 seconds. Not tainted 6.4.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27056 pid:10816 ppid:5021 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] f2fs_rename fs/f2fs/namei.c:1004 [inline] f2fs_rename2+0xc71/0x2ad0 fs/f2fs/namei.c:1332 vfs_rename+0xb1b/0xfa0 fs/namei.c:4849 do_renameat2+0xd78/0x1660 fs/namei.c:5002 __do_sys_rename fs/namei.c:5048 [inline] __se_sys_rename fs/namei.c:5046 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5046 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:0x7fbafba8c199 RSP: 002b:00007fbaf35bc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fbafbbac050 RCX: 00007fbafba8c199 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000000 RBP: 00007fbafbae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc608bf60f R14: 00007fbaf35bc300 R15: 0000000000022000 INFO: task syz-executor.5:10817 blocked for more than 144 seconds. Not tainted 6.4.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27928 pid:10817 ppid:5021 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 include/linux/fs.h:775 [inline] open_last_lookups fs/namei.c:3557 [inline] path_openat+0x7ba/0x3170 fs/namei.c:3788 do_filp_open+0x234/0x490 fs/namei.c:3818 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_open fs/open.c:1380 [inline] __se_sys_open fs/open.c:1376 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1376 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:0x7fbafba8c199 RSP: 002b:00007fbaf359b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fbafbbac120 RCX: 00007fbafba8c199 RDX: 0000000000000000 RSI: 000000000014d27e RDI: 0000000020000180 RBP: 00007fbafbae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc608bf60f R14: 00007fbaf359b300 R15: 0000000000022000 Showing all locks held in the system: 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 syslogd/4429: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff888029f049e8 (rlock-AF_UNIX){+.+.}-{2:2}, at: rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:326 1 lock held by klogd/4436: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 2 locks held by getty/4744: #0: ffff888028ba1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 2 locks held by kworker/u4:7/5145: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a7/0x770 kernel/sched/psi.c:984 4 locks held by syz-executor.5/10784: #0: ffff8880295f80e0 (&type->s_umount_key#87/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffff88807ad7e748 (&type->s_vfs_rename_key#6){+.+.}-{3:3}, at: lock_rename+0x52/0xa0 fs/namei.c:3046 #2: ffff888035313660 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: lock_two_directories+0xc3/0x120 #3: ffff888035313f38 (&type->i_mutex_dir_key#17/5){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #3: ffff888035313f38 (&type->i_mutex_dir_key#17/5){+.+.}-{3:3}, at: lock_two_directories+0x116/0x120 fs/namei.c:3032 4 locks held by syz-executor.5/10816: #0: ffff88807ad7e460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888035312d88 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff888035312d88 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline] #1: ffff888035312d88 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: do_renameat2+0x615/0x1660 fs/namei.c:4941 #2: ffff888035313f38 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #2: ffff888035313f38 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: vfs_rename+0x617/0xfa0 fs/namei.c:4821 #3: ffff888035313660 (&type->i_mutex_dir_key#17/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #3: ffff888035313660 (&type->i_mutex_dir_key#17/4){+.+.}-{3:3}, at: f2fs_rename fs/f2fs/namei.c:1004 [inline] #3: ffff888035313660 (&type->i_mutex_dir_key#17/4){+.+.}-{3:3}, at: f2fs_rename2+0xc71/0x2ad0 fs/f2fs/namei.c:1332 2 locks held by syz-executor.5/10817: #0: ffff88807ad7e460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888035312d88 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff888035312d88 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline] #1: ffff888035312d88 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788 1 lock held by syz-executor.2/11055: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.2/11058: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.2/11059: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.2/11061: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.2/11064: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.2/11223: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.2/11224: #0: ffff8880295f80e0 (&type->s_umount_key#88){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc6-syzkaller #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12 Comm: kworker/u4:1 Not tainted 6.4.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: phy9 ieee80211_iface_work RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3741 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3760 [inline] RIP: 0010:validate_chain+0x1ad/0x58f0 kernel/locking/lockdep.c:3815 Code: 8b 1b 48 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 76 84 77 00 49 8b 07 <4c> 39 f0 0f 84 dc 03 00 00 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 RSP: 0018:ffffc90000117400 EFLAGS: 00000046 RAX: 66d820870d465b58 RBX: ffffffff90412b60 RCX: ffffffff816bd1a9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9032a350 RBP: ffffc900001176b8 R08: dffffc0000000000 R09: fffffbfff206546b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888014a5e4a0 R14: 66d820870d465b58 R15: ffffffff90412b78 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00b499000 CR3: 0000000027963000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1316/0x2070 kernel/locking/lockdep.c:5088 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705 __mutex_lock_common+0x1d8/0x2530 kernel/locking/mutex.c:603 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 ieee80211_ibss_sta_expire net/mac80211/ibss.c:1256 [inline] ieee80211_sta_merge_ibss net/mac80211/ibss.c:1299 [inline] ieee80211_ibss_work+0x4c2/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