worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 12 at fs/btrfs/extent-tree.c:3026 __btrfs_free_extent+0x119d/0x2c30 fs/btrfs/extent-tree.c:3026 Modules linked in: CPU: 1 PID: 12 Comm: kworker/u16:1 Not tainted 6.5.0-rc3-syzkaller-gf47641f86054 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: btrfs-qgroup-rescan btrfs_work_helper RIP: 0010:__btrfs_free_extent+0x119d/0x2c30 fs/btrfs/extent-tree.c:3026 Code: 2c 24 0f b6 e8 48 89 ef 4c 89 ee e8 9d 4c 1a fe 4c 39 ed 0f 84 b7 f3 ff ff e8 7f 51 1a fe 0f 0b e9 ab f3 ff ff e8 73 51 1a fe <0f> 0b be 08 00 00 00 48 89 df e8 04 68 6d fe f0 48 0f ba 2b 02 40 RSP: 0000:ffffc90000317588 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880327959e0 RCX: 0000000000000000 RDX: ffff888014a94300 RSI: ffffffff836b37fd RDI: 0000000000000005 RBP: 0000000000000101 R08: 0000000000000005 R09: 00000000fffffffe R10: 00000000fffffffe R11: 0000000000000042 R12: ffff88802f9a76e0 R13: ffff888024e3dbf8 R14: 00000000fffffffe R15: 0000000000546000 FS: 0000000000000000(0000) GS:ffff88806b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88a2150000 CR3: 000000002c185000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1657 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1681 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1927 [inline] __btrfs_run_delayed_refs+0xd3d/0x3b80 fs/btrfs/extent-tree.c:1988 btrfs_run_delayed_refs+0x1a1/0x510 fs/btrfs/extent-tree.c:2100 commit_cowonly_roots+0x750/0xa60 fs/btrfs/transaction.c:1331 btrfs_commit_transaction+0x107e/0x3ed0 fs/btrfs/transaction.c:2427 btrfs_qgroup_rescan_worker+0x567/0xa40 fs/btrfs/qgroup.c:3417 btrfs_work_helper+0x20b/0xba0 fs/btrfs/async-thread.c:314 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000