INFO: task syz-executor:4169 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20800 pid: 4169 ppid: 1 flags:0x00004004 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 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 sync_inodes_sb+0x1b3/0x920 fs/fs-writeback.c:2770 sync_filesystem+0x16d/0x220 fs/sync.c:64 generic_shutdown_super+0x6b/0x300 fs/super.c:448 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3c1d192c57 RSP: 002b:00007ffd85785348 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f3c1d213925 RCX: 00007f3c1d192c57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd85785400 RBP: 00007ffd85785400 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd85786490 R13: 00007f3c1d213925 R14: 000000000001ef84 R15: 00007ffd857864d0 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: 1 lock held by khungtaskd/27: #0: ffffffff8c11bfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:2/154: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002047d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d21ecd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 #3: ffffffff8c120930 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4039 1 lock held by dhcpcd/3840: #0: ffffffff8d22a948 ( rtnl_mutex ){+.+.}-{3:3} , at: __netlink_dump_start+0x11f/0x700 net/netlink/af_netlink.c:2334 2 locks held by getty/3937: #0: ffff88814ca90098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025d62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/4168: #0: ffff888020257518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915 #1: ffff888020204468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xaa/0xb90 drivers/block/loop.c:1366 2 locks held by syz-executor/4169: #0: ffff888077de20e0 ( &type->s_umount_key#65){++++}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365 #1: ffff8881475027d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff8881475027d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x197/0x920 fs/fs-writeback.c:2768 3 locks held by kworker/0:4/4209: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900039bfd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 3 locks held by kworker/1:8/4249: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90003a9fd00 ((work_completion)(&pwq->unbound_release_work) ){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845 4 locks held by kworker/u4:7/4563: #0: ffff888142ba8938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000302fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888077de2650 (sb_internal#5){++++}-{0:0}, at: xfs_bmapi_convert_delalloc+0x1f1/0xd90 fs/xfs/libxfs/xfs_bmap.c:4573 #3: ffff888070bb3568 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x21e/0xd90 fs/xfs/libxfs/xfs_bmap.c:4578 4 locks held by kworker/0:13/4630: 2 locks held by kworker/1:17/5103: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002fdfd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by kworker/u4:17/7573: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000363fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22a948 ( rtnl_mutex ){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 2 locks held by syz-executor/8169: #0: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 #1: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 4 locks held by syz.8.934/8273: 2 locks held by syz-executor/8230: #0: ffffffff8d21ecd0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x32e/0x5b0 net/core/net_namespace.c:499 #1: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0xf/0x50 net/core/dev.c:10519 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.185-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4630 Comm: kworker/0:13 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: xfs-buf/loop4 xfs_buf_ioend_work RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:771 [inline] RIP: 0010:select_task_rq_fair+0x5f4/0x3320 kernel/sched/fair.c:7206 Code: 74 28 80 3d aa 54 ff 0b 00 75 1f c6 05 a1 54 ff 0b 01 48 c7 c7 20 ca 0a 8a be 01 03 00 00 48 c7 c2 c0 ca 0a 8a e8 ec 26 41 08 47 a9 0e 00 e8 32 63 00 00 44 89 e0 48 83 c4 70 5b 41 5c 41 5d RSP: 0018:ffffc90000007a78 EFLAGS: 00000002 RAX: 000000000003df01 RBX: dffffc0000000000 RCX: 7741e116e741ed00 RDX: 0000000000000100 RSI: ffffffff8a59a720 RDI: ffffffff8a59a6e0 RBP: ffff8880b9027760 R08: dffffc0000000000 R09: ffffed1002ea2824 R10: ffffed1002ea2824 R11: 1ffff11002ea2823 R12: 0000000000000000 R13: ffffffff8bbaf810 R14: ffff8880169d45ac R15: ffff88813fea3b80 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14417c7178 CR3: 000000006133d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: select_task_rq kernel/sched/core.c:3433 [inline] try_to_wake_up+0x5d8/0x1050 kernel/sched/core.c:4131 call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x525/0x7c0 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:console_trylock_spinning+0x2cd/0x350 kernel/printk/printk.c:1909 Code: 85 db 74 9d e8 04 ad 18 00 fb 31 c0 eb 48 e8 fa ac 18 00 e8 95 57 42 08 48 85 db 74 d1 e8 eb ac 18 00 fb 48 c7 c7 c0 0a 11 8c <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 68 36 15 5f RSP: 0018:ffffc9000307f720 EFLAGS: 00000293 RAX: ffffffff815f1535 RBX: 0000000000000200 RCX: ffff888025fa5940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c110ac0 RBP: ffffc9000307f7f0 R08: dffffc0000000000 R09: fffffbfff1ff3644 R10: fffffbfff1ff3644 R11: 1ffffffff1ff3643 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 1ffff9200060fee4 vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273 _printk+0xcc/0x110 kernel/printk/printk.c:2299 print_hex_dump+0x1a5/0x260 lib/hexdump.c:285 xfs_hex_dump+0x39/0x50 fs/xfs/xfs_message.c:118 xfs_buf_verifier_error+0x1ba/0x290 fs/xfs/xfs_error.c:418 xfs_agf_read_verify+0x1cd/0x250 fs/xfs/libxfs/xfs_alloc.c:-1 xfs_buf_ioend+0x25c/0x6e0 fs/xfs/xfs_buf.c:1263 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