syzbot


WARNING in xfs_qm_dqget_cache_insert

Status: upstream: reported C repro on 2022/12/25 21:48
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+b3bafc4f12e15181472d@syzkaller.appspotmail.com
First crash: 696d, last: 656d
Fix bisection: failed (error log, bisect log)
  
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-6.1 WARNING in xfs_qm_dqget_cache_insert origin:lts-only C done 55 134d 602d 0/3 upstream: reported C repro on 2023/03/30 04:40

Sample crash report:
RDX: 0000000000000000 RSI: 0000000000000cff RDI: 0000000020000340
RBP: 00007fff3618fc00 R08: 0000000000000002 R09: 0000000000000150
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007fff3618fc10 R14: 0000000000000000 R15: 00007fff3618fbf8
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8102 at fs/xfs/xfs_dquot.c:714 xfs_qm_dqget_cache_insert.constprop.0.cold+0x11/0x18 fs/xfs/xfs_dquot.c:714
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8102 Comm: syz-executor416 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:xfs_qm_dqget_cache_insert.constprop.0.cold+0x11/0x18 fs/xfs/xfs_dquot.c:714
Code: fa e8 82 7c 69 f9 48 c7 c7 60 58 9d 88 e8 e1 ad fa ff 0f 0b e9 9f f5 a7 fa e8 6a 7c 69 f9 48 c7 c7 60 58 9d 88 e8 c9 ad fa ff <0f> 0b e9 f9 f7 a7 fa e8 52 7c 69 f9 48 c7 c7 80 5e 9d 88 e8 b1 ad
RSP: 0018:ffff8880b16cf890 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff8880955889e8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10162d9f04
RBP: ffff888095147b00 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff4
R13: ffff888095147bd8 R14: ffff888095147b00 R15: ffff888095147b00
 xfs_qm_dqget+0x198/0x720 fs/xfs/xfs_dquot.c:790
 xfs_qm_vop_dqalloc+0x490/0xe00 fs/xfs/xfs_qm.c:1685
 xfs_setattr_nonsize+0x433/0x1270 fs/xfs/xfs_iops.c:675
 xfs_vn_setattr_nonsize+0x17a/0x430 fs/xfs/xfs_iops.c:826
 xfs_vn_setattr+0x130/0x1a0 fs/xfs/xfs_iops.c:1075
 notify_change+0x70b/0xfc0 fs/attr.c:334
 chown_common+0x4a9/0x550 fs/open.c:651
 do_fchownat+0x126/0x1e0 fs/open.c:681
 __do_sys_lchown fs/open.c:706 [inline]
 __se_sys_lchown fs/open.c:704 [inline]
 __x64_sys_lchown+0x7a/0xc0 fs/open.c:704
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4c8df46929
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 18 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:00007fff3618fbd8 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f4c8df46929
RDX: 0000000000000000 RSI: 0000000000000cff RDI: 0000000020000340
RBP: 00007fff3618fc00 R08: 0000000000000002 R09: 0000000000000150
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007fff3618fc10 R14: 0000000000000000 R15: 00007fff3618fbf8
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/07 19:17 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in xfs_qm_dqget_cache_insert
2022/12/25 22:04 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in xfs_qm_dqget_cache_insert
2023/02/04 09:46 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_qm_dqget_cache_insert
2022/12/25 21:48 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_qm_dqget_cache_insert
* Struck through repros no longer work on HEAD.