INFO: task syz.0.1024:10648 blocked for more than 143 seconds.
Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1024 state:D stack:22608 pid:10648 tgid:10647 ppid:5829 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x189f/0x4c80 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
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:197
xfs_trans_alloc+0x40e/0x830 fs/xfs/xfs_trans.c:286
xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1103
xfs_attr_set+0x8a8/0x1420 fs/xfs/libxfs/xfs_attr.c:1100
xfs_xattr_set+0x1ff/0x350 fs/xfs/xfs_xattr.c:186
__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:636 [inline]
filename_setxattr+0x2af/0x430 fs/xattr.c:665
path_setxattrat+0x440/0x510 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/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbedcd7fed9
RSP: 002b:00007fbeddbe0058 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fbedcf45fa0 RCX: 00007fbedcd7fed9
RDX: 0000000020000380 RSI: 0000000020000240 RDI: 0000000020000300
RBP: 00007fbedcdf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000ff27 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbedcf45fa0 R15: 00007ffeab9ac7e8
INFO: task syz.0.1024:10689 blocked for more than 144 seconds.
Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1024 state:D stack:27328 pid:10689 tgid:10647 ppid:5829 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x189f/0x4c80 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:830 [inline]
vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
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_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/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbedcd7fed9
RSP: 002b:00007fbeddbbf058 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fbedcf46080 RCX: 00007fbedcd7fed9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 00000000200002c0
RBP: 00007fbedcdf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbedcf46080 R15: 00007ffeab9ac7e8
INFO: task syz.0.1024:10692 blocked for more than 144 seconds.
Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1024 state:D stack:27328 pid:10692 tgid:10647 ppid:5829 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x189f/0x4c80 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:830 [inline]
vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
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_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/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbedcd7fed9
RSP: 002b:00007fbeddb9e058 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fbedcf46160 RCX: 00007fbedcd7fed9
RDX: 00000000200001c0 RSI: 0000000020000080 RDI: 0000000020000040
RBP: 00007fbedcdf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000001d R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fbedcf46160 R15: 00007ffeab9ac7e8
Showing all locks held in the system:
2 locks held by kworker/0:1/9:
#0: ffff88801ef0a948 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ef0a948 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc900000e7d00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900000e7d00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
1 lock held by khungtaskd/30:
#0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
7 locks held by kworker/u8:4/61:
#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/0x1840 kernel/workqueue.c:3310
#1: ffffc9000212fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000212fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fcabd10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:586
#3: ffff88805bda10e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline]
#3: ffff88805bda10e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline]
#3: ffff88805bda10e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506
#4: ffff88805bda4250 (&devlink->lock_key#24){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline]
#4: ffff88805bda4250 (&devlink->lock_key#24){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline]
#4: ffff88805bda4250 (&devlink->lock_key#24){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506
#5: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:816
#6: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#6: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
3 locks held by kworker/u8:8/3509:
#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/0x1840 kernel/workqueue.c:3310
#1: ffffc9000d007d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000d007d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
2 locks held by getty/5587:
#0: ffff888031e030a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/6549:
#0: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
2 locks held by kworker/u8:13/7920:
#0: ffff8880b873e998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
#1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987
3 locks held by syz.0.1024/10648:
#0: ffff88805c4dc420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff888079691a70 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{4:4}, at: inode_lock include/linux/fs.h:830 [inline]
#1: ffff888079691a70 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
#2: ffff88805c4dc610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1103
2 locks held by syz.0.1024/10689:
#0: ffff88805c4dc420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff888079691a70 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{4:4}, at: inode_lock include/linux/fs.h:830 [inline]
#1: ffff888079691a70 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
2 locks held by syz.0.1024/10692:
#0: ffff88805c4dc420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff888079691a70 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{4:4}, at: inode_lock include/linux/fs.h:830 [inline]
#1: ffff888079691a70 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-next-20241205-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:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:32 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline]
RIP: 0010:lockdep_softirqs_on+0x11a/0x5a0 kernel/locking/lockdep.c:4531
Code: 48 c1 eb 03 80 3c 13 00 74 12 4c 89 ff e8 be 59 8b 00 48 ba 00 00 00 00 00 fc ff df 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 <80> 3c 13 00 74 12 4c 89 ff e8 a8 58 8b 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90000bd7940 EFLAGS: 00000046
RAX: 0000000000000004 RBX: 1ffff9200017af30 RCX: ffffffff9a3b9903
RDX: dffffc0000000000 RSI: ffffffff8c5fbe60 RDI: ffffffff8b9793e2
RBP: ffffc90000bd79f0 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36
R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 1ffff9200017af2c
R13: ffff888021ac1e00 R14: ffffffff8b9793e2 R15: ffffc90000bd7980
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb367277d60 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__local_bh_enable_ip+0x123/0x200 kernel/softirq.c:377
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_nc_purge_paths+0x312/0x3b0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x328/0x610 net/batman-adv/network-coding.c:720
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
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