syzbot


INFO: task hung in ext4_evict_ea_inode (2)

Status: auto-obsoleted due to no activity on 2024/09/05 05:22
Subsystems: ext4
[Documentation on labels]
First crash: 152d, last: 152d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in ext4_evict_ea_inode 1 504d 504d 0/3 auto-obsoleted due to no activity on 2023/09/29 02:02
upstream INFO: task hung in ext4_evict_ea_inode ext4 syz done unreliable 6 435d 664d 0/28 auto-obsoleted due to no activity on 2023/12/06 15:41

Sample crash report:
INFO: task syz-executor.3:10117 blocked for more than 143 seconds.
      Not tainted 6.10.0-rc2-syzkaller-00235-g8a92980606e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:24480 pid:10117 tgid:10114 ppid:5114   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0xf15/0x5d00 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0xe7/0x350 kernel/sched/core.c:6837
 mb_cache_entry_wait_unused+0x186/0x200 fs/mbcache.c:148
 ext4_evict_ea_inode+0x190/0x2e0 fs/ext4/xattr.c:480
 ext4_evict_inode+0x9d6/0x17d0 fs/ext4/inode.c:180
 evict+0x2ed/0x6c0 fs/inode.c:667
 iput_final fs/inode.c:1741 [inline]
 iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
 iput+0x5c/0x80 fs/inode.c:1757
 ext4_xattr_inode_array_free fs/ext4/xattr.c:3024 [inline]
 ext4_xattr_inode_array_free+0x91/0xf0 fs/ext4/xattr.c:3016
 ext4_evict_inode+0x8b0/0x17d0 fs/ext4/inode.c:307
 evict+0x2ed/0x6c0 fs/inode.c:667
 iput_final fs/inode.c:1741 [inline]
 iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
 iput+0x5c/0x80 fs/inode.c:1757
 do_unlinkat+0x613/0x750 fs/namei.c:4414
 __do_sys_unlink fs/namei.c:4455 [inline]
 __se_sys_unlink fs/namei.c:4453 [inline]
 __x64_sys_unlink+0xc7/0x110 fs/namei.c:4453
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe1a107cf69
RSP: 002b:00007fe1a1dcd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007fe1a11b3f80 RCX: 00007fe1a107cf69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000240
RBP: 00007fe1a10da6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fe1a11b3f80 R15: 00007ffc96ce6828
 </TASK>
INFO: task syz-executor.3:10125 blocked for more than 144 seconds.
      Not tainted 6.10.0-rc2-syzkaller-00235-g8a92980606e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:25552 pid:10125 tgid:10114 ppid:5114   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0xf15/0x5d00 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0xe7/0x350 kernel/sched/core.c:6837
 __wait_on_freeing_inode+0xf0/0x140 fs/inode.c:2246
 find_inode_fast+0x150/0x210 fs/inode.c:939
 iget_locked+0xa2/0x6d0 fs/inode.c:1267
 __ext4_iget+0x3c8/0x4370 fs/ext4/inode.c:4682
 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1542 [inline]
 ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1581 [inline]
 ext4_xattr_inode_lookup_create+0x56d/0x1900 fs/ext4/xattr.c:1568
 ext4_xattr_block_set+0x782/0x3170 fs/ext4/xattr.c:1910
 ext4_xattr_set_handle+0xd73/0x1420 fs/ext4/xattr.c:2452
 ext4_xattr_set+0x149/0x380 fs/ext4/xattr.c:2554
 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:200
 __vfs_setxattr_noperm+0x127/0x660 fs/xattr.c:234
 __vfs_setxattr_locked+0x182/0x260 fs/xattr.c:295
 vfs_setxattr+0x146/0x350 fs/xattr.c:321
 do_setxattr+0x146/0x170 fs/xattr.c:629
 setxattr+0x15d/0x180 fs/xattr.c:652
 path_setxattr+0x179/0x1e0 fs/xattr.c:671

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/07 05:19 upstream 8a92980606e3 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in ext4_evict_ea_inode
* Struck through repros no longer work on HEAD.