syzbot


WARNING in xfs_qm_dqget_cache_insert (2)

Status: upstream: reported on 2025/02/03 00:36
Reported-by: syzbot+b87f31d4785f0cdd7ad4@syzkaller.appspotmail.com
First crash: 2d21h, last: 2d21h
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in xfs_qm_dqget_cache_insert origin:lts-only C done 3 434d 626d 0/3 auto-obsoleted due to no activity on 2024/10/03 20:05
upstream WARNING in xfs_qm_dqget_cache_insert xfs C error 123 634d 806d 22/28 fixed on 2023/06/08 14:41
linux-6.1 WARNING in xfs_qm_dqget_cache_insert origin:lts-only C done 55 210d 678d 0/3 upstream: reported C repro on 2023/03/30 04:40
linux-4.19 WARNING in xfs_qm_dqget_cache_insert xfs C error 4 732d 773d 0/1 upstream: reported C repro on 2022/12/25 21:48

Sample crash report:
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8212 at fs/xfs/xfs_dquot.c:828 xfs_qm_dqget_cache_insert+0x130/0x138 fs/xfs/xfs_dquot.c:828
Modules linked in:
CPU: 0 PID: 8212 Comm: syz.6.797 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xfs_qm_dqget_cache_insert+0x130/0x138 fs/xfs/xfs_dquot.c:828
lr : xfs_qm_dqget_cache_insert+0x130/0x138 fs/xfs/xfs_dquot.c:828
sp : ffff800022197560
x29: ffff800022197560 x28: 0000000000000000 x27: dfff800000000000
x26: ffff800022197600 x25: ffff0000e8a9b1b0 x24: 0000000000000004
x23: ffff0000d271c050 x22: ffff0000d271c000 x21: ffff0000e8a9b1b0
x20: 00000000fffffff4 x19: ffff0000d271c0f0 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800009c55b24 x15: 00000000ffffffef
x14: ffff0000d3928000 x13: 0000000000ff0100 x12: ffffffffffffffff
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d3928000
x8 : ffff800009c55bf4 x7 : 0000000000000000 x6 : 0000000000000001
x5 : ffff800022196878 x4 : 00000000000002c0 x3 : 0000000000000240
x2 : 0000000000000001 x1 : ffff80001514b460 x0 : 00000000fffffff4
Call trace:
 xfs_qm_dqget_cache_insert+0x130/0x138 fs/xfs/xfs_dquot.c:828
 xfs_qm_dqget+0x278/0x790 fs/xfs/xfs_dquot.c:901
 xfs_qm_vop_dqalloc+0x59c/0xcfc fs/xfs/xfs_qm.c:1715
 xfs_setattr_nonsize+0x270/0xa94 fs/xfs/xfs_iops.c:688
 xfs_vn_setattr+0x2b4/0x524 fs/xfs/xfs_iops.c:1029
 notify_change+0xa34/0xcf8 fs/attr.c:505
 chown_common+0x4ac/0x74c fs/open.c:680
 vfs_fchown fs/open.c:748 [inline]
 ksys_fchown+0xe0/0x158 fs/open.c:759
 __do_sys_fchown fs/open.c:767 [inline]
 __se_sys_fchown fs/open.c:765 [inline]
 __arm64_sys_fchown+0x7c/0x94 fs/open.c:765
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 89514
hardirqs last  enabled at (89513): [<ffff800011b4c8b8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (89513): [<ffff800011b4c8b8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (89514): [<ffff800011b49ab0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (89508): [<ffff8000081b6920>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (89508): [<ffff8000081b6920>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (89475): [<ffff8000081b6fb8>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (89475): [<ffff8000081b6fb8>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (89475): [<ffff8000081b6fb8>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (89475): [<ffff8000081b6fb8>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace 5f053b4d521239d6 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/03 00:36 linux-5.15.y c16c81c81336 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
* Struck through repros no longer work on HEAD.