INFO: task syz.0.638:8385 blocked for more than 143 seconds.
Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.638 state:D stack:22720 pid:8385 tgid:8382 ppid:5832 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5377 [inline]
__schedule+0x190e/0x4c90 kernel/sched/core.c:6764
__schedule_loop kernel/sched/core.c:6841 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6856
mb_cache_entry_wait_unused+0x166/0x250 fs/mbcache.c:148
ext4_evict_ea_inode+0x14a/0x2f0 fs/ext4/xattr.c:480
ext4_evict_inode+0x194/0xf50 fs/ext4/inode.c:185
evict+0x4ea/0x9a0 fs/inode.c:796
ext4_xattr_ibody_set+0x590/0x730 fs/ext4/xattr.c:2287
ext4_xattr_set_handle+0xba6/0x1580 fs/ext4/xattr.c:2446
ext4_xattr_set+0x280/0x3e0 fs/ext4/xattr.c:2560
__vfs_setxattr+0x46a/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:0x7f7ca798cda9
RSP: 002b:00007f7ca87f7038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f7ca7ba5fa0 RCX: 00007f7ca798cda9
RDX: 0000000020001400 RSI: 00000000200001c0 RDI: 00000000200003c0
RBP: 00007f7ca7a0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7ca7ba5fa0 R15: 00007ffea5636ec8
INFO: task syz.0.638:8395 blocked for more than 144 seconds.
Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.638 state:D stack:25496 pid:8395 tgid:8382 ppid:5832 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5377 [inline]
__schedule+0x190e/0x4c90 kernel/sched/core.c:6764
__schedule_loop kernel/sched/core.c:6841 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6856
__wait_on_freeing_inode+0x1c7/0x2f0 fs/inode.c:2502
find_inode_fast+0x2ab/0x480 fs/inode.c:1103
iget_locked+0x96/0x5a0 fs/inode.c:1475
__ext4_iget+0x25e/0x3fe0 fs/ext4/inode.c:4760
ext4_xattr_inode_cache_find fs/ext4/xattr.c:1548 [inline]
ext4_xattr_inode_lookup_create+0x3b1/0x1c90 fs/ext4/xattr.c:1587
ext4_xattr_ibody_set+0x214/0x730 fs/ext4/xattr.c:2269
ext4_xattr_set_handle+0xba6/0x1580 fs/ext4/xattr.c:2446
ext4_xattr_set+0x280/0x3e0 fs/ext4/xattr.c:2560
__vfs_setxattr+0x46a/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:0x7f7ca798cda9
RSP: 002b:00007f7ca87d6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f7ca7ba6080 RCX: 00007f7ca798cda9
RDX: 0000000020001400 RSI: 00000000200001c0 RDI: 0000000020000380
RBP: 00007f7ca7a0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f7ca7ba6080 R15: 00007ffea5636ec8
INFO: task syz.0.638:8397 blocked for more than 145 seconds.
Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.638 state:D stack:27488 pid:8397 tgid:8382 ppid:5832 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5377 [inline]
__schedule+0x190e/0x4c90 kernel/sched/core.c:6764
__schedule_loop kernel/sched/core.c:6841 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6856
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913
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:865 [inline]
vfs_unlink+0xe4/0x650 fs/namei.c:4514
do_unlinkat+0x4ae/0x830 fs/namei.c:4589
__do_sys_unlinkat fs/namei.c:4632 [inline]
__se_sys_unlinkat fs/namei.c:4625 [inline]
__x64_sys_unlinkat+0xcc/0xf0 fs/namei.c:4625
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:0x7f7ca798cda9
RSP: 002b:00007f7ca87b5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f7ca7ba6160 RCX: 00007f7ca798cda9
RDX: 0000000000000000 RSI: 0000000020000380 RDI: ffffffffffffff9c
RBP: 00007f7ca7a0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f7ca7ba6160 R15: 00007ffea5636ec8
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e93dc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline]
#0: ffffffff8e93dc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:996
1 lock held by khungtaskd/30:
#0: ffffffff8e9387a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e9387a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e9387a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
5 locks held by kworker/u8:7/1105:
2 locks held by getty/5593:
#0: ffff88814d6eb0a0 (&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 syz.0.638/8385:
#0: ffff88802629c420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547
#1: ffff888025c72b98 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock include/linux/fs.h:865 [inline]
#1: ffff888025c72b98 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
#2: ffff888025c72868 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:154 [inline]
#2: ffff888025c72868 (&ei->xattr_sem){++++}-{4:4}, at: ext4_xattr_set_handle+0x277/0x1580 fs/ext4/xattr.c:2373
3 locks held by syz.0.638/8395:
#0: ffff88802629c420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547
#1: ffff88807ba15d20 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock include/linux/fs.h:865 [inline]
#1: ffff88807ba15d20 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
#2: ffff88807ba159f0 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:154 [inline]
#2: ffff88807ba159f0 (&ei->xattr_sem){++++}-{4:4}, at: ext4_xattr_set_handle+0x277/0x1580 fs/ext4/xattr.c:2373
3 locks held by syz.0.638/8397:
#0: ffff88802629c420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547
#1: ffff888025c75d20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:900 [inline]
#1: ffff888025c75d20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4576
#2: ffff888025c72b98 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock include/linux/fs.h:865 [inline]
#2: ffff888025c72b98 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: vfs_unlink+0xe4/0x650 fs/namei.c:4514
3 locks held by syz-executor/8852:
#0: ffff88805ce080e0 (&type->s_umount_key#51){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88805ce080e0 (&type->s_umount_key#51){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88805ce080e0 (&type->s_umount_key#51){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffff888063380278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfd/0x5c0 fs/bcachefs/super.c:622
#2: ffffffff8e93dc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline]
#2: ffffffff8e93dc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:996
1 lock held by syz-executor/10753:
#0: ffffffff8e93dc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline]
#0: ffffffff8e93dc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:996
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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:236 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:399
kthread+0x7ab/0x920 kernel/kthread.c:464
ret_from_fork+0x4d/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: 12874 Comm: sed Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:memset+0xf/0x20 arch/x86/lib/memset_64.S:37
Code: 44 88 1f e9 be bf 1a f5 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 e9 92 bf 1a f5 0f 1f 80 00 00 00 00 90 90 90 90 90
RSP: 0000:ffffc90003137028 EFLAGS: 00000202
RAX: ffffc90003137e00 RBX: ffffc90003137138 RCX: 000000000000000b
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90003137155
RBP: dffffc0000000000 R08: ffffc9000313715f R09: ffffc90003137150
R10: dffffc0000000000 R11: fffff52000626e2c R12: ffffc90003138000
R13: ffffc90003137100 R14: ffffffff820d2a25 R15: ffffc90003137150
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe8f53a7dce CR3: 000000006895a000 CR4: 0000000000350ef0
Call Trace:
unwind_next_frame+0xcfb/0x22d0 arch/x86/kernel/unwind_orc.c:592
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__set_page_owner+0x92/0x800 mm/page_owner.c:320
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4739
alloc_pages_mpol+0x311/0x660 mm/mempolicy.c:2270
folio_alloc_mpol_noprof mm/mempolicy.c:2289 [inline]
vma_alloc_folio_noprof+0x12b/0x260 mm/mempolicy.c:2324
folio_prealloc+0x2e/0x170
do_cow_fault mm/memory.c:5416 [inline]
do_fault mm/memory.c:5528 [inline]
do_pte_missing mm/memory.c:4047 [inline]
handle_pte_fault mm/memory.c:5889 [inline]
__handle_mm_fault+0x20bd/0x70f0 mm/memory.c:6032
handle_mm_fault+0x3e5/0x8d0 mm/memory.c:6201
do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x459/0x8b0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fe8f538f73a
Code: 89 f0 5d 41 5c 41 5d 41 5e c3 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 fc 53 48 81 ec 88 00 00 00 0f 31 48 8d 0d e6 76 01 00 <80> 25 8d 86 01 00 df 48 8d 3d a8 83 01 00 48 89 0d 71 83 01 00 41
RSP: 002b:00007ffc724b9ad0 EFLAGS: 00010202
RAX: 0000000062baf2a9 RBX: 0000000000000000 RCX: 00007fe8f53a6e20
RDX: 00000000000000c2 RSI: 0000000000000000 RDI: 00007ffc724b9b90
RBP: 00007ffc724b9b80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00007ffc724b9b90
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000