INFO: task syz.2.64:6734 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.64 state:D stack:24024 pid:6734 tgid:6733 ppid:6272 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6929
__schedule_loop kernel/sched/core.c:7011 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7026
__wait_on_freeing_inode+0x1c5/0x2f0 fs/inode.c:2494
find_inode_fast+0x2b0/0x470 fs/inode.c:1070
iget_locked+0xaf/0x580 fs/inode.c:1433
__ext4_iget+0x242/0x4220 fs/ext4/inode.c:5210
ext4_xattr_inode_cache_find fs/ext4/xattr.c:1545 [inline]
ext4_xattr_inode_lookup_create+0x438/0x1c20 fs/ext4/xattr.c:1584
ext4_xattr_ibody_set+0x202/0x6a0 fs/ext4/xattr.c:2263
ext4_xattr_set_handle+0xc9a/0x1590 fs/ext4/xattr.c:2440
ext4_xattr_set+0x230/0x320 fs/ext4/xattr.c:2554
__vfs_setxattr+0x43c/0x480 fs/xattr.c:200
__vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:234
vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321
do_setxattr fs/xattr.c:636 [inline]
filename_setxattr+0x274/0x600 fs/xattr.c:665
path_setxattrat+0x364/0x3a0 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/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f23fe38eec9
RSP: 002b:00007f23ff2a9038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f23fe5e5fa0 RCX: 00007f23fe38eec9
RDX: 0000200000001400 RSI: 00002000000001c0 RDI: 0000200000000380
RBP: 00007f23fe411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f23fe5e6038 R14: 00007f23fe5e5fa0 R15: 00007ffd556f2768
INFO: task syz.2.64:6753 blocked for more than 144 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.64 state:D stack:26056 pid:6753 tgid:6733 ppid:6272 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6929
__schedule_loop kernel/sched/core.c:7011 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7026
mb_cache_entry_wait_unused+0x165/0x250 fs/mbcache.c:148
ext4_evict_ea_inode+0x14d/0x2f0 fs/ext4/xattr.c:481
ext4_evict_inode+0x16f/0xee0 fs/ext4/inode.c:183
evict+0x504/0x9c0 fs/inode.c:810
ext4_xattr_ibody_set+0x510/0x6a0 fs/ext4/xattr.c:2281
ext4_xattr_set_handle+0xc9a/0x1590 fs/ext4/xattr.c:2440
ext4_xattr_set+0x230/0x320 fs/ext4/xattr.c:2554
__vfs_setxattr+0x43c/0x480 fs/xattr.c:200
__vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:234
vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321
do_setxattr fs/xattr.c:636 [inline]
filename_setxattr+0x274/0x600 fs/xattr.c:665
path_setxattrat+0x364/0x3a0 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/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f23fe38eec9
RSP: 002b:00007f23ff288038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f23fe5e6090 RCX: 00007f23fe38eec9
RDX: 0000200000001400 RSI: 00002000000001c0 RDI: 0000200000000200
RBP: 00007f23fe411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f23fe5e6128 R14: 00007f23fe5e6090 R15: 00007ffd556f2768
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline]
#0: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957
3 locks held by kworker/u8:0/12:
3 locks held by kworker/u8:1/13:
1 lock held by khungtaskd/31:
#0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
1 lock held by udevd/5192:
2 locks held by getty/5582:
#0: ffff88814d7a70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
1 lock held by syz-executor/6268:
1 lock held by syz-executor/6274:
1 lock held by udevd/6518:
3 locks held by syz.2.64/6734:
#0: ffff88802e7ce420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:508
#1: ffff888072770d70 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline]
#1: ffff888072770d70 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888072770a58 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:157 [inline]
#2: ffff888072770a58 (&ei->xattr_sem){++++}-{4:4}, at: ext4_xattr_set_handle+0x165/0x1590 fs/ext4/xattr.c:2367
3 locks held by syz.2.64/6753:
#0: ffff88802e7ce420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:508
#1: ffff8880727576a0 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline]
#1: ffff8880727576a0 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888072757388 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:157 [inline]
#2: ffff888072757388 (&ei->xattr_sem){++++}-{4:4}, at: ext4_xattr_set_handle+0x165/0x1590 fs/ext4/xattr.c:2367
1 lock held by syz.0.1270/11781:
2 locks held by syz.4.1272/11787:
#0: ffff888142bc9440 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_global_lock_killable drivers/block/loop.c:118 [inline]
#0: ffff888142bc9440 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_configure+0x35e/0xe50 drivers/block/loop.c:1018
#1: ffff888140460188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x41/0x520 fs/kernfs/dir.c:791
6 locks held by syz.5.1273/11789:
1 lock held by syz.1.1274/11786:
#0: ffff888058d3c0e0 (&type->s_umount_key#28/1){+.+.}-{4:4}, at: alloc_super+0x1bb/0x930 fs/super.c:344
2 locks held by syz.3.1271/11788:
#0: ffff888142bb6440 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_global_lock_killable drivers/block/loop.c:118 [inline]
#0: ffff888142bb6440 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_configure+0x35e/0xe50 drivers/block/loop.c:1018
#1: ffff888140460188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x41/0x520 fs/kernfs/dir.c:791
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
watchdog+0xf60/0xfa0 kernel/hung_task.c:495
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 11788 Comm: syz.3.1271 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:debug_smp_processor_id+0x0/0x20 lib/smp_processor_id.c:57
Code: c7 20 8c ff 8d 4c 89 f6 e8 2d b5 7b f9 e9 66 ff ff ff cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 c7 c7 00 04 bf 8b 48 c7 c6 40 04 bf 8b eb 1c 66 66
RSP: 0018:ffffc9000d9fe908 EFLAGS: 00000002
RAX: 0000000000000003 RBX: 0000000000000993 RCX: ffffffff99796303
RDX: 00000000000000b8 RSI: ffffffff8bbf0440 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffff888142768237 R09: 1ffff110284ed046
R10: dffffc0000000000 R11: ffffffff8b44c5e0 R12: 1ffffffff335d432
R13: 00000000ffffffff R14: 000000b87525a178 R15: 0000000000000049
FS: 00007f24c6a426c0(0000) GS:ffff88812613e000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1fe3e7f000 CR3: 0000000058b67000 CR4: 0000000000350ef0
Call Trace:
delay_tsc+0x6a/0xc0 arch/x86/lib/delay.c:90
udelay include/asm-generic/delay.h:62 [inline]
wait_for_lsr+0x160/0x2f0 drivers/tty/serial/8250/8250_port.c:1967
fifo_wait_for_lsr drivers/tty/serial/8250/8250_port.c:3234 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3257 [inline]
serial8250_console_write+0x134c/0x1ba0 drivers/tty/serial/8250/8250_port.c:3342
console_emit_next_record kernel/printk/printk.c:3111 [inline]
console_flush_all+0x6f3/0xb10 kernel/printk/printk.c:3199
__console_flush_and_unlock kernel/printk/printk.c:3258 [inline]
console_unlock+0xbb/0x190 kernel/printk/printk.c:3298
vprintk_emit+0x4c5/0x590 kernel/printk/printk.c:2423
_printk+0xcf/0x120 kernel/printk/printk.c:2448
set_capacity_and_notify+0x208/0x2d0 block/genhd.c:93
loop_set_size+0x44/0xb0 drivers/block/loop.c:220
loop_configure+0x9f8/0xe50 drivers/block/loop.c:1081
lo_ioctl+0x806/0x1c50 drivers/block/loop.c:-1
blkdev_ioctl+0x5af/0x6d0 block/ioctl.c:705
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f24c5b8eacb
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007f24c6a41dc0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f24c5b8eacb
RDX: 0000000000000003 RSI: 0000000000004c00 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000564
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007f24c6a41ef0 R14: 00007f24c6a41eb0 R15: 00007f24bcc00000