INFO: task syz-executor.0:17642 blocked for more than 143 seconds.
Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:23720 pid:17642 ppid:5058 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x9c/0x2f0 kernel/locking/rwsem.c:1522
ext4_listxattr+0xba/0xe40 fs/ext4/xattr.c:825
vfs_listxattr fs/xattr.c:494 [inline]
listxattr+0x103/0x280 fs/xattr.c:841
path_listxattr fs/xattr.c:865 [inline]
__do_sys_llistxattr fs/xattr.c:883 [inline]
__se_sys_llistxattr fs/xattr.c:880 [inline]
__x64_sys_llistxattr+0x173/0x230 fs/xattr.c:880
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc9d467cb29
RSP: 002b:00007fc9d53d50c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3
RAX: ffffffffffffffda RBX: 00007fc9d479bf80 RCX: 00007fc9d467cb29
RDX: 0000000000000030 RSI: 0000000020000200 RDI: 00000000200001c0
RBP: 00007fc9d46c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc9d479bf80 R15: 00007ffef68d4278
</TASK>
INFO: task syz-executor.0:17660 blocked for more than 143 seconds.
Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24616 pid:17660 ppid:5058 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
__wait_on_freeing_inode fs/inode.c:2240 [inline]
find_inode_fast+0x319/0x450 fs/inode.c:950
iget_locked+0xcb/0x830 fs/inode.c:1317
__ext4_iget+0x261/0x3f30 fs/ext4/inode.c:4670
ext4_xattr_inode_cache_find fs/ext4/xattr.c:1542 [inline]
ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1577 [inline]
ext4_xattr_set_entry+0x219f/0x3e80 fs/ext4/xattr.c:1719
ext4_xattr_block_set+0xb12/0x3630 fs/ext4/xattr.c:2025
ext4_xattr_set_handle+0xcd4/0x15c0 fs/ext4/xattr.c:2442
ext4_xattr_set+0x241/0x3d0 fs/ext4/xattr.c:2544
__vfs_setxattr+0x460/0x4a0 fs/xattr.c:201
__vfs_setxattr_noperm+0x12e/0x5e0 fs/xattr.c:235
vfs_setxattr+0x221/0x420 fs/xattr.c:322
do_setxattr fs/xattr.c:630 [inline]
setxattr+0x25d/0x2f0 fs/xattr.c:653
path_setxattr+0x1c0/0x2a0 fs/xattr.c:672
__do_sys_setxattr fs/xattr.c:688 [inline]
__se_sys_setxattr fs/xattr.c:684 [inline]
__x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:684
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc9d467cb29
RSP: 002b:00007fc9d53b40c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fc9d479c050 RCX: 00007fc9d467cb29
RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0
RBP: 00007fc9d46c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc9d479c050 R15: 00007ffef68d4278
</TASK>
INFO: task syz-executor.0:17661 blocked for more than 144 seconds.
Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:25768 pid:17661 ppid:5058 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
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+0x184/0xf20 fs/ext4/inode.c:180
evict+0x2a4/0x620 fs/inode.c:665
ext4_xattr_set_entry+0x13d4/0x3e80 fs/ext4/xattr.c:1856
ext4_xattr_block_set+0x69c/0x3630 fs/ext4/xattr.c:1956
ext4_xattr_set_handle+0xcd4/0x15c0 fs/ext4/xattr.c:2442
ext4_xattr_set+0x241/0x3d0 fs/ext4/xattr.c:2544
__vfs_setxattr+0x460/0x4a0 fs/xattr.c:201
__vfs_setxattr_noperm+0x12e/0x5e0 fs/xattr.c:235
vfs_setxattr+0x221/0x420 fs/xattr.c:322
do_setxattr fs/xattr.c:630 [inline]
setxattr+0x25d/0x2f0 fs/xattr.c:653
path_setxattr+0x1c0/0x2a0 fs/xattr.c:672
__do_sys_lsetxattr fs/xattr.c:695 [inline]
__se_sys_lsetxattr fs/xattr.c:691 [inline]
__x64_sys_lsetxattr+0xb8/0xd0 fs/xattr.c:691
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc9d467cb29
RSP: 002b:00007fc9d53930c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fc9d479c120 RCX: 00007fc9d467cb29
RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000440
RBP: 00007fc9d46c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc9d479c120 R15: 00007ffef68d4278
</TASK>
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8d328af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8d328eb0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8d328920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4776:
#0: ffff88802dc2a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187
3 locks held by kworker/u4:7/16349:
#0: ffff88814525e138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569
#1: ffffc90009037d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571
#2: ffff88801467e0e0 (&type->s_umount_key#41){.+.+}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:413
1 lock held by syz-executor.0/17642:
#0: ffff8880821450c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_listxattr+0xba/0xe40 fs/ext4/xattr.c:825
3 locks held by syz-executor.0/17660:
#0: ffff88807bb60410 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403
#1: ffff888082145400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff888082145400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_setxattr+0x1e1/0x420 fs/xattr.c:321
#2: ffff8880821450c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff8880821450c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x274/0x15c0 fs/ext4/xattr.c:2357
3 locks held by syz-executor.0/17661:
#0: ffff88807bb60410 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403
#1: ffff888082142200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff888082142200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1e1/0x420 fs/xattr.c:321
#2: ffff888082141ec8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888082141ec8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x274/0x15c0 fs/ext4/xattr.c:2357
1 lock held by syz-executor.0/17786:
#0: ffff8881413204c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1a9/0x320 block/bdev.c:1014
1 lock held by syz-executor.0/17846:
#0: ffff8881413204c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x137/0x620 block/bdev.c:803
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4451 Comm: syslogd Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:cap_capable security/commoncap.c:77 [inline]
RIP: 0010:cap_vm_enough_memory+0x6b/0x230 security/commoncap.c:1404
Code: 89 df e8 e8 74 f2 fd 4c 8b 3b 49 8d 9f 98 00 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 c8 74 f2 fd 4c 8b 33 <48> c7 c0 e0 1c 1d 8d 49 39 c6 0f 84 9c 00 00 00 49 8d 9e e0 00 00
RSP: 0018:ffffc9000312f4f0 EFLAGS: 00000246
RAX: 1ffff11004fc0c93 RBX: ffff888027e06498 RCX: ffff88802909bb80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88802db45580
RBP: ffffc9000312f850 R08: ffffffff81c6f473 R09: ffffffff81c61f12
R10: 0000000000000003 R11: ffff88802909bb80 R12: ffffffff8cc87870
R13: dffffc0000000000 R14: ffffffff8d1d1ce0 R15: ffff888027e06400
FS: 00007f7e40821380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055df12360600 CR3: 0000000028500000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<TASK>
security_vm_enough_memory_mm+0x6b/0xa0 security/security.c:1034
shmem_acct_block mm/shmem.c:192 [inline]
shmem_inode_acct_block mm/shmem.c:207 [inline]
shmem_alloc_and_acct_folio+0x1a8/0xe10 mm/shmem.c:1597
shmem_get_folio_gfp+0x120f/0x3470 mm/shmem.c:1948
shmem_get_folio mm/shmem.c:2079 [inline]
shmem_write_begin+0x172/0x4e0 mm/shmem.c:2573
generic_perform_write+0x31b/0x630 mm/filemap.c:3923
generic_file_write_iter+0xaf/0x310 mm/filemap.c:4044
call_write_iter include/linux/fs.h:1871 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x782/0xaf0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f7e40975bf2
Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc81af3bc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f7e40975bf2
RDX: 000000000000009d RSI: 0000557b8ed86c50 RDI: 0000000000000003
RBP: 0000557b8ed86c50 R08: 0000000000000001 R09: 0000000000000000
R10: 00007f7e40b143a3 R11: 0000000000000246 R12: 000000000000009d
R13: 00007f7e40821300 R14: 0000000000000004 R15: 0000557b8ed86a60
</TASK>