syzbot


WARNING in xfs_qm_dqget_cache_insert (2)

Status: upstream: reported C repro on 2025/02/03 00:36
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b87f31d4785f0cdd7ad4@syzkaller.appspotmail.com
First crash: 140d, last: 50d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2025/05/04 linux-5.15.y (ToT) 16fdf2c7111b C [report] WARNING in xfs_qm_dqget_cache_insert
2025/05/04 upstream (ToT) e8ab83e34bdc C Didn't crash
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 572d 763d 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 772d 943d 22/29 fixed on 2023/06/08 14:41
linux-6.1 WARNING in xfs_qm_dqget_cache_insert origin:lts-only C done 55 348d 816d 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 870d 910d 0/1 upstream: reported C repro on 2022/12/25 21:48

Sample crash report:
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/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: 4021 at fs/xfs/xfs_dquot.c:828 xfs_qm_dqget_cache_insert+0x12c/0x134 fs/xfs/xfs_dquot.c:828
Modules linked in:
CPU: 0 PID: 4021 Comm: syz-executor303 Not tainted 5.15.181-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xfs_qm_dqget_cache_insert+0x12c/0x134 fs/xfs/xfs_dquot.c:828
lr : xfs_qm_dqget_cache_insert+0x12c/0x134 fs/xfs/xfs_dquot.c:828
sp : ffff80001b7e75c0
x29: ffff80001b7e75c0 x28: ffff0000c8d98d40 x27: ffff0000cdb78c00
x26: 0000000000000008 x25: ffff0000cc9e38a0 x24: ffff0000cc9e3800
x23: ffff0000cdb78000 x22: ffff0000cc9e38a0 x21: ffff0000c8d98d40
x20: 00000000fffffff4 x19: ffff0000cc9e3800 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800009a669c4 x15: 00000000ffffffef
x14: 0000000000ff0100 x13: ffffffffffffffff x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800009a66a98
x8 : ffff0000cad49b40 x7 : 0000000000000000 x6 : 0000000000000001
x5 : ffff80001b7e6a38 x4 : 00000000000002c0 x3 : 0000000000000240
x2 : 0000000000000000 x1 : ffff8000147251c0 x0 : 00000000fffffff4
Call trace:
 xfs_qm_dqget_cache_insert+0x12c/0x134 fs/xfs/xfs_dquot.c:828
 xfs_qm_dqget+0x1dc/0x694 fs/xfs/xfs_dquot.c:901
 xfs_qm_vop_dqalloc+0x658/0xb64 fs/xfs/xfs_qm.c:1733
 xfs_fileattr_set+0x314/0x1358 fs/xfs/xfs_ioctl.c:1410
 vfs_fileattr_set+0x674/0x8fc fs/ioctl.c:700
 do_vfs_ioctl+0x1c18/0x2370 fs/ioctl.c:-1
 __do_sys_ioctl fs/ioctl.c:872 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:860
 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 211820
hardirqs last  enabled at (211819): [<ffff8000111a1ed8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (211819): [<ffff8000111a1ed8>] exit_to_kernel_mode+0xe0/0x168 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (211820): [<ffff80001119f244>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (211814): [<ffff80000819d0d8>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (211814): [<ffff80000819d0d8>] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:586
softirqs last disabled at (211745): [<ffff80000819d6dc>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (211745): [<ffff80000819d6dc>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (211745): [<ffff80000819d6dc>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (211745): [<ffff80000819d6dc>] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:641
---[ end trace 5cf59b0595c307af ]---
XFS (loop0): Unmounting Filesystem

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/03 10:08 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2025/05/03 09:40 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
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.