INFO: task syz.6.373:7957 blocked for more than 143 seconds.
Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.373 state:D stack:22544 pid:7957 tgid:7926 ppid:6546 flags:0x00004004
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:1098
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:0x7f01e5385d29
RSP: 002b:00007f01e31f6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f01e5576160 RCX: 00007f01e5385d29
RDX: 0000000020000880 RSI: 0000000020000240 RDI: 0000000020000300
RBP: 00007f01e5401aa8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000ff27 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f01e5576160 R15: 00007ffd6af156a8
INFO: task syz.6.373:7958 blocked for more than 144 seconds.
Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.373 state:D stack:25664 pid:7958 tgid:7926 ppid:6546 flags:0x00004004
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_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
vfs_rename+0x6a2/0xf00 fs/namei.c:5038
do_renameat2+0xd94/0x13f0 fs/namei.c:5224
__do_sys_rename fs/namei.c:5271 [inline]
__se_sys_rename fs/namei.c:5269 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5269
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:0x7f01e5385d29
RSP: 002b:00007f01e2dd3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f01e5576240 RCX: 00007f01e5385d29
RDX: 0000000000000000 RSI: 0000000020000f00 RDI: 00000000200000c0
RBP: 00007f01e5401aa8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f01e5576240 R15: 00007ffd6af156a8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
2 locks held by getty/5595:
#0: ffff88814ce870a0 (&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
3 locks held by udevd/5849:
2 locks held by kworker/1:5/5890:
#0: ffff888079438148 ((wq_completion)xfs-sync/loop6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff888079438148 ((wq_completion)xfs-sync/loop6){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000431fc60 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000431fc60 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
3 locks held by kworker/u8:17/7349:
#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
#2: ffff88805b1b8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6034 [inline]
#2: ffff88805b1b8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xcf/0x490 net/wireless/core.c:424
3 locks held by syz.6.373/7957:
#0: ffff88807890e420 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:548
#1: ffff888058402230 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline]
#1: ffff888058402230 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
#2: ffff88807890e610 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1098
3 locks held by syz.6.373/7958:
#0: ffff88807890e420 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:548
#1: ffff88807811a230 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:898 [inline]
#1: ffff88807811a230 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3215 [inline]
#1: ffff88807811a230 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:5159
#2: ffff888058402230 (&sb->s_type->i_mutex_key#27/4){+.+.}-{4:4}, at: vfs_rename+0x6a2/0xf00 fs/namei.c:5038
4 locks held by rm/10096:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-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+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
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: 10097 Comm: dhcpcd-run-hook Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:task_wait_context kernel/locking/lockdep.c:4782 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4871 [inline]
RIP: 0010:__lock_acquire+0x7c8/0x2100 kernel/locking/lockdep.c:5176
Code: 65 8b 05 97 ee 67 7e 85 c0 74 45 49 8d 9d b8 0a 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 00 14 00 00 b0 03 83 3b 00 <75> 44 49 8d 9d d0 0a 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0
RSP: 0000:ffffc9000c4779b0 EFLAGS: 00000046
RAX: 0000000000000003 RBX: ffff888030318ab8 RCX: 0000000000000002
RDX: dffffc0000000000 RSI: ffff888030318ae8 RDI: ffffffff942d7848
RBP: 00000000ffffffff R08: ffffffff942d784f R09: 1ffffffff285af09
R10: dffffc0000000000 R11: fffffbfff285af0a R12: 0000000000000000
R13: ffff888030318000 R14: 1ffff11006063161 R15: ffff888030318b08
FS: 00007fa09222e380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560c19bda318 CR3: 000000004f0ac000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849
__raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
_raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170
__run_hrtimer kernel/time/hrtimer.c:1743 [inline]
__hrtimer_run_queues+0x670/0xd30 kernel/time/hrtimer.c:1803
hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
__sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0033:0x7fa0924b51a4
Code: 97 07 00 48 8b 55 c8 64 48 2b 14 25 28 00 00 00 74 05 e8 ef 63 fc ff 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 55 41 54 <53> 48 8b 1d 64 91 07 00 48 c7 05 59 91 07 00 00 00 00 00 48 85 db
RSP: 002b:00007ffe73159958 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000560c19bd5c60 RCX: 0000000000000001
RDX: 000000000000001d RSI: 000000000000000a RDI: 00007fa09252103f
RBP: 0000000000000000 R08: 00007fa0924ae622 R09: 00007fa09245dd00
R10: 000000000000002f R11: 0000000000000000 R12: 0000560c19bd5c60
R13: 0000000000000000 R14: 0000000000000003 R15: 0000560c19bd5910