INFO: task syz-executor.4:5719 blocked for more than 144 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:22992 pid: 5719 ppid: 4582 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x381/0x900 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x295/0x480 xfs_log_reserve+0x3b8/0xb10 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x23d/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x420/0x7f0 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x848/0x1460 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x227/0x3a0 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x27e/0x2e0 fs/xattr.c:611 path_setxattr+0x1bc/0x2a0 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f82a8b3bea9 RSP: 002b:00007f82a70ae0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f82a8c69f80 RCX: 00007f82a8b3bea9 RDX: 0000000020000280 RSI: 0000000020000100 RDI: 00000000200000c0 RBP: 00007f82a8b884a4 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000feeb R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f82a8c69f80 R15: 00007ffdcf22ce38 INFO: task syz-executor.4:5806 blocked for more than 146 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26840 pid: 5806 ppid: 4582 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x381/0x900 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x295/0x480 xfs_log_reserve+0x3b8/0xb10 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x23d/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x420/0x7f0 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 xfs_create+0x745/0x1370 fs/xfs/xfs_inode.c:1018 xfs_generic_create+0x426/0xd00 fs/xfs/xfs_iops.c:197 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x130a/0x2f20 fs/namei.c:3739 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f82a8b3bea9 RSP: 002b:00007f82a708d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f82a8c6a050 RCX: 00007f82a8b3bea9 RDX: 000000000000275a RSI: 0000000020000200 RDI: ffffffffffffff9c RBP: 00007f82a8b884a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f82a8c6a050 R15: 00007ffdcf22ce38 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:4/1236: 2 locks held by getty/3257: #0: ffff88814af5a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/u4:7/3901: #0: ffff8880b9b3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffff8880751d4d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff8880751d4d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1480 net/mac80211/ibss.c:1685 3 locks held by kworker/0:18/4643: #0: ffff88814abab938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004527d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x1720 net/ipv6/addrconf.c:4112 2 locks held by kworker/1:17/5625: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003417d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by syz-executor.4/5719: #0: ffff88805821e460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e74d580 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805e74d580 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302 #2: ffff88805821e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 3 locks held by syz-executor.4/5806: #0: ffff88805821e460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e748300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805e748300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff88805e748300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 #2: ffff88805821e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 2 locks held by kworker/1:21/6190: #0: ffff88807cff7938 ((wq_completion)xfs-sync/loop4){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003347d20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz-executor.4/8820: #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5626 6 locks held by syz-executor.2/8962: #0: ffffffff9178ec58 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:164 [inline] #0: ffffffff9178ec58 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] #0: ffffffff9178ec58 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv+0x30f/0x9a0 drivers/infiniband/core/netlink.c:259 #1: ffffffff8d7ee4b0 (link_ops_rwsem){++++}-{3:3}, at: nldev_newlink+0x416/0x620 drivers/infiniband/core/nldev.c:1700 #2: ffffffff8d7e13b0 (devices_rwsem){++++}-{3:3}, at: enable_device_and_get+0x12a/0x430 drivers/infiniband/core/device.c:1321 #3: ffffffff8d7e1570 (rdma_nets_rwsem){++++}-{3:3}, at: add_compat_devs drivers/infiniband/core/device.c:1024 [inline] #3: ffffffff8d7e1570 (rdma_nets_rwsem){++++}-{3:3}, at: enable_device_and_get+0x2c6/0x430 drivers/infiniband/core/device.c:1337 #4: ffff88805c4d8fe0 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0x103/0x6c0 drivers/infiniband/core/device.c:942 #5: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: ib_get_eth_speed+0x145/0x500 drivers/infiniband/core/verbs.c:1905 1 lock held by syz-executor.3/9014: #0: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 2 locks held by syz-executor.1/9025: #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x598/0xf60 net/core/dev_ioctl.c:611 #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.0/9030: #0: ffff8880594a9a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff8880594a9a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff8880594a9a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1336 #1: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0xa0/0x2a0 net/ipv6/ip6mr.c:1584 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4636 Comm: kworker/0:12 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events linkwatch_event RIP: 0010:io_serial_in+0x72/0xb0 drivers/tty/serial/8250/8250_port.c:461 Code: c4 bf 05 fd 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 65 84 4f fd 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 89 e9 80 e1 07 38 c1 7c ad 48 89 ef RSP: 0018:ffffc90003fc7390 EFLAGS: 00000002 RAX: 1ffffffff22e2c00 RBX: ffffffff91716760 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff847a9d12 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffffffff22e2d39 R13: ffffffff91716720 R14: 00000000000003fd R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef7d912978 CR3: 0000000061b2f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:116 [inline] wait_for_xmitr+0xec/0x260 drivers/tty/serial/8250/8250_port.c:2069 serial8250_console_putchar+0x19/0x50 drivers/tty/serial/8250/8250_port.c:3301 uart_console_write+0xa9/0x100 drivers/tty/serial/serial_core.c:1971 serial8250_console_write+0xc8e/0x1180 drivers/tty/serial/8250/8250_port.c:3378 console_unlock+0xced/0x12b0 kernel/printk/printk.c:2744 vprintk_emit+0xbf/0x150 kernel/printk/printk.c:2274 _printk+0xd1/0x120 kernel/printk/printk.c:2299 addrconf_notify+0xa80/0xf30 net/ipv6/addrconf.c:3658 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] netdev_state_change+0x1a3/0x250 net/core/dev.c:1409 linkwatch_do_dev+0x10c/0x160 net/core/link_watch.c:167 __linkwatch_run_queue+0x4ca/0x7f0 net/core/link_watch.c:213 linkwatch_event+0x48/0x50 net/core/link_watch.c:252 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300