syzbot


WARNING in xfs_qm_dqget_cache_insert

Status: upstream: reported C repro on 2023/03/30 04:40
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+55fb1b7d909494fd520d@syzkaller.appspotmail.com
First crash: 602d, last: 134d
Fix commit to backport (bisect log) :
tree: upstream
commit 4b827b3f305d1fcf837265f1e12acc22ee84327c
Author: Dave Chinner <dchinner@redhat.com>
Date: Wed Apr 12 05:48:59 2023 +0000

  xfs: remove WARN when dquot cache insertion fails

[report pending]
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in xfs_qm_dqget_cache_insert (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[PATCH 6.1.y] xfs: remove WARN when dquot cache insertion fails 4 (4) 2024/08/14 22:55
Bug presence (2)
Date Name Commit Repro Result
2024/07/10 linux-6.1.y (ToT) 7753af06eebf C [report] WARNING in xfs_qm_dqget_cache_insert
2024/07/10 upstream (ToT) 34afb82a3c67 C Didn't crash
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 358d 549d 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 558d 729d 22/28 fixed on 2023/06/08 14:41
linux-4.19 WARNING in xfs_qm_dqget_cache_insert xfs C error 4 656d 696d 0/1 upstream: reported C repro on 2022/12/25 21:48
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/07/22 14:12 5h05m fix candidate upstream OK (1) job log
2024/07/10 06:56 57m bisect fix linux-6.1.y OK (0) job log log
2024/06/01 07:40 1h25m bisect fix linux-6.1.y OK (0) job log log
2024/04/28 20:00 2h19m bisect fix linux-6.1.y OK (0) job log log
2024/03/28 09:01 1h40m bisect fix linux-6.1.y OK (0) job log log
2023/10/28 21:24 1h40m bisect fix linux-6.1.y OK (0) job log log
2023/09/20 16:48 1h58m fix candidate upstream OK (0) job log log

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffc22be5c60 R14: 00007ffc22be5c40 R15: 0000000000000004
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3581 at fs/xfs/xfs_dquot.c:801 xfs_qm_dqget_cache_insert+0x101/0x110
Modules linked in:
CPU: 1 PID: 3581 Comm: syz-executor154 Not tainted 6.1.29-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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 5d 7d a8 fe eb 98 44 89 e1 80 e1 07 80 c1 03 38 c1 7c a8 4c 89 e7 e8 d6 7c a8 fe eb 9e e8 ef 37 52 fe <0f> 0b eb b8 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 53 48
RSP: 0018:ffffc90003aff7b0 EFLAGS: 00010293
RAX: ffffffff83378ce1 RBX: 000000000000ee00 RCX: ffff888025c79dc0
RDX: 0000000000000000 RSI: ffffffff8d37a040 RDI: 00000000fffffff4
RBP: ffff88807960c340 R08: 0000000000000005 R09: ffffffff83378c28
R10: 0000000000000002 R11: ffff888025c79dc0 R12: ffff888022c39800
R13: dffffc0000000000 R14: ffff888022c398f0 R15: 00000000fffffff4
FS:  0000555557494300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f303be66000 CR3: 00000000789df000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfs_qm_dqget+0x2af/0x4e0 fs/xfs/xfs_dquot.c:874
 xfs_qm_vop_dqalloc+0x59f/0xf60 fs/xfs/xfs_qm.c:1679
 xfs_setattr_nonsize+0x3f7/0x1040 fs/xfs/xfs_iops.c:702
 xfs_vn_setattr+0x2f7/0x340 fs/xfs/xfs_iops.c:1022
 notify_change+0xdcd/0x1080 fs/attr.c:482
 chown_common+0x5aa/0x900 fs/open.c:736
 vfs_fchown fs/open.c:804 [inline]
 ksys_fchown+0xde/0x150 fs/open.c:815
 __do_sys_fchown fs/open.c:823 [inline]
 __se_sys_fchown fs/open.c:821 [inline]
 __x64_sys_fchown+0x76/0x80 fs/open.c:821
 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:0x7f30422b4a79
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:00007ffc22be5bf8 EFLAGS: 00000246 ORIG_RAX: 000000000000005d
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f30422b4a79
RDX: 0000000000000000 RSI: 000000000000ee00 RDI: 0000000000000003
RBP: 00007ffc22be5c20 R08: 0000000000000001 R09: 00007ffc22be5c30
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffc22be5c60 R14: 00007ffc22be5c40 R15: 0000000000000004
 </TASK>

Crashes (55):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/23 20:44 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in xfs_qm_dqget_cache_insert
2023/12/17 01:56 linux-6.1.y ba6f5fb46511 3222d10c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/03 16:54 linux-6.1.y c2cbfe5f5122 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/30 04:52 linux-6.1.y e3a87a10f259 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/22 19:41 linux-6.1.y a356197db198 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in xfs_qm_dqget_cache_insert
2024/02/27 07:44 linux-6.1.y 81e1dc2f7001 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2024/02/08 00:36 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2024/01/27 22:48 linux-6.1.y 883d1a956208 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2024/01/22 21:59 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2024/01/19 13:27 linux-6.1.y fec3b1451d5f 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2024/01/15 02:07 linux-6.1.y 7c58bfa711cb 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/12/18 02:59 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/12/17 01:40 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/12/10 17:11 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/12/01 12:34 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/11/28 14:23 linux-6.1.y 69e434a1cb21 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/11/05 21:35 linux-6.1.y 4a61839152cc 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/11/05 03:40 linux-6.1.y 4a61839152cc 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/10/29 12:22 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/26 09:51 linux-6.1.y d23900f974e0 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/18 10:49 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/15 16:58 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/06 15:53 linux-6.1.y c2cbfe5f5122 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/03 16:32 linux-6.1.y c2cbfe5f5122 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/09/02 07:37 linux-6.1.y a2943d2d9a00 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/08/21 09:05 linux-6.1.y 6c44e13dc284 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/08/15 16:33 linux-6.1.y 1321ab403b38 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/08/06 02:19 linux-6.1.y 52a953d0934b 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/08/01 23:21 linux-6.1.y d2a6dc4eaf6d df07ffe8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/07/24 05:08 linux-6.1.y 75389113731b 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/07/17 10:34 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/07/16 01:10 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/07/07 14:50 linux-6.1.y 61fd484b2cf6 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/30 06:22 linux-6.1.y a1c449d00ff8 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/25 22:17 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/25 18:53 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/24 05:06 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/18 10:13 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/18 09:56 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/18 01:02 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/17 03:05 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/06/05 17:43 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/28 01:41 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/27 23:58 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/22 05:04 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/22 04:19 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/22 00:24 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/05/15 00:32 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/23 03:46 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/19 16:47 linux-6.1.y 0102425ac76b 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/19 14:28 linux-6.1.y 0102425ac76b 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/19 02:07 linux-6.1.y 0102425ac76b d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/12 16:12 linux-6.1.y 543aff194ab6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/04/09 03:04 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
2023/03/30 04:40 linux-6.1.y e3a87a10f259 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_qm_dqget_cache_insert
* Struck through repros no longer work on HEAD.