INFO: task kworker/u4:5:145 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller-00238-g005f6f34bd47 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:19824 pid:145 tgid:145 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:2) Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 f2fs_down_write fs/f2fs/f2fs.h:2138 [inline] f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437 f2fs_write_inode+0x3f0/0x470 fs/f2fs/inode.c:794 write_inode fs/fs-writeback.c:1473 [inline] __writeback_single_inode+0x69f/0xfd0 fs/fs-writeback.c:1690 writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1987 wb_writeback+0x461/0xc80 fs/fs-writeback.c:2094 wb_check_old_data_flush fs/fs-writeback.c:2198 [inline] wb_do_writeback fs/fs-writeback.c:2251 [inline] wb_workfn+0xb7c/0xfb0 fs/fs-writeback.c:2279 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Showing all locks held in the system: 2 locks held by kworker/0:1/9: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u4:5/145: #0: ffff888017ecdd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888017ecdd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000251fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000251fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88803543c0e0 (&type->s_umount_key#66){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:561 #3: ffff88802be012a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2138 [inline] #3: ffff88802be012a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437 2 locks held by getty/4802: #0: ffff88802a76b0a0 (&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 1 lock held by syz-executor.3/5086: 2 locks held by kworker/1:3/5134: #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900045f7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900045f7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 5 locks held by syz-executor.2/8625: 1 lock held by syz-executor.0/12579: #0: ffff88801eae43f8 (&iint_mutex_key[depth]){+.+.}-{3:3}, at: ima_check_last_writer security/integrity/ima/ima_main.c:165 [inline] #0: ffff88801eae43f8 (&iint_mutex_key[depth]){+.+.}-{3:3}, at: ima_file_free+0x17c/0x4b0 security/integrity/ima/ima_main.c:204 2 locks held by syz-executor.0/12580: #0: ffff88803543c0e0 (&type->s_umount_key#66){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88803543c0e0 (&type->s_umount_key#66){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880201b07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880201b07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 1 lock held by syz-executor.0/12582: 3 locks held by syz-executor.0/12661: 2 locks held by syz-executor.2/12684: 1 lock held by syz-executor.3/12688: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller-00238-g005f6f34bd47 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 42 Comm: kworker/u4:2 Not tainted 6.8.0-rc7-syzkaller-00238-g005f6f34bd47 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:60 [inline] RIP: 0010:unwind_next_frame+0x1de4/0x29e0 arch/x86/kernel/unwind_orc.c:665 Code: 5d 10 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 9e d4 b1 00 4d 39 e6 77 76 48 8b 1b 4c 39 e3 76 6e 4d 8d 7c 24 08 <4c> 89 e7 48 8b b4 24 90 00 00 00 e8 1c 05 53 00 4d 39 f7 76 5b 49 RSP: 0000:ffffc90000b2ed48 EFLAGS: 00000202 RAX: 1ffff92000165dc6 RBX: ffffc90000b30000 RCX: ffff88801aef0000 RDX: ffff88801aef0000 RSI: 0000000000000001 RDI: ffffc90000b2ee28 RBP: ffffc90000b2ee20 R08: ffffffff81406aca R09: ffffffff814066c0 R10: 0000000000000003 R11: ffff88801aef0000 R12: ffffc90000b2f2e0 R13: dffffc0000000000 R14: ffffc90000b28000 R15: ffffc90000b2f2e8 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc7d6af1000 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x150/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1d0 kernel/stacktrace.c:122 kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:551 kvfree_call_rcu+0xfc/0x790 kernel/rcu/tree.c:3434 cfg80211_update_known_bss+0xb39/0x1500 net/wireless/scan.c:1848 __cfg80211_bss_update+0x150/0x20c0 net/wireless/scan.c:1894 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:3090 [inline] cfg80211_inform_bss_frame_data+0x116a/0x1d60 net/wireless/scan.c:3125 ieee80211_bss_info_update+0x8a7/0xbc0 net/mac80211/scan.c:226 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+0x1924/0x2cd0 net/mac80211/ibss.c:1604 ieee80211_iface_process_skb net/mac80211/iface.c:1589 [inline] ieee80211_iface_work+0x809/0xd90 net/mac80211/iface.c:1643 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243