INFO: task syz-executor.3:17545 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-14500-g1c41041124bd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29032 pid:17545 tgid:17533 ppid:5084 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1960/0x4a80 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0xee6/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] chmod_common+0x1bb/0x4c0 fs/open.c:637 do_fchmodat fs/open.c:691 [inline] __do_sys_chmod fs/open.c:715 [inline] __se_sys_chmod fs/open.c:713 [inline] __x64_sys_chmod+0x100/0x1a0 fs/open.c:713 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f24cd87cae9 RSP: 002b:00007f24ce6130c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005a RAX: ffffffffffffffda RBX: 00007f24cd99c050 RCX: 00007f24cd87cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f24cd8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f24cd99c050 R15: 00007ffff4739b58 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8d932a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8d932a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996 2 locks held by kworker/u4:0/11: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90000107d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90000107d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 1 lock held by khungtaskd/29: #0: ffffffff8d92d0a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d0a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d0a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by kworker/u4:3/48: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90000b8fd20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90000b8fd20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 2 locks held by getty/4815: #0: ffff8880269050a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/1:6/5153: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90004887d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90004887d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 3 locks held by kworker/0:9/5190: #0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffffffff927c5d10 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1020 [inline] #2: ffffffff927c5d10 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xcc/0x420 lib/debugobjects.c:1063 3 locks held by syz-executor.3/17534: 2 locks held by syz-executor.3/17545: #0: ffff88806fa84418 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff888034c51cb0 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888034c51cb0 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: chmod_common+0x1bb/0x4c0 fs/open.c:637 2 locks held by syz-executor.1/17804: #0: ffff88806fa840e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806fa840e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x176/0x390 fs/super.c:117 #1: ffff88801a2b00e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:56 2 locks held by syz-executor.1/17840: #0: ffff88806fa840e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806fa840e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x176/0x390 fs/super.c:117 #1: ffff88801a2b00e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:56 2 locks held by syz-executor.1/17845: #0: ffff88806fa840e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806fa840e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x176/0x390 fs/super.c:117 #1: ffff88801a2b00e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:56 1 lock held by syz-executor.0/18538: #0: ffffffff8d932a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d932a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-14500-g1c41041124bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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+0x198/0x310 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+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/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: 66 Comm: kworker/u4:4 Not tainted 6.6.0-syzkaller-14500-g1c41041124bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:check_preemption_disabled+0x2e/0x110 Code: 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d 0c 20 ed 74 65 8b 05 01 20 ed 74 a9 ff ff ff 7f 74 22 <65> 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c7 00 00 00 89 d8 RSP: 0018:ffffc900015c7030 EFLAGS: 00000002 RAX: 0000000080000201 RBX: 0000000000000000 RCX: 00000000000167b0 RDX: 0000000000000004 RSI: ffffffff8b6aaf60 RDI: ffffffff8bbd60c0 RBP: ffffc900015c7130 R08: ffffffff8f006a6f R09: 1ffffffff1e00d4d R10: dffffc0000000000 R11: fffffbfff1e00d4e R12: 0000000000000246 R13: 1ffff920002b8e14 R14: ffffffff8b211050 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffcfded020 CR3: 0000000031010000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_hardirqs_off+0xa8/0x100 kernel/locking/lockdep.c:4443 trace_hardirqs_off+0x12/0x40 kernel/trace/trace_preemptirq.c:87 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] _raw_spin_lock_irqsave+0xb0/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x163/0x530 lib/debugobjects.c:717 debug_rcu_head_queue kernel/rcu/rcu.h:227 [inline] kvfree_call_rcu+0x99/0x790 kernel/rcu/tree.c:3377 cfg80211_update_known_bss+0x166/0x9d0 __cfg80211_bss_update+0x153/0x2030 net/wireless/scan.c:1827 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2905 [inline] cfg80211_inform_bss_frame_data+0xde2/0x17a0 net/wireless/scan.c:2936 ieee80211_bss_info_update+0x7ca/0xaa0 net/mac80211/scan.c:205 ieee80211_rx_bss_info net/mac80211/ibss.c:1098 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1577 [inline] ieee80211_ibss_rx_queued_mgmt+0x191d/0x2d20 net/mac80211/ibss.c:1604 ieee80211_iface_process_skb net/mac80211/iface.c:1589 [inline] ieee80211_iface_work+0x801/0xd80 net/mac80211/iface.c:1643 cfg80211_wiphy_work+0x21e/0x250 net/wireless/core.c:435 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242