RDX: 0000000020000540 RSI: 0000000000001853 RDI: 00007f38d9c2c000 RBP: 00007f38e10551d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff727f924f R14: 00007f38e1055300 R15: 0000000000022000 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23324 at fs/btrfs/extent-tree.c:2938 btrfs_run_delayed_refs.part.0+0x2b7/0x310 fs/btrfs/extent-tree.c:2938 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 23324 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 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:btrfs_run_delayed_refs.part.0+0x2b7/0x310 fs/btrfs/extent-tree.c:2938 Code: 89 e6 bf fb ff ff ff e8 37 f1 7e fe 41 83 fc fb 0f 84 e7 8a 16 05 e8 b8 ef 7e fe 44 89 e6 48 c7 c7 40 23 a4 88 e8 8e 27 0f 05 <0f> 0b e8 a2 ef 7e fe 44 89 e1 ba 7a 0b 00 00 48 89 ef 48 c7 c6 80 RSP: 0018:ffff8880971df5c8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff814dff01 RDI: ffffed1012e3beab RBP: ffff88808ad523f0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff4 R13: ffff88808ad52440 R14: ffff8880a9140900 R15: 0000000000000018 btrfs_run_delayed_refs+0xad/0xf0 fs/btrfs/extent-tree.c:2925 btrfs_commit_transaction+0x173/0x2480 fs/btrfs/transaction.c:1972 btrfs_alloc_data_chunk_ondemand+0x47e/0xce0 fs/btrfs/extent-tree.c:4205 btrfs_check_data_free_space+0xc8/0x150 fs/btrfs/extent-tree.c:4245 btrfs_buffered_write.isra.0+0x40f/0xfa0 fs/btrfs/file.c:1645 btrfs_file_write_iter+0xd34/0x1750 fs/btrfs/file.c:1982 call_write_iter include/linux/fs.h:1821 [inline] aio_write+0x37f/0x5c0 fs/aio.c:1574 __io_submit_one fs/aio.c:1858 [inline] io_submit_one+0xecd/0x20c0 fs/aio.c:1909 __do_sys_io_submit fs/aio.c:1953 [inline] __se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f38e2ae30f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f38e1055168 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f38e2c02f80 RCX: 00007f38e2ae30f9 RDX: 0000000020000540 RSI: 0000000000001853 RDI: 00007f38d9c2c000 RBP: 00007f38e10551d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff727f924f R14: 00007f38e1055300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..