Hello,
syzbot found the following issue on:
HEAD commit: 65afe34ac33d Linux 4.14.301
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=16e7621f880000
kernel config:
https://syzkaller.appspot.com/x/.config?x=5dfc73e3d697d68d
dashboard link:
https://syzkaller.appspot.com/bug?extid=a85d516b482cdcbf2f12
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/cba1bf735bc1/disk-65afe34a.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/640415e88522/vmlinux-65afe34a.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/8c2d360d5af4/bzImage-65afe34a.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+a85d51...@syzkaller.appspotmail.com
NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10788 at fs/btrfs/qgroup.c:3095 btrfs_qgroup_free_meta+0x3db/0x4d0 fs/btrfs/qgroup.c:3095
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 10788 Comm: syz-executor.1 Not tainted 4.14.301-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:btrfs_qgroup_free_meta+0x3db/0x4d0 fs/btrfs/qgroup.c:3095
RSP: 0018:ffff888066c7f8a0 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffff8880924de400 RCX: ffffc90006a01000
RDX: 0000000000000a45 RSI: ffffffff82b3adbb RDI: ffff8880924ded20
RBP: 0000000000005000 R08: ffffffff8b9b3fd0 R09: 0000000000000002
R10: 0000000000000000 R11: ffff8880a8aac2c0 R12: ffff888097dcc680
R13: 0000000000000005 R14: ffff8880924de958 R15: 0000000000000002
start_transaction+0x637/0xf30 fs/btrfs/transaction.c:609
btrfs_create+0xf6/0x5d0 fs/btrfs/inode.c:6761
lookup_open+0x77a/0x1750 fs/namei.c:3241
do_last fs/namei.c:3334 [inline]
path_openat+0xe08/0x2970 fs/namei.c:3571
do_filp_open+0x179/0x3c0 fs/namei.c:3605
do_sys_open+0x296/0x410 fs/open.c:1081
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fbe7c1420d9
RSP: 002b:00007fbe7a6b4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fbe7c261f80 RCX: 00007fbe7c1420d9
RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007fbe7c19dae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc0e77a5ef R14: 00007fbe7a6b4300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.