INFO: task kworker/u4:5:2577 blocked for more than 143 seconds. Not tainted 5.15.138-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:21024 pid: 2577 ppid: 2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:5) Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x164/0x170 kernel/locking/rwsem.c:1542 f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 f2fs_write_inode+0x4c3/0x540 fs/f2fs/inode.c:727 write_inode fs/fs-writeback.c:1478 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1688 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1913 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:1984 wb_writeback+0x465/0xc50 fs/fs-writeback.c:2089 wb_check_old_data_flush fs/fs-writeback.c:2189 [inline] wb_do_writeback fs/fs-writeback.c:2242 [inline] wb_workfn+0xc55/0x1130 fs/fs-writeback.c:2271 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 INFO: task kworker/u4:6:3849 blocked for more than 144 seconds. Not tainted 5.15.138-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:6 state:D stack:22168 pid: 3849 ppid: 2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:2) Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x164/0x170 kernel/locking/rwsem.c:1542 f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 f2fs_write_inode+0x4c3/0x540 fs/f2fs/inode.c:727 write_inode fs/fs-writeback.c:1478 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1688 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1913 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:1984 wb_writeback+0x465/0xc50 fs/fs-writeback.c:2089 wb_check_old_data_flush fs/fs-writeback.c:2189 [inline] wb_do_writeback fs/fs-writeback.c:2242 [inline] wb_workfn+0xc55/0x1130 fs/fs-writeback.c:2271 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Showing all locks held in the system: 4 locks held by kworker/u4:0/9: #0: ffff888142fec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000ce7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88803bfde0e0 (&type->s_umount_key#57){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff88803ad35108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 1 lock held by khungtaskd/27: #0: ffffffff8c91f020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:2/154: 4 locks held by kworker/u4:5/2577: #0: ffff888142fec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000bf5fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88801fff00e0 (&type->s_umount_key#57){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff888074751108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 2 locks held by getty/3259: #0: ffff888025200098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900020a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:5/3593: #0: ffff888011c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000323fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 4 locks held by kworker/u4:6/3849: #0: ffff888142fec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90005c7fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88803c3ee0e0 (&type->s_umount_key#57){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff888012b85108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 4 locks held by kworker/u4:9/4779: #0: ffff888142fec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004a3fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888074b8c0e0 (&type->s_umount_key#57){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff88803b569108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 3 locks held by kworker/u4:13/6695: 4 locks held by kworker/u4:14/6754: #0: ffff888142fec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900071cfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888079d7a0e0 (&type->s_umount_key#57){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff88803c331108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 4 locks held by syz-executor.5/8776: 5 locks held by syz-executor.2/8784: 4 locks held by syz-executor.3/8830: 5 locks held by syz-executor.4/8832: 5 locks held by syz-executor.0/8898: 1 lock held by syz-executor.4/8949: #0: ffffffff8c9235e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8c9235e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.1/9507: #0: ffff88801fff00e0 (&type->s_umount_key#57){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:703 #1: ffff888146bd87d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff888146bd87d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2751 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.138-syzkaller #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+0x1e3/0x2cb 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:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: phy23 ieee80211_iface_work RIP: 0010:preempt_count_sub+0xe7/0x160 kernel/sched/core.c:5513 Code: b6 04 30 84 c0 75 6f 83 3d cd 91 8c 0c 00 75 95 48 c7 c7 20 96 8a 8a 48 c7 c6 00 97 8a 8a e8 d0 a7 f4 ff 0f 0b e9 7b ff ff ff <48> c7 c1 00 60 3c 91 80 e1 07 80 c1 03 38 c1 0f 8c 2b ff ff ff 48 RSP: 0018:ffffc9000204f5f0 EFLAGS: 00000202 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffc9000204f7c8 RDX: dffffc0000000000 RSI: ffffc9000204f7b0 RDI: 0000000000000001 RBP: ffffc9000204f7c0 R08: ffffc9000204f7b0 R09: ffffc9000204f770 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1caf622 R13: 1ffffffff1caf622 R14: dffffc0000000000 R15: ffffc9000204f720 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555556f2938 CR3: 000000001c905000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x1437/0x1fa0 arch/x86/kernel/unwind_orc.c:616 __unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:704 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 kfree_skb include/linux/skbuff.h:1123 [inline] ieee80211_iface_work+0x251/0xcc0 net/mac80211/iface.c:1497 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298