INFO: task syz.3.6:5332 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-next-20241003-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.6 state:D stack:24880 pid:5332 tgid:5319 ppid:5236 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 xfs_ail_push_all_sync+0x236/0x310 fs/xfs/xfs_trans_ail.c:726 xfs_log_quiesce+0xdf/0x5b0 fs/xfs/xfs_log.c:1018 xfs_fs_freeze+0x8d/0x1a0 fs/xfs/xfs_super.c:936 freeze_super+0x81b/0xee0 fs/super.c:2107 fs_bdev_freeze+0x1ac/0x320 fs/super.c:1484 bdev_freeze+0xd6/0x220 block/bdev.c:257 xfs_fs_goingdown+0xa9/0x160 fs/xfs/xfs_fsops.c:446 xfs_file_ioctl+0x12e5/0x1a30 fs/xfs/xfs_ioctl.c:1343 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7eff9fb7dff9 RSP: 002b:00007effa0893038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007eff9fd36130 RCX: 00007eff9fb7dff9 RDX: 0000000020000080 RSI: 000000008004587d RDI: 000000000000000a RBP: 00007eff9fbf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007eff9fd36130 R15: 00007fffb9c84368 Showing all locks held in the system: 6 locks held by kworker/u8:0/11: 3 locks held by kworker/u8:1/12: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by khungtaskd/30: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 3 locks held by kworker/u8:2/35: #0: ffff88814bb16148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814bb16148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000ab7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000ab7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4196 2 locks held by kworker/u8:4/62: 4 locks held by kworker/u8:5/982: 2 locks held by getty/4982: #0: ffff888031eb90a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:3/5281: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004247d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004247d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 4 locks held by kworker/0:6/5289: #0: ffff8880b863eb18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:593 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989 #2: ffff88805cda2460 (&bp->b_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88805cda2460 (&bp->b_lock){+.+.}-{2:2}, at: xfs_buf_rele_cached fs/xfs/xfs_buf.c:1084 [inline] #2: ffff88805cda2460 (&bp->b_lock){+.+.}-{2:2}, at: xfs_buf_rele+0x164/0x15b0 fs/xfs/xfs_buf.c:1151 #3: ffff8880b862a718 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x744/0xeb0 kernel/time/timer.c:1163 6 locks held by kworker/0:8/5308: #0: ffff8881446bd148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff8881446bd148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004337d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004337d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff888144fb9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff888144fb9190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88802753e510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline] #3: ffff88802753e510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5418 [inline] #3: ffff88802753e510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] #3: ffff88802753e510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5821 [inline] #3: ffff88802753e510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x25b9/0x5150 drivers/usb/core/hub.c:5903 #4: ffff888144b0b668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5419 [inline] #4: ffff888144b0b668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] #4: ffff888144b0b668 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5821 [inline] #4: ffff888144b0b668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x25f7/0x5150 drivers/usb/core/hub.c:5903 #5: ffffffff8f5a4450 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: hub_port_reset+0x1f8/0x1b30 drivers/usb/core/hub.c:3021 5 locks held by syz.3.6/5332: #0: ffff8880235fddb0 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: bdev_freeze+0x2a/0x220 block/bdev.c:248 #1: ffff88807a8ea420 (sb_writers#13){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #1: ffff88807a8ea420 (sb_writers#13){++++}-{0:0}, at: freeze_super+0x4e9/0xee0 fs/super.c:2085 #2: ffff88807a8ea0e0 (&type->s_umount_key#49){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #2: ffff88807a8ea0e0 (&type->s_umount_key#49){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #2: ffff88807a8ea0e0 (&type->s_umount_key#49){+.+.}-{3:3}, at: freeze_super+0x4f1/0xee0 fs/super.c:2086 #3: ffff88807a8ea518 (sb_pagefaults#2){+.+.}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #3: ffff88807a8ea518 (sb_pagefaults#2){+.+.}-{0:0}, at: freeze_super+0x519/0xee0 fs/super.c:2090 #4: ffff88807a8ea610 (sb_internal#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #4: ffff88807a8ea610 (sb_internal#2){++++}-{0:0}, at: freeze_super+0x7cc/0xee0 fs/super.c:2104 3 locks held by kworker/u8:9/5451: 1 lock held by syz-executor/6658: #0: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643 4 locks held by syz.3.297/6954: #0: ffff888027c50420 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff88805ccb1a70 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline] #1: ffff88805ccb1a70 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4026 #2: ffffffff8e96c4e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #2: ffffffff8e96c4e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xe6/0x290 kernel/cgroup/cgroup.c:1662 #3: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: cgrp_css_online+0x90/0x2f0 net/core/netprio_cgroup.c:157 1 lock held by syz.0.299/6969: #0: ffffffff8fcd52c8 (rtnl_mutex){+.+.}-{3:3}, at: packet_mc_add+0x28/0x950 net/packet/af_packet.c:3751 2 locks held by dhcpcd/6980: #0: ffff8880579d6e08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff8880579d6e08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:657 [inline] #0: ffff8880579d6e08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1426 #1: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.2.302/6981: #0: ffff888071f65718 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff888071f65718 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x17c/0x3d0 mm/util.c:586 1 lock held by syz.2.302/6983: 2 locks held by dhcpcd/6984: #0: ffff88805cfd0208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff88805cfd0208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:657 [inline] #0: ffff88805cfd0208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1426 #1: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 5 locks held by syz.1.301/6986: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-next-20241003-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6986 Comm: syz.1.301 Not tainted 6.12.0-rc1-next-20241003-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lock_is_held include/linux/lockdep.h:249 [inline] RIP: 0010:xa_entry include/linux/xarray.h:1220 [inline] RIP: 0010:xas_next_entry+0x1e5/0x3d0 include/linux/xarray.h:1718 Code: ef e8 ef 72 32 00 48 8b 6d 00 e8 66 9c fb 09 89 c3 31 ff 89 c6 e8 cb 91 c8 ff 85 db 74 27 49 83 c7 18 4c 89 ff be ff ff ff ff 66 98 fb 09 89 c3 31 ff 89 c6 e8 ab 91 c8 ff 85 db 74 72 e8 62 RSP: 0018:ffffc9000331f0f0 EFLAGS: 00000282 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffff888027130000 RDX: ffff888027130000 RSI: 00000000ffffffff RDI: ffff88807f294b98 RBP: 0000000000000000 R08: ffffffff81cc4235 R09: 1ffffd40002d68de R10: dffffc0000000000 R11: fffff940002d68df R12: ffffc9000331f332 R13: ffffc9000331f320 R14: dffffc0000000000 R15: ffff88807f294b98 FS: 00007ff8d25466c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c45e608 CR3: 000000007ac5c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: next_uptodate_folio+0x29/0xa40 mm/filemap.c:3495 filemap_map_pages+0x1382/0x20d0 mm/filemap.c:3688 do_fault_around mm/memory.c:5257 [inline] do_read_fault mm/memory.c:5290 [inline] do_fault mm/memory.c:5433 [inline] do_pte_missing mm/memory.c:3973 [inline] handle_pte_fault+0x2bd3/0x6830 mm/memory.c:5778 __handle_mm_fault mm/memory.c:5921 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6089 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x1b16/0x48d0 mm/gup.c:1485 populate_vma_page_range+0x264/0x330 mm/gup.c:1923 __mm_populate+0x27a/0x460 mm/gup.c:2026 mm_populate include/linux/mm.h:3374 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff8d177dff9 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:00007ff8d2546038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ff8d1935f80 RCX: 00007ff8d177dff9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007ff8d17f0296 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff8d1935f80 R15: 00007ffc1c27c918