syzbot


WARNING in xfs_qm_dqget_cache_insert

Status: fixed on 2023/06/08 14:41
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+6ae213503fb12e87934f@syzkaller.appspotmail.com
Fix commit: 4b827b3f305d xfs: remove WARN when dquot cache insertion fails
First crash: 510d, last: 338d
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly xfs report 3 (4) 2023/04/12 21:54
[syzbot] WARNING in xfs_qm_dqget_cache_insert 0 (1) 2022/11/22 21:28
Similar bugs (3)
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 138d 330d 0/3 upstream: reported C repro on 2023/05/21 18:14
linux-6.1 WARNING in xfs_qm_dqget_cache_insert origin:lts-only C 55 18d 382d 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 436d 476d 0/1 upstream: reported C repro on 2022/12/25 21:48

Sample crash report:
RSP: 002b:00007ffe23030548 EFLAGS: 00000246 ORIG_RAX: 000000000000005d
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9f62a8da69
RDX: 0000000000000000 RSI: 000000000000ee00 RDI: 0000000000000003
RBP: 00007ffe23030570 R08: 0000000000000001 R09: 00007ffe23030580
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffe230305b0 R14: 00007ffe23030590 R15: 0000000000000003
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5097 at fs/xfs/xfs_dquot.c:801 xfs_qm_dqget_cache_insert+0x101/0x110
Modules linked in:
CPU: 1 PID: 5097 Comm: syz-executor118 Not tainted 6.3.0-rc4-syzkaller-00039-gffe78bbd5121 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:xfs_qm_dqget_cache_insert+0x101/0x110 fs/xfs/xfs_dquot.c:801
Code: 38 c1 7c a2 48 89 ef e8 0d b1 a8 fe eb 98 44 89 e1 80 e1 07 80 c1 03 38 c1 7c a8 4c 89 e7 e8 56 b0 a8 fe eb 9e e8 bf f9 52 fe <0f> 0b eb b8 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 56 53 48 89 fb
RSP: 0018:ffffc90003d0f7b0 EFLAGS: 00010293
RAX: ffffffff83375931 RBX: 000000000000ee00 RCX: ffff88807df1ba80
RDX: 0000000000000000 RSI: ffffffff8d371b80 RDI: 00000000fffffff4
RBP: ffff888025402080 R08: 0000000000000005 R09: ffffffff83375878
R10: 0000000000000002 R11: ffff88807df1ba80 R12: ffff8881400d3800
R13: dffffc0000000000 R14: ffff8881400d38f0 R15: 00000000fffffff4
FS:  0000555556f38300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9f62b0b138 CR3: 0000000021b23000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfs_qm_dqget+0x2b3/0x4e0 fs/xfs/xfs_dquot.c:874
 xfs_qm_vop_dqalloc+0x5a3/0xee0 fs/xfs/xfs_qm.c:1699
 xfs_setattr_nonsize+0x410/0xea0 fs/xfs/xfs_iops.c:702
 xfs_vn_setattr+0x2cd/0x320 fs/xfs/xfs_iops.c:1023
 notify_change+0xc8b/0xf40 fs/attr.c:482
 chown_common+0x500/0x850 fs/open.c:774
 vfs_fchown fs/open.c:842 [inline]
 ksys_fchown+0xe2/0x150 fs/open.c:853
 __do_sys_fchown fs/open.c:861 [inline]
 __se_sys_fchown fs/open.c:859 [inline]
 __x64_sys_fchown+0x7a/0x90 fs/open.c:859
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9f62a8da69
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:00007ffe23030548 EFLAGS: 00000246 ORIG_RAX: 000000000000005d
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9f62a8da69
RDX: 0000000000000000 RSI: 000000000000ee00 RDI: 0000000000000003
RBP: 00007ffe23030570 R08: 0000000000000001 R09: 00007ffe23030580
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffe230305b0 R14: 00007ffe23030590 R15: 0000000000000003
 </TASK>

Crashes (123):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/30 06:44 upstream ffe78bbd5121 f325deb0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/03/25 11:56 upstream 65aca32efdcb fbf0499a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in xfs_qm_dqget_cache_insert
2023/02/11 19:03 upstream 420b2d431d18 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2022/12/13 14:15 upstream 3a28c2c89f4b 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2022/11/28 09:21 upstream cf562a45a0d5 f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2022/11/22 20:10 upstream eb7081409f94 9da37ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/03/05 06:25 linux-next 1acf39ef8f14 f8902b57 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/01/11 14:19 linux-next c9e9cdd8bdcc 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/03/30 06:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/23 01:39 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/04/22 09:18 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/21 03:14 upstream 6a66fdd29ea1 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/20 02:14 upstream 789b4a41c247 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/04/16 23:31 upstream 3e7bb4f24617 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/16 12:51 upstream 3e7bb4f24617 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/14 08:25 upstream 44149752e998 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/14 05:44 upstream 44149752e998 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/13 03:41 upstream 0bcc40255504 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/10 14:56 upstream 09a9639e56c0 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/04/07 14:57 upstream f2afccfefe7b f7ba566d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/04/06 12:46 upstream 99ddf2254feb 08707520 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/04/05 01:46 upstream 76f598ba7d8e 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/04/04 04:07 upstream 148341f0a2f5 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/03/25 15:21 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in xfs_qm_dqget_cache_insert
2023/03/23 05:08 upstream fff5a5e7f528 f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/03/20 18:29 upstream e8d018dd0257 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in xfs_qm_dqget_cache_insert
2023/03/14 16:37 upstream fc89d7fb499b 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/03/12 18:53 upstream 134231664868 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2022/11/22 19:49 upstream eb7081409f94 9da37ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_qm_dqget_cache_insert
2023/03/19 07:37 linux-next 6f08c1de13a9 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in xfs_qm_dqget_cache_insert
2023/05/13 12:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/12 22:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/12 10:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/11 10:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/07 23:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/06 19:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/05 10:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/04 20:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 3a560463 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/30 09:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/28 07:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/27 07:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/23 04:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/22 08:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/20 17:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 327bf9bb94cf 2b32bd34 .config console log report info ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/19 03:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 327bf9bb94cf d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/16 02:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1f5b16c51aef ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/15 19:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1f5b16c51aef ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/13 18:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7920df21c1b7 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/13 11:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7920df21c1b7 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/10 01:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9a03cbd79d3a 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/09 20:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9a03cbd79d3a 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/09 08:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9a03cbd79d3a 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/09 06:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9a03cbd79d3a 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/08 23:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9a03cbd79d3a 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/30 04:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/24 23:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e8d018dd0257 9700afae .config console log report info ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/20 23:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/15 22:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/10 05:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e f08b59ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_qm_dqget_cache_insert
* Struck through repros no longer work on HEAD.