------------[ cut here ]------------ WARNING: CPU: 1 PID: 10133 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: 1 PID: 10133 Comm: syz-executor.4 Not tainted 4.14.302-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 netlink: 116 bytes leftover after parsing attributes in process `syz-executor.5'. 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:ffff8880459078a0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888044ee2180 RCX: ffffc90008cfc000 RDX: 00000000000008f8 RSI: ffffffff82b3af0b RDI: ffff888044ee2aa0 RBP: 0000000000005000 R08: ffffffff8b9d5b70 R09: 0000000000000002 R10: 0000000000000000 R11: ffff88809c886480 R12: ffff888044c09380 R13: 0000000000000005 R14: ffff888044ee26d8 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 XFS (loop2): Superblock has unknown read-only compatible features (0x8) enabled. do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f5e18f630c9 RSP: 002b:00007f5e174d5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 XFS (loop2): Attempted to mount read-only compatible filesystem read-write. RAX: ffffffffffffffda RBX: 00007f5e19082f80 RCX: 00007f5e18f630c9 RDX: 0000000000000000 RSI: 000000000014da42 RDI: 00000000200000c0 RBP: 00007f5e18fbeae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6827258f R14: 00007f5e174d5300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..