loop0: detected capacity change from 0 to 32768 BTRFS: device fsid ed167579-eb65-4e76-9a50-61ac97e9b59d devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5325) BTRFS info (device loop0): first mount of filesystem ed167579-eb65-4e76-9a50-61ac97e9b59d BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm BTRFS info (device loop0): rebuilding free space tree BTRFS info (device loop0): disabling free space tree BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list BTRFS info (device loop0): balance: start -d -m FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00037-g834a4a689699 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x424/0x570 lib/fault-inject.c:174 should_failslab+0xac/0x100 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4104 [inline] slab_alloc_node mm/slub.c:4180 [inline] kmem_cache_alloc_noprof+0x78/0x390 mm/slub.c:4207 __insert_orphan_inode fs/btrfs/relocation.c:3710 [inline] create_reloc_inode+0x3df/0xa50 fs/btrfs/relocation.c:3785 btrfs_relocate_block_group+0x554/0xd80 fs/btrfs/relocation.c:3991 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3511 __btrfs_balance+0x1a93/0x25e0 fs/btrfs/volumes.c:4292 btrfs_balance+0xbde/0x10c0 fs/btrfs/volumes.c:4669 btrfs_ioctl_balance+0x3f5/0x660 fs/btrfs/ioctl.c:3586 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c2058d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c21404038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5c207a5fa0 RCX: 00007f5c2058d169 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000006 RBP: 00007f5c21404090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f5c207a5fa0 R15: 00007ffcce837ab8 BTRFS info (device loop0): relocating block group 6881280 flags data|metadata BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0 BTRFS: error (device loop0) in btrfs_commit_transaction:2536: errno=-5 IO failure (Error while writing out transaction) BTRFS info (device loop0 state E): forced readonly BTRFS warning (device loop0 state E): Skipping commit of aborted transaction. BTRFS error (device loop0 state EA): Transaction aborted (error -5) BTRFS: error (device loop0 state EA) in cleanup_transaction:2022: errno=-5 IO failure Oops: general protection fault, probably for non-canonical address 0xdffffc000000008c: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000460-0x0000000000000467] CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00037-g834a4a689699 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:iput+0x3b/0xa50 fs/inode.c:1914 Code: 38 49 89 fe e8 f6 ef 7b ff 4d 85 f6 0f 84 8c 03 00 00 49 bd 00 00 00 00 00 fc ff df 4d 8d be d0 00 00 00 4c 89 fb 48 c1 eb 03 <42> 0f b6 04 2b 84 c0 0f 85 c4 08 00 00 48 89 5c 24 10 41 8b 1f bd RSP: 0018:ffffc9000d2d79c0 EFLAGS: 00010203 RAX: ffffffff8247653a RBX: 000000000000008c RCX: ffff888000302440 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000394 RBP: ffff88801e53f010 R08: ffff888052cb580b R09: 1ffff1100a596b01 R10: dffffc0000000000 R11: ffffed100a596b02 R12: ffff888052cb7000 R13: dffffc0000000000 R14: 0000000000000394 R15: 0000000000000464 FS: 00007f5c214046c0(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a63fa8d338 CR3: 0000000040ce4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_relocate_block_group+0xb86/0xd80 fs/btrfs/relocation.c:4052 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3511 __btrfs_balance+0x1a93/0x25e0 fs/btrfs/volumes.c:4292 btrfs_balance+0xbde/0x10c0 fs/btrfs/volumes.c:4669 btrfs_ioctl_balance+0x3f5/0x660 fs/btrfs/ioctl.c:3586 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c2058d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c21404038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5c207a5fa0 RCX: 00007f5c2058d169 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000006 RBP: 00007f5c21404090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f5c207a5fa0 R15: 00007ffcce837ab8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:iput+0x3b/0xa50 fs/inode.c:1914 Code: 38 49 89 fe e8 f6 ef 7b ff 4d 85 f6 0f 84 8c 03 00 00 49 bd 00 00 00 00 00 fc ff df 4d 8d be d0 00 00 00 4c 89 fb 48 c1 eb 03 <42> 0f b6 04 2b 84 c0 0f 85 c4 08 00 00 48 89 5c 24 10 41 8b 1f bd RSP: 0018:ffffc9000d2d79c0 EFLAGS: 00010203 RAX: ffffffff8247653a RBX: 000000000000008c RCX: ffff888000302440 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000394 RBP: ffff88801e53f010 R08: ffff888052cb580b R09: 1ffff1100a596b01 R10: dffffc0000000000 R11: ffffed100a596b02 R12: ffff888052cb7000 R13: dffffc0000000000 R14: 0000000000000394 R15: 0000000000000464 FS: 00007f5c214046c0(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005609474a6c70 CR3: 0000000040ce4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 89 fe mov %rdi,%r14 3: e8 f6 ef 7b ff call 0xff7beffe 8: 4d 85 f6 test %r14,%r14 b: 0f 84 8c 03 00 00 je 0x39d 11: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 18: fc ff df 1b: 4d 8d be d0 00 00 00 lea 0xd0(%r14),%r15 22: 4c 89 fb mov %r15,%rbx 25: 48 c1 eb 03 shr $0x3,%rbx * 29: 42 0f b6 04 2b movzbl (%rbx,%r13,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 c4 08 00 00 jne 0x8fa 36: 48 89 5c 24 10 mov %rbx,0x10(%rsp) 3b: 41 8b 1f mov (%r15),%ebx 3e: bd .byte 0xbd