syzbot


INFO: task hung in vfs_setxattr

Status: premoderation: reported on 2025/07/16 10:56
Reported-by: syzbot+a0c18b8fc64ec7567ff2@syzkaller.appspotmail.com
First crash: 50d, last: 50d
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in vfs_setxattr (2) fs 1 1 1924d 1924d 0/29 auto-closed as invalid on 2020/07/28 17:13
linux-5.15 INFO: task hung in vfs_setxattr (2) 1 syz error 1 729d 729d 0/3 auto-obsoleted due to no activity on 2023/12/15 17:11
upstream INFO: task hung in vfs_setxattr (6) bcachefs 1 8 243d 335d 0/29 auto-obsoleted due to no activity on 2025/04/04 18:48
upstream INFO: task hung in vfs_setxattr (5) fs 1 1 445d 445d 0/29 auto-obsoleted due to no activity on 2024/09/15 03:42
android-49 INFO: task hung in vfs_setxattr 1 4 2581d 2607d 0/3 auto-closed as invalid on 2019/02/22 13:09
linux-5.15 INFO: task hung in vfs_setxattr (3) 1 1 494d 494d 0/3 auto-obsoleted due to no activity on 2024/08/06 16:46
upstream INFO: task hung in vfs_setxattr (3) fs 1 syz done error 49 1397d 1816d 0/29 closed as invalid on 2022/02/08 10:51
upstream INFO: task hung in vfs_setxattr fs 1 46 2454d 2614d 0/29 auto-closed as invalid on 2019/06/15 01:37
linux-4.19 INFO: task hung in vfs_setxattr (2) 1 C error 3 1427d 1707d 0/1 upstream: reported C repro on 2021/01/01 10:53
android-414 INFO: task hung in vfs_setxattr 1 1 2330d 2330d 0/1 auto-closed as invalid on 2019/10/16 16:43
linux-5.15 INFO: task hung in vfs_setxattr 1 1 880d 880d 0/3 auto-obsoleted due to no activity on 2023/08/06 19:50
upstream INFO: task hung in vfs_setxattr (7) xfs 1 syz error 31 5h09m 91d 0/29 upstream: reported syz repro on 2025/06/05 17:55
upstream INFO: task hung in vfs_setxattr (4) ext4 1 1 793d 793d 0/29 auto-obsoleted due to no activity on 2023/10/02 09:30
linux-4.19 INFO: task hung in vfs_setxattr 1 3 2126d 2188d 0/1 auto-closed as invalid on 2020/03/08 20:30
android-44 INFO: task hung in vfs_setxattr 1 C 3 2205d 2210d 0/2 public: reported C repro on 2019/08/17 15:36

Sample crash report:
INFO: task syz.4.5000:19131 blocked for more than 122 seconds.
      Not tainted 6.12.30-syzkaller-ga5cb8a78429e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.5000      state:D stack:0     pid:19131 tgid:19130 ppid:19093  flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x132b/0x1e00 kernel/sched/core.c:7789
 __schedule_loop kernel/sched/core.c:7870 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7885
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7942
 rwsem_down_write_slowpath+0x9e8/0x1b90 kernel/locking/rwsem.c:1227
 __down_write_common kernel/locking/rwsem.c:1371 [inline]
 __down_write kernel/locking/rwsem.c:1380 [inline]
 down_write+0x152/0x2a0 kernel/locking/rwsem.c:1647
 inode_lock include/linux/fs.h:815 [inline]
 vfs_setxattr+0x145/0x2f0 fs/xattr.c:320
 do_setxattr fs/xattr.c:629 [inline]
 path_setxattr+0x364/0x560 fs/xattr.c:658
 __do_sys_lsetxattr fs/xattr.c:683 [inline]
 __se_sys_lsetxattr fs/xattr.c:679 [inline]
 __x64_sys_lsetxattr+0xc6/0xe0 fs/xattr.c:679
 x64_sys_call+0x2db8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:190
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fd34658e929
RSP: 002b:00007fd347433038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fd3467b5fa0 RCX: 00007fd34658e929
RDX: 0000000000000000 RSI: 0000200000000280 RDI: 0000200000000140
RBP: 00007fd346610b39 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd3467b5fa0 R15: 00007ffe82a09498
 </TASK>
