INFO: task kworker/u4:6:4298 blocked for more than 146 seconds. Not tainted 5.15.189-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:6 state:D stack:19568 pid: 4298 ppid: 2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xc46/0x11f0 kernel/locking/rwsem.c:1165 f2fs_balance_fs+0x47d/0x660 fs/f2fs/segment.c:528 f2fs_write_inode+0x531/0x760 fs/f2fs/inode.c:738 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x6c3/0xda0 fs/fs-writeback.c:1705 writeback_sb_inodes+0x9fe/0x1610 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x12a/0x3f0 fs/fs-writeback.c:2001 wb_writeback+0x455/0xb90 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xb47/0xe60 fs/fs-writeback.c:2288 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Showing all locks held in the system: 3 locks held by kworker/0:1/13: #0: ffff88802a387138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90000d27d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x1520 net/ipv6/addrconf.c:4111 1 lock held by khungtaskd/27: #0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3948: #0: ffff88807f598098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002d032e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:7/4257: 4 locks held by kworker/u4:6/4298: #0: ffff8880193e9938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000341fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888024edc0e0 (&type->s_umount_key#86){.+.+}-{3:3}, at: trylock_super+0x1c/0xf0 fs/super.c:418 #3: ffff8880509e11b0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x47d/0x660 fs/f2fs/segment.c:528 3 locks held by kworker/u4:11/4314: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000340fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 3 locks held by kworker/u4:13/4543: 2 locks held by kworker/0:15/4698: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004a6fd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by kworker/0:20/4704: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900048a7d00 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c120cf0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4043 4 locks held by kworker/u4:15/4823: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000417fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22a2d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 #3: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: ipmr_rules_exit+0x25/0x1e0 net/ipv4/ipmr.c:276 3 locks held by kworker/1:10/5469: 4 locks held by syz.0.382/5727: 2 locks held by syz-executor/6224: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 #1: ffffffff8c120de8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c120de8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor/6226: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 2 locks held by syz-executor/6283: #0: ffffffff8d22a2d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x32e/0x5b0 net/core/net_namespace.c:499 #1: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0xf/0x50 net/core/dev.c:10519 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5727 Comm: syz.0.382 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:214 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:mark_lock+0x94/0x320 kernel/locking/lockdep.c:4569 Code: 22 02 00 00 41 8b 07 41 89 c7 41 81 e7 ff 1f 00 00 c1 e8 03 25 f8 03 00 00 48 8d b8 c0 70 fb 8f be 08 00 00 00 e8 3c 7c 5f 00 <4c> 0f a3 3d 04 c4 9e 0e 73 10 4b 8d 04 7f c1 e0 06 4c 8d b8 80 ef RSP: 0018:ffffc900040be500 EFLAGS: 00000056 RAX: 0000000000000101 RBX: ffff8880185a8000 RCX: ffffffff815cacb4 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffb7270 RBP: 0000000000000006 R08: dffffc0000000000 R09: fffffbfff1ff6e4f R10: fffffbfff1ff6e4f R11: 1ffffffff1ff6e4e R12: 0000000000000040 R13: dffffc0000000000 R14: ffff8880185a8b40 R15: 0000000000000d9d FS: 00007fe77d3816c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005597549bba48 CR3: 0000000050920000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks kernel/locking/lockdep.c:4193 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4219 [inline] lockdep_hardirqs_on_prepare+0x365/0x760 kernel/locking/lockdep.c:4278 trace_hardirqs_on+0x67/0x80 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x82/0x100 kernel/locking/spinlock.c:194 ___ratelimit+0x44b/0x5f0 lib/ratelimit.c:72 handle_bad_sector block/blk-core.c:655 [inline] bio_check_eod block/blk-core.c:728 [inline] submit_bio_checks+0x6ea/0x18f0 block/blk-core.c:812 __submit_bio+0x59e/0x810 block/blk-core.c:911 __submit_bio_noacct_mq block/blk-core.c:997 [inline] submit_bio_noacct+0x5f1/0x6d0 block/blk-core.c:1027 submit_bio+0x2be/0x560 block/blk-core.c:1089 f2fs_submit_page_read+0x239/0x2b0 fs/f2fs/data.c:1050 f2fs_get_read_data_page+0x390/0x560 fs/f2fs/data.c:1224 gc_data_segment fs/f2fs/gc.c:1504 [inline] do_garbage_collect+0x3dfb/0x60a0 fs/f2fs/gc.c:1671 f2fs_gc+0x8a9/0x1900 fs/f2fs/gc.c:1765 f2fs_balance_fs+0x491/0x660 fs/f2fs/segment.c:529 f2fs_map_blocks+0x196a/0x3310 fs/f2fs/data.c:1700 expand_inode_data+0x4a0/0x6e0 fs/f2fs/file.c:1716 f2fs_fallocate+0x423/0x8c0 fs/f2fs/file.c:1818 vfs_fallocate+0x587/0x6f0 fs/open.c:308 ioctl_preallocate fs/ioctl.c:294 [inline] file_ioctl fs/ioctl.c:-1 [inline] do_vfs_ioctl+0x1b70/0x1de0 fs/ioctl.c:853 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x83/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe77f53a9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe77d381038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe77f762080 RCX: 00007fe77f53a9a9 RDX: 00002000000000c0 RSI: 0000000040305828 RDI: 0000000000000005 RBP: 00007fe77f5bcd69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe77f762080 R15: 00007ffe264d9c68