INFO: task kworker/u4:5:2604 blocked for more than 147 seconds. Not tainted 5.15.104-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:20152 pid: 2604 ppid: 2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: context_switch kernel/sched/core.c:5023 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6369 schedule+0x11b/0x1f0 kernel/sched/core.c:6452 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:1475 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1680 writeback_sb_inodes+0xbf0/0x1a50 fs/fs-writeback.c:1905 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:1976 wb_writeback+0x465/0xc50 fs/fs-writeback.c:2081 wb_check_old_data_flush fs/fs-writeback.c:2181 [inline] wb_do_writeback fs/fs-writeback.c:2234 [inline] wb_workfn+0xc55/0x1130 fs/fs-writeback.c:2263 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453 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: 3 locks held by kworker/1:0/21: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279 #1: ffffc90000db7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281 #2: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:840 2 locks held by kworker/1:1/25: #0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279 #1: ffffc90000dffd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281 1 lock held by khungtaskd/27: #0: ffffffff8c91b920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:5/2604: #0: ffff8881427ec138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279 #1: ffffc9000b847d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281 #2: ffff8880779c00e0 (&type->s_umount_key#61){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff8880310f5108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529 2 locks held by getty/3267: #0: ffff88814b00f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90001ed62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 3 locks held by kworker/0:7/3682: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0} , at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279 #1: ffffc9000318fd20 ( fqdir_free_work ){+.+.}-{0:0} , at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281 #2: ffffffff8c91fd70 ( rcu_state.barrier_mutex ){+.+.}-{3:3} , at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:3994 6 locks held by syz-executor.0/5704: 1 lock held by syz-executor.4/8054: #0: ffffffff8c91fd70 ( rcu_state.barrier_mutex ){+.+.}-{3:3} , at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:3994 2 locks held by syz-executor.5/8076: #0: ffffffff8c7db868 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x47/0x1d0 kernel/sched/core.c:329 #1: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:840 1 lock held by syz-executor.2/8083: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x346/0xf60 net/core/dev_ioctl.c:540 1 lock held by syz-executor.3/8085: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x598/0xf60 net/core/dev_ioctl.c:611 1 lock held by syz-executor.3/8086: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x346/0xf60 net/core/dev_ioctl.c:540 1 lock held by syz-executor.1/8090: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x598/0xf60 net/core/dev_ioctl.c:611 1 lock held by syz-executor.1/8092: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x346/0xf60 net/core/dev_ioctl.c:540 1 lock held by syz-executor.0/8098: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x598/0xf60 net/core/dev_ioctl.c:611 1 lock held by syz-executor.0/8100: #0: ffffffff8d9d37e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x346/0xf60 net/core/dev_ioctl.c:540 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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: 3832 Comm: kworker/u4:11 Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: phy3 ieee80211_iface_work RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65 Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01 RSP: 0018:ffffc90002fbf1e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc90002fbf2f0 RCX: 0000000000000000 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90002fbf300 RBP: ffffffff8ede8012 R08: dffffc0000000000 R09: ffffc90002fbf2f0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1dbd002 R13: 1ffffffff1dbd002 R14: ffffffff8ede800e R15: ffffc90002fbf2a0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de24000 CR3: 000000002caf4000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xbc8/0x1fa0 arch/x86/kernel/unwind_orc.c:547 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] ieee802_11_parse_elems_crc+0xb3/0x1130 net/mac80211/util.c:1478 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2238 [inline] ieee80211_bss_info_update+0x86d/0xc80 net/mac80211/scan.c:212 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:1441 [inline] ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1495 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298