INFO: task syz.0.4700:25150 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-next-20241015-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.4700 state:D stack:22272 pid:25150 tgid:25149 ppid:24560 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 xlog_grant_head_wait+0x43b/0xa90 fs/xfs/xfs_log.c:266 xlog_grant_head_check+0x342/0x4f0 xfs_log_reserve+0x337/0x8e0 fs/xfs/xfs_log.c:436 xfs_trans_reserve+0x20a/0x640 fs/xfs/xfs_trans.c:195 xfs_trans_alloc+0x40e/0x830 fs/xfs/xfs_trans.c:284 xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1077 xfs_attr_set+0x8a8/0x1420 fs/xfs/libxfs/xfs_attr.c:1097 xfs_xattr_set+0x1ff/0x350 fs/xfs/xfs_xattr.c:187 __vfs_setxattr+0x468/0x4a0 fs/xattr.c:200 __vfs_setxattr_noperm+0x12e/0x660 fs/xattr.c:234 vfs_setxattr+0x221/0x430 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] path_setxattr+0x37e/0x4d0 fs/xattr.c:658 __do_sys_lsetxattr fs/xattr.c:683 [inline] __se_sys_lsetxattr fs/xattr.c:679 [inline] __x64_sys_lsetxattr+0xb8/0xd0 fs/xattr.c:679 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:0x7fea5277dff9 RSP: 002b:00007fea534b0038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007fea52935f80 RCX: 00007fea5277dff9 RDX: 0000000020000040 RSI: 00000000200000c0 RDI: 0000000020000100 RBP: 00007fea527f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fea52935f80 R15: 00007fffd62d0c38 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e93f3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: ffffffff8e93f3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 2 locks held by kworker/u8:0/11: #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: ffffc90000107d00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000107d00 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 1 lock held by khungtaskd/30: #0: ffffffff8e939e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e939e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e939e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/4998: #0: ffff8880323e90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/u8:12/5893: 2 locks held by kworker/0:0/13677: #0: ffff888048ba1d48 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888048ba1d48 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90009007d00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90009007d00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 5 locks held by kworker/u8:5/18873: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90008dc7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90008dc7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fccf910 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:587 #3: ffff888030add4e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249 #4: ffffffff8e93f3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #4: ffffffff8e93f3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/u8:11/20282: #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: ffffc9000992fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000992fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcdc488 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by syz.0.4700/25150: #0: ffff888044f04420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff88805f156fb0 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:816 [inline] #1: ffff88805f156fb0 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320 #2: ffff888044f04610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1077 1 lock held by syz-executor/26514: #0: ffffffff8fcdc488 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcdc488 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6746 1 lock held by sed/26659: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc3-next-20241015-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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 26659 Comm: sed Not tainted 6.12.0-rc3-next-20241015-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:194 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:217 Code: c0 d3 03 00 65 8b 15 10 f2 6e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 <83> fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc RSP: 0000:ffffc90003fef698 EFLAGS: 00000246 RAX: ffffffff81ccfffc RBX: 0000000000000001 RCX: ffff888025bb0000 RDX: 0000000000000000 RSI: ffffffff8c611960 RDI: ffffffff8c611920 RBP: 0000000000000001 R08: ffffffff81ccffea R09: 1ffffd4000072ad6 R10: dffffc0000000000 R11: fffff94000072ad7 R12: 000000000000001b R13: ffffea0000395600 R14: ffffffff81ccfe5e R15: ffffea00003956b4 FS: 00007f9e6019b380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e6025a9d3 CR3: 0000000052494000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:878 [inline] page_ref_add_unless include/linux/page_ref.h:239 [inline] folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get+0x1bc/0x350 include/linux/page_ref.h:264 next_uptodate_folio+0x164/0xa40 mm/filemap.c:3507 filemap_map_pages+0x1382/0x20d0 mm/filemap.c:3688 do_fault_around mm/memory.c:5261 [inline] do_read_fault mm/memory.c:5294 [inline] do_fault mm/memory.c:5437 [inline] do_pte_missing mm/memory.c:3971 [inline] handle_pte_fault+0x31d6/0x6870 mm/memory.c:5782 __handle_mm_fault mm/memory.c:5925 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6093 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f9e6025a9d3 Code: Unable to access opcode bytes at 0x7f9e6025a9a9. RSP: 002b:00007ffe141a12d8 EFLAGS: 00010202 RAX: 0000049d00000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 00007f9e6032fd22 RSI: 00007f9e604c66ed RDI: 0000000000000001 RBP: 00007ffe141a15a0 R08: 000000000000ffff R09: 000000000000000d R10: 00007f9e60229b74 R11: 0000000000000206 R12: 0000000000000000 R13: 0000049d1a25aee5 R14: 0000000000000000 R15: 00007f9e604d42a0