syzbot


WARNING in xfs_qm_dqget_cache_insert

Status: upstream: reported C repro on 2022/11/22 21:28
Reported-by: syzbot+6ae213503fb12e87934f@syzkaller.appspotmail.com
First crash: 10d, last: 9h34m

Cause bisection: failed (bisect log)

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00007ffc3c72d9d0 R14: 00007ffc3c72d9b0 R15: 0000000000000003
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3660 at fs/xfs/xfs_dquot.c:801 xfs_qm_dqget_cache_insert+0xff/0x110
Modules linked in:
CPU: 0 PID: 3660 Comm: syz-executor150 Not tainted 6.1.0-rc6-syzkaller-00375-gcf562a45a0d5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:xfs_qm_dqget_cache_insert+0xff/0x110 fs/xfs/xfs_dquot.c:801
Code: 38 c1 7c a3 48 89 ef e8 cf 0b a5 fe eb 99 44 89 e1 80 e1 07 80 c1 03 38 c1 7c a8 4c 89 e7 e8 48 0b a5 fe eb 9e e8 91 f1 50 fe <0f> 0b eb b8 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56
RSP: 0018:ffffc90003e8f5b0 EFLAGS: 00010293
RAX: ffffffff8339a65f RBX: 00000000fffffffe RCX: ffff88807da78000
RDX: 0000000000000000 RSI: ffffffff8d57c320 RDI: 00000000fffffff4
RBP: ffff88807578c680 R08: 0000000000000005 R09: ffffffff8339a5a8
R10: 0000000000000002 R11: ffff88807da78000 R12: ffff88802069b000
R13: ffff88807578c680 R14: ffff88802069b0f0 R15: 00000000fffffff4
FS:  0000555556150300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc254cf04a0 CR3: 0000000021188000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfs_qm_dqget+0x2bd/0x4f0 fs/xfs/xfs_dquot.c:874
 xfs_qm_vop_dqalloc+0xa02/0xca0 fs/xfs/xfs_qm.c:1722
 xfs_fileattr_set+0x33a/0x1520 fs/xfs/xfs_ioctl.c:1340
 vfs_fileattr_set+0x8be/0xd20 fs/ioctl.c:696
 ioctl_fssetxattr fs/ioctl.c:758 [inline]
 do_vfs_ioctl+0x168d/0x29a0 fs/ioctl.c:845
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl+0x83/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc254d18a59
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc3c72d968 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc254d18a59
RDX: 0000000020000140 RSI: 00000000401c5820 RDI: 0000000000000004
RBP: 00007ffc3c72d990 R08: 0000000000000001 R09: 00007ffc3c72d9a0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00007ffc3c72d9d0 R14: 00007ffc3c72d9b0 R15: 0000000000000003
 </TASK>

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-fs 2022/11/28 09:21 upstream cf562a45a0d5 f4470a7b .config log report syz C WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/22 20:10 upstream eb7081409f94 9da37ae8 .config log report syz C WARNING in xfs_qm_dqget_cache_insert
ci-upstream-kasan-gce-root 2022/12/03 06:29 upstream a4412fdd49dc e080de16 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/25 21:05 upstream 08ad43d554ba f4470a7b .config log report info WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/25 13:07 upstream c3eb11fbb826 74a66371 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/24 17:39 upstream 4312098baf37 ff68ff8f .config log report info WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/24 07:33 upstream 4312098baf37 ff68ff8f .config log report info WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/24 06:41 upstream 4312098baf37 ff68ff8f .config log report info WARNING in xfs_qm_dqget_cache_insert
ci2-upstream-fs 2022/11/22 19:49 upstream eb7081409f94 9da37ae8 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci-upstream-gce-arm64 2022/12/03 06:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci-upstream-gce-arm64 2022/12/02 22:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci-upstream-gce-arm64 2022/12/01 22:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 e080de16 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci-upstream-gce-arm64 2022/11/30 04:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 05dc7993 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci-upstream-gce-arm64 2022/11/29 06:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f ca9683b8 .config log report info WARNING in xfs_qm_dqget_cache_insert
ci-upstream-gce-arm64 2022/11/24 10:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 12c66417 .config log report info WARNING in xfs_qm_dqget_cache_insert
* Struck through repros no longer work on HEAD.