INFO: task syz.0.15:5118 blocked for more than 143 seconds. Not tainted 5.15.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.15 state:D stack:28336 pid: 5118 ppid: 4996 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 inode_lock_nested include/linux/fs.h:824 [inline] do_rmdir+0x225/0x670 fs/namei.c:4197 __do_sys_rmdir fs/namei.c:4229 [inline] __se_sys_rmdir fs/namei.c:4227 [inline] __x64_sys_rmdir+0x45/0x50 fs/namei.c:4227 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3955e1b849 RSP: 002b:00007f3955078058 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f3955fe1080 RCX: 00007f3955e1b849 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007f3955e8e986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f3955fe1080 R15: 00007fff21d38688 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:3/155: 2 locks held by getty/3925: #0: ffff88814c746098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by syz.0.15/5109: 2 locks held by syz.0.15/5118: #0: ffff888077446460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880609b82b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff8880609b82b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.1.16/5157: 2 locks held by syz.1.16/5158: #0: ffff888025870460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888060b402b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888060b402b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.2.17/5173: 2 locks held by syz.2.17/5174: #0: ffff8880202b6460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888060b40930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888060b40930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.3.18/5190: 2 locks held by syz.3.18/5191: #0: ffff88807aa88460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880609b8930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff8880609b8930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.4.19/5214: 2 locks held by syz.4.19/5215: #0: ffff88802abee460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888060b40fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888060b40fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 4 locks held by syz.5.20/5238: 2 locks held by syz.5.20/5239: #0: ffff88802b56c460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880609b8fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff8880609b8fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.6.21/5267: 2 locks held by syz.6.21/5268: #0: ffff888072ca0460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880609b9630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff8880609b9630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.7.22/5290: 2 locks held by syz.7.22/5291: #0: ffff88807aa4a460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888060b41630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888060b41630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 155 Comm: kworker/u4:3 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: phy9 ieee80211_iface_work RIP: 0010:unwind_next_frame+0x6ac/0x1fa0 Code: 04 10 84 c0 0f 84 8b 03 00 00 44 89 e9 80 e1 07 38 c1 0f 8c 7d 03 00 00 be 02 00 00 00 4c 89 ef e8 09 ad 91 00 e9 f6 16 00 00 <48> 8b 44 24 48 80 3c 10 00 48 8b 5c 24 40 74 12 48 89 df e8 2c ac RSP: 0018:ffffc90001eb70e8 EFLAGS: 00000297 RAX: 0000000000000003 RBX: 0000000000000005 RCX: ffffffff8e196ab8 RDX: dffffc0000000000 RSI: ffffffff8e82954e RDI: ffffffff8e196ab4 RBP: ffffffff8e829552 R08: 0000000000000001 R09: ffffc90001eb7290 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1d052aa R13: ffffffff815567d5 R14: ffffffff8e82954e R15: ffffc90001eb71a0 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d1b583866 CR3: 000000005b05b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc+0x168/0x300 mm/slub.c:4407 kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2491 [inline] cfg80211_inform_bss_frame_data+0x4f8/0x20f0 net/wireless/scan.c:2552 ieee80211_bss_info_update+0x7a6/0xc80 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0x175e/0x2af0 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1456 [inline] ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1510 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287