INFO: task syz.1.250:8043 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-g2d8bce6e34be #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.250 state:D stack:0 pid:8043 tgid:8042 ppid:7523 flags:0x00000001 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:697 context_switch kernel/sched/core.c:5315 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6767 xlog_grant_head_wait+0x404/0xb9c fs/xfs/xfs_log.c:266 xlog_grant_head_check+0x264/0x434 xfs_log_reserve+0x330/0xa14 fs/xfs/xfs_log.c:436 xfs_trans_reserve+0x1cc/0x57c fs/xfs/xfs_trans.c:195 xfs_trans_alloc+0x410/0x940 fs/xfs/xfs_trans.c:284 xfs_trans_alloc_inode+0x170/0x4f4 fs/xfs/xfs_trans.c:1077 xfs_attr_set+0x748/0x1178 fs/xfs/libxfs/xfs_attr.c:1046 xfs_attr_change+0x254/0x334 fs/xfs/xfs_xattr.c:129 xfs_xattr_set+0x198/0x2cc fs/xfs/xfs_xattr.c:187 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x110/0x578 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x1a8/0x344 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] path_setxattr+0x30c/0x428 fs/xattr.c:658 __do_sys_lsetxattr fs/xattr.c:683 [inline] __se_sys_lsetxattr fs/xattr.c:679 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:679 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:732 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:750 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 3 locks held by kworker/0:1/10: 1 lock held by khungtaskd/31: #0: ffff80008f9cf760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 3 locks held by kworker/u8:5/715: #0: ffff0000d1d2e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009cbb7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 5 locks held by kworker/u8:7/2070: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a0417c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926f3850 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #4: ffff80008f9d4cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffff80008f9d4cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:976 2 locks held by kworker/u8:9/2194: 3 locks held by kworker/0:2/3825: 2 locks held by getty/6177: #0: ffff0000d85480a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b7ce2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:3/6409: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a4d47c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/1:4/6468: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a0c17c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff0000e7831240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1488 2 locks held by kworker/0:6/6479: #0: ffff0000d935a148 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a0b77c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 3 locks held by syz.1.250/8043: #0: ffff0000cea1a420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000dd31c8f0 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000dd31c8f0 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:320 #2: ffff0000cea1a610 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x170/0x4f4 fs/xfs/xfs_trans.c:1077 1 lock held by syz-executor/9434: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6643 3 locks held by syz.2.472/9453: #0: ffff0000e6d58420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000edc45870 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000edc45870 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:320 #2: ffff0000e6d58610 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x170/0x4f4 fs/xfs/xfs_trans.c:1077 4 locks held by syz-executor/9498: 1 lock held by syz-executor/9499: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6643 1 lock held by syz-executor/9547: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6643 7 locks held by syz-executor/9550: #0: ffff0000d87d8420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d87d8420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000df231888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc7422d8 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff80009185ede8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000c7ed50e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff0000c7ed50e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000c7ed50e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000d8061250 (&devlink->lock_key#17){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9571: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6643 =============================================