INFO: task syz.4.5000:19132 blocked for more than 123 seconds.
      Not tainted 6.12.30-syzkaller-ga5cb8a78429e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.5000      state:D stack:0     pid:19132 tgid:19130 ppid:19093  flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x132b/0x1e00 kernel/sched/core.c:7789
 __schedule_loop kernel/sched/core.c:7870 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7885
 request_wait_answer fs/fuse/dev.c:476 [inline]
 __fuse_request_send fs/fuse/dev.c:491 [inline]
 __fuse_simple_request+0xdb1/0x1980 fs/fuse/dev.c:586
 fuse_simple_request fs/fuse/fuse_i.h:1248 [inline]
 fuse_do_getattr+0x350/0x630 fs/fuse/dir.c:1586
 fuse_perm_getattr fs/fuse/dir.c:1823 [inline]
 fuse_permission+0x645/0x3900 fs/fuse/dir.c:1875
 do_inode_permission fs/namei.c:468 [inline]
 inode_permission+0x250/0x4c0 fs/namei.c:535
 xattr_permission+0x10b/0x450 fs/xattr.c:155
 __vfs_setxattr_locked+0x69/0x240 fs/xattr.c:282
 vfs_setxattr+0x16c/0x2f0 fs/xattr.c:321
 do_setxattr fs/xattr.c:629 [inline]
 path_setxattr+0x364/0x560 fs/xattr.c:658
 __do_sys_lsetxattr fs/xattr.c:683 [inline]
 __se_sys_lsetxattr fs/xattr.c:679 [inline]
 __x64_sys_lsetxattr+0xc6/0xe0 fs/xattr.c:679
 x64_sys_call+0x2db8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:190
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fd34658e929
RSP: 002b:00007fd347412038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fd3467b6080 RCX: 00007fd34658e929
RDX: 0000000000000000 RSI: 00002000000005c0 RDI: 00002000000001c0
RBP: 00007fd346610b39 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fd3467b6080 R15: 00007ffe82a09498
 </TASK>
INFO: task syz.3.5093:19430 blocked for more than 123 seconds.
      Not tainted 6.12.30-syzkaller-ga5cb8a78429e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.5093      state:D stack:0     pid:19430 tgid:19430 ppid:18524  flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x132b/0x1e00 kernel/sched/core.c:7789
 __schedule_loop kernel/sched/core.c:7870 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7885
 request_wait_answer fs/fuse/dev.c:476 [inline]
 __fuse_request_send fs/fuse/dev.c:491 [inline]
 __fuse_simple_request+0xdb1/0x1980 fs/fuse/dev.c:586
 fuse_simple_request fs/fuse/fuse_i.h:1248 [inline]
 fuse_flush+0x909/0x1d50 fs/fuse/file.c:582
 filp_flush fs/open.c:1550 [inline]
 filp_close+0xbd/0x160 fs/open.c:1563
 __range_close fs/file.c:712 [inline]
 __close_range+0x50e/0x6c0 fs/file.c:769
 __do_sys_close_range fs/open.c:1616 [inline]
 __se_sys_close_range fs/open.c:1613 [inline]
 __x64_sys_close_range+0x7e/0x90 fs/open.c:1613
 x64_sys_call+0x1686/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:437
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f103b18e929
RSP: 002b:00007ffc751f1148 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007f103b3b7ba0 RCX: 00007f103b18e929
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f103b3b7ba0 R08: 00000000000000cc R09: 0000000a751f143f
R10: 00007f103b3b7ac0 R11: 0000000000000246 R12: 000000000003fdea
R13: 00007ffc751f1240 R14: ffffffffffffffff R15: 00007ffc751f1260
 </TASK>
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 37 Comm: khungtaskd Not tainted 6.12.30-syzkaller-ga5cb8a78429e #0 9bbc03ab1dc79c3d7e5765d1d80d3456af2f821a
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120
 dump_stack+0x19/0x20 lib/dump_stack.c:129
 nmi_cpu_backtrace+0x2bf/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x142/0x2c0 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:41
 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:267 [inline]
 watchdog+0xd8f/0xed0 kernel/hung_task.c:423
 kthread+0x2c7/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.12.30-syzkaller-ga5cb8a78429e #0 9bbc03ab1dc79c3d7e5765d1d80d3456af2f821a
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:native_safe_halt arch/x86/include/asm/nospec-branch.h:-1 [inline]
RIP: 0010:pv_native_safe_halt+0xd/0x20 arch/x86/kernel/paravirt.c:105
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc b8 2d a6 b5 af 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 73 8c 41 00 <f3> 0f 1e fa 55 48 89 e5 fb f4 5d e9 c3 54 02 00 cc cc cc b8 00 00
RSP: 0018:ffffffff87207da8 EFLAGS: 000000c6
RAX: ffff8881f6e00000 RBX: ffffffff87215540 RCX: ffffffff8585c00e
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 000000000050bdbc
RBP: ffffffff87207db0 R08: ffff8881f6e39733 R09: 1ffff1103edc72e6
R10: dffffc0000000000 R11: ffffed103edc72e7 R12: 1ffffffff0e42aa8
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff87ca7be8
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555d1b4e8 CR3: 000000012546e000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 arch_cpu_idle+0xd/0x20 arch/x86/kernel/process.c:785
 default_idle_call+0x3f/0x80 kernel/sched/idle.c:117
 cpuidle_idle_call kernel/sched/idle.c:185 [inline]
 do_idle+0x1a0/0x470 kernel/sched/idle.c:326
 cpu_startup_entry+0x48/0x70 kernel/sched/idle.c:424
 rest_init+0x10b/0x130 init/main.c:748
 start_kernel+0x46a/0x4bb init/main.c:1135
 x86_64_start_reservations+0x2e/0x30 arch/x86/kernel/head64.c:507
 x86_64_start_kernel+0x6a/0x7b arch/x86/kernel/head64.c:488
 common_startup_64+0x13b/0x157
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/16 10:55 android16-6.12 a5cb8a78429e 124ec9cc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in vfs_setxattr
* Struck through repros no longer work on HEAD.