INFO: task syz.4.1377:12889 blocked for more than 145 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.1377 state:D stack:23376 pid:12889 tgid:12888 ppid:5839 task_flags:0x440140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 xlog_grant_head_wait+0x453/0xa20 fs/xfs/xfs_log.c:267 xlog_grant_head_check+0x286/0x420 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x2cc/0x780 fs/xfs/xfs_log.c:437 xfs_trans_reserve fs/xfs/xfs_trans.c:176 [inline] xfs_trans_alloc+0x29c/0x980 fs/xfs/xfs_trans.c:258 xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1076 xfs_attr_set+0x7fa/0x1210 fs/xfs/libxfs/xfs_attr.c:1098 xfs_xattr_set+0x14d/0x250 fs/xfs/xfs_xattr.c:186 __vfs_setxattr+0x43c/0x480 fs/xattr.c:200 __vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:234 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x274/0x600 fs/xattr.c:665 path_setxattrat+0x364/0x3a0 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f64d278eec9 RSP: 002b:00007f64d3566038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f64d29e5fa0 RCX: 00007f64d278eec9 RDX: 00002000000013c0 RSI: 0000200000000140 RDI: 0000200000000180 RBP: 00007f64d2811f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ff7f R11: 0000000000000246 R12: 0000000000000000 R13: 00007f64d29e6038 R14: 00007f64d29e5fa0 R15: 00007ffd8fe6a7c8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8e13d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:2/36: #0: ffff88801b2df148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88801b2df148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90000ac7ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90000ac7ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8f4d31f0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x820 net/core/net_namespace.c:669 2 locks held by getty/5591: #0: ffff88814c8a20a0 (&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+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/u8:12/6213: #0: ffff88813fe69948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88813fe69948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000efafba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000efafba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 3 locks held by syz.4.1377/12889: #0: ffff8880662b4420 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:508 #1: ffff888071f637b0 (&sb->s_type->i_mutex_key#28){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #1: ffff888071f637b0 (&sb->s_type->i_mutex_key#28){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff8880662b4610 (sb_internal#5){.+.+}-{0:0}, at: xfs_trans_alloc+0xd7/0x980 fs/xfs/xfs_trans.c:256 2 locks held by syz-executor/14317: #0: ffffffff8ec729a0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ec729a0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8ec729a0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 1 lock held by syz.1.1725/14505: #0: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtm_new_nexthop+0xe96/0x8140 net/ipv4/nexthop.c:3271 1 lock held by syz.1.1725/14506: #0: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: rtm_del_nexthop+0x354/0x5b0 net/ipv4/nexthop.c:3340 2 locks held by syz.1.1725/14507: #0: ffffffff8f4c4508 (vlan_ioctl_mutex){+.+.}-{4:4}, at: sock_ioctl+0x5ee/0x790 net/socket.c:1337 #1: ffffffff8f4e02c8 (rtnl_mutex){+.+.}-{4:4}, at: vlan_ioctl_handler+0xd0/0x650 net/8021q/vlan.c:577 2 locks held by syz.9.1728/14503: 2 locks held by syz.2.1726/14504: #0: ffff888045ccfac8 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888045ccfac8 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:661 [inline] #0: ffff888045ccfac8 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1455 #1: ffffffff8e142d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #1: ffffffff8e142d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957 1 lock held by syz.2.1726/14509: #0: ffffffff8f4c4508 (vlan_ioctl_mutex){+.+.}-{4:4}, at: sock_ioctl+0x5ee/0x790 net/socket.c:1337 1 lock held by syz.3.1727/14510: #0: ffffffff8e142c40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3820 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 14317 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:put_dec_trunc8+0x7d/0x340 lib/vsprintf.c:252 Code: 89 fe e8 d6 78 77 f6 41 83 ff 63 0f 87 e2 01 00 00 e8 87 74 77 f6 4e 8d 3c 7d a0 80 95 8c 4c 89 f8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 da 01 00 00 45 0f b7 3f 48 89 d8 48 c1 e8 03 42 0f b6 RSP: 0018:ffffc90003bee1c8 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: ffffc90003bee280 RCX: ffff888027b5bc80 RDX: 0000000000000000 RSI: 000000000000005c RDI: 0000000000000064 RBP: 000000000000037c R08: ffffc90003bee297 R09: 0000000000000000 R10: ffffc90003bee280 R11: fffff5200077dc53 R12: dffffc0000000000 R13: 000000000000037c R14: 0000000000000008 R15: ffffffff8c958158 FS: 000055559068e500(0000) GS:ffff888125e0b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5577bff000 CR3: 0000000071316000 CR4: 00000000003526f0 Call Trace: number+0x2f8/0xf60 lib/vsprintf.c:519 vsnprintf+0x91b/0xf00 lib/vsprintf.c:2890 sprintf+0xd9/0x120 lib/vsprintf.c:3089 print_time kernel/printk/printk.c:1354 [inline] info_print_prefix+0x155/0x310 kernel/printk/printk.c:1380 record_print_text+0x154/0x420 kernel/printk/printk.c:1429 printk_get_next_message+0x26d/0x7b0 kernel/printk/printk.c:2997 console_emit_next_record kernel/printk/printk.c:3065 [inline] console_flush_all+0x4ca/0xb10 kernel/printk/printk.c:3199 __console_flush_and_unlock kernel/printk/printk.c:3258 [inline] console_unlock+0xbb/0x190 kernel/printk/printk.c:3298 vprintk_emit+0x4c5/0x590 kernel/printk/printk.c:2423 _printk+0xcf/0x120 kernel/printk/printk.c:2448 netdev_info+0x10a/0x160 net/core/dev.c:12755 __dev_set_promiscuity+0x307/0x740 net/core/dev.c:9449 netif_set_promiscuity+0x50/0xe0 net/core/dev.c:9484 dev_set_promiscuity+0x126/0x260 net/core/dev_api.c:287 hsr_portdev_setup net/hsr/hsr_slave.c:155 [inline] hsr_add_port+0x5ce/0x980 net/hsr/hsr_slave.c:211 hsr_dev_finalize+0x6c4/0xaa0 net/hsr/hsr_device.c:769 hsr_newlink+0x7d7/0x940 net/hsr/hsr_netlink.c:122 rtnl_newlink_create+0x310/0xb00 net/core/rtnetlink.c:3833 __rtnl_newlink net/core/rtnetlink.c:3950 [inline] rtnl_newlink+0x16e4/0x1c80 net/core/rtnetlink.c:4065 rtnetlink_rcv_msg+0x7cf/0xb70 net/core/rtnetlink.c:6954 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 __sys_sendto+0x3bd/0x520 net/socket.c:2244 __do_sys_sendto net/socket.c:2251 [inline] __se_sys_sendto net/socket.c:2247 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2247 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fda5a190d5c Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b RSP: 002b:00007ffce3603000 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fda5af14620 RCX: 00007fda5a190d5c RDX: 0000000000000048 RSI: 00007fda5af14670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffce3603054 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fda5af14670 R15: 0000000000000000