INFO: task syz.9.2181:17536 blocked for more than 143 seconds. Not tainted 6.14.0-rc6-syzkaller-00205-g3571e8b091f4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.2181 state:D stack:22224 pid:17536 tgid:17534 ppid:15962 task_flags:0x440140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6857 xlog_grant_head_wait+0x43b/0xa80 fs/xfs/xfs_log.c:266 xlog_grant_head_check+0x342/0x4f0 xfs_log_reserve+0x337/0x8c0 fs/xfs/xfs_log.c:436 xfs_trans_reserve+0x20a/0x640 fs/xfs/xfs_trans.c:196 xfs_trans_alloc+0x3f2/0x7f0 fs/xfs/xfs_trans.c:284 xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1096 xfs_attr_set+0x8a8/0x1420 fs/xfs/libxfs/xfs_attr.c:1098 xfs_xattr_set+0x1ff/0x350 fs/xfs/xfs_xattr.c:186 __vfs_setxattr+0x46a/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:636 [inline] filename_setxattr+0x2af/0x430 fs/xattr.c:665 path_setxattrat+0x440/0x510 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750 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:0x7fd218d8d169 RSP: 002b:00007fd219b72038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007fd218fa5fa0 RCX: 00007fd218d8d169 RDX: 0000400000000540 RSI: 00004000000000c0 RDI: 0000400000000100 RBP: 00007fd218e0e2a0 R08: 0000000000000002 R09: 0000000000000000 R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd218fa5fa0 R15: 00007ffcc88f1458 Showing all locks held in the system: 2 locks held by rcu_exp_gp_kthr/20: 1 lock held by khungtaskd/31: #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 2 locks held by getty/5583: #0: ffff888034a990a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211 3 locks held by kworker/u8:29/6183: 2 locks held by kworker/1:5/9943: #0: ffff888025356548 ((wq_completion)xfs-sync/loop9){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888025356548 ((wq_completion)xfs-sync/loop9){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc900040afc60 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900040afc60 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 3 locks held by syz.9.2181/17536: #0: ffff888028602420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547 #1: ffff888076205870 (&sb->s_type->i_mutex_key#39){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline] #1: ffff888076205870 (&sb->s_type->i_mutex_key#39){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320 #2: ffff888028602610 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1096 2 locks held by syz-executor/17868: #0: ffffffff8f269dc8 (bio_slab_lock){+.+.}-{4:4}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8f269dc8 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x42f/0x650 block/bio.c:1662 #1: ffffffff8eb3e780 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3741 1 lock held by syz.7.2643/19960: #0: ffffffff8f269dc8 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8f269dc8 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x23f/0x820 block/bio.c:1703 3 locks held by syz.6.2640/19966: #0: ffff88807f368808 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline] #0: ffff88807f368808 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff88807f368808 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1398 #1: ffff888057733258 (sk_lock-AF_QIPCRTR){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1624 [inline] #1: ffff888057733258 (sk_lock-AF_QIPCRTR){+.+.}-{0:0}, at: qrtr_release+0x54/0x2b0 net/qrtr/af_qrtr.c:1213 #2: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline] #2: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x820 kernel/rcu/tree_exp.h:996 3 locks held by syz.6.2640/19971: 1 lock held by syz.4.2646/19970: 1 lock held by syz.4.2646/19982: #0: ffff88801d3090d8 (&nft_net->commit_mutex){+.+.}-{4:4}, at: nf_tables_valid_genid+0x32/0x100 net/netfilter/nf_tables_api.c:11265 1 lock held by syz.3.2647/19977: #0: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline] #0: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x820 kernel/rcu/tree_exp.h:996 1 lock held by dhcpcd/19986: #0: ffff88802955a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1624 [inline] #0: ffff88802955a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3253 4 locks held by sed/19992: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc6-syzkaller-00205-g3571e8b091f4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 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: 6183 Comm: kworker/u8:29 Not tainted 6.14.0-rc6-syzkaller-00205-g3571e8b091f4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:memset+0xf/0x20 arch/x86/lib/memset_64.S:37 Code: 44 88 1f e9 fe 4a 07 f5 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 e9 d2 4a 07 f5 0f 1f 80 00 00 00 00 90 90 90 90 90 RSP: 0018:ffffc90004c775d8 EFLAGS: 00000002 RAX: ffffffff84f68000 RBX: ffffc90004c77920 RCX: 0000000000000012 RDX: 0000000000000040 RSI: 0000000000000000 RDI: ffffc90004c7764e RBP: ffffc90004c776d0 R08: ffffc90004c7765f R09: ffffc90004c77620 R10: dffffc0000000000 R11: fffff5200098eecc R12: ffffc90004c77620 R13: ffffc90004c77720 R14: dffffc0000000000 R15: 0000000000000014 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe188f70370 CR3: 00000000330ae000 CR4: 0000000000350ef0 Call Trace: chacha_block_generic+0x93/0x1350 lib/crypto/chacha.c:78 chacha20_block include/crypto/chacha.h:36 [inline] crng_fast_key_erasure+0x147/0x270 drivers/char/random.c:326 crng_make_state+0x2b7/0x7b0 drivers/char/random.c:392 _get_random_bytes+0xd7/0x2c0 drivers/char/random.c:406 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:775 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x690/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac0/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244