------------[ cut here ]------------ WARNING: CPU: 0 PID: 6659 at fs/btrfs/tree-checker.c:1545 check_extent_item fs/btrfs/tree-checker.c:1545 [inline] WARNING: CPU: 0 PID: 6659 at fs/btrfs/tree-checker.c:1545 check_leaf_item fs/btrfs/tree-checker.c:1880 [inline] WARNING: CPU: 0 PID: 6659 at fs/btrfs/tree-checker.c:1545 __btrfs_check_leaf+0x3552/0x6430 fs/btrfs/tree-checker.c:2039 Modules linked in: CPU: 0 UID: 0 PID: 6659 Comm: kworker/u8:9 Not tainted 6.12.0-syzkaller-10553-gb86545e02e8c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: btrfs-worker btrfs_work_helper RIP: 0010:check_extent_item fs/btrfs/tree-checker.c:1545 [inline] RIP: 0010:check_leaf_item fs/btrfs/tree-checker.c:1880 [inline] RIP: 0010:__btrfs_check_leaf+0x3552/0x6430 fs/btrfs/tree-checker.c:2039 Code: 48 8b 44 24 60 48 89 84 24 08 01 00 00 0f b6 44 24 70 41 89 c6 e9 3b fa ff ff e8 29 7e bc fd e9 38 fe ff ff e8 1f 7e bc fd 90 <0f> 0b 90 e9 c9 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 91 fb RSP: 0018:ffffc9000428f3a0 EFLAGS: 00010293 RAX: ffffffff83d96611 RBX: 0000000000000000 RCX: ffff88802a4dda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000428f9b8 R08: ffffffff83d962ac R09: ffffffff83d96165 R10: 0000000000000005 R11: ffff88802a4dda00 R12: dffffc0000000000 R13: 0000000000000eb4 R14: ffff88807d2620bc R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcef893c18 CR3: 0000000064b84000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_check_leaf+0x16/0x40 fs/btrfs/tree-checker.c:2055 btree_csum_one_bio+0x41a/0x890 fs/btrfs/disk-io.c:299 btrfs_bio_csum fs/btrfs/bio.c:515 [inline] run_one_async_start+0x8f/0x120 fs/btrfs/bio.c:545 btrfs_work_helper+0x390/0xc50 fs/btrfs/async-thread.c:314 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244