FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #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:4114 [inline] slab_alloc_node mm/slub.c:4190 [inline] kmem_cache_alloc_noprof+0x78/0x390 mm/slub.c:4217 alloc_extent_state+0x25/0x310 fs/btrfs/extent-io-tree.c:171 __clear_extent_bit+0x1c2/0xb00 fs/btrfs/extent-io-tree.c:659 unlock_extent fs/btrfs/extent-io-tree.h:185 [inline] btrfs_buffered_write+0xb73/0x1310 fs/btrfs/file.c:1281 btrfs_direct_write+0x523/0xa90 fs/btrfs/direct-io.c:967 btrfs_do_write_iter+0x2a2/0x7c0 fs/btrfs/file.c:1380 iter_file_splice_write+0xbdf/0x1530 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1158 splice_direct_to_actor+0x595/0xc90 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x281/0x3d0 fs/splice.c:1227 do_sendfile+0x582/0x8c0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x17e/0x1e0 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7cff38e169 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:00007f7d0027c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7cff5b6080 RCX: 00007f7cff38e169 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000008 RBP: 00007f7d0027c090 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000200201005 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f7cff5b6080 R15: 00007ffed69087a8 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5323 at fs/btrfs/extent-tree.c:3198 __btrfs_free_extent+0x29c1/0x3990 fs/btrfs/extent-tree.c:3198 Modules linked in: CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #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:__btrfs_free_extent+0x29c1/0x3990 fs/btrfs/extent-tree.c:3198 Code: 8b 44 24 08 8b 10 48 89 df 48 c7 c6 80 a1 8c 8c e8 04 f6 39 fd 49 be 00 00 00 00 00 fc ff df bb 8b ff ff ff e9 8b f3 ff ff 90 <0f> 0b 90 48 8b 44 24 20 42 80 3c 20 00 48 8b 1c 24 74 08 48 89 df RSP: 0018:ffffc9000d4a6ae0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000fffffffe RCX: e0836ad62054cd00 RDX: 0000000000000002 RSI: ffffffff8f2c3750 RDI: 00000000fffffffe RBP: ffffc9000d4a6cb0 R08: 0000000000000005 R09: ffffffff83edaf0c R10: 0000000000000002 R11: ffff888000cc8000 R12: dffffc0000000000 R13: ffff88804d9aca90 R14: 00000000fffffffe R15: ffff888052c58840 FS: 00007f7d0027c6c0(0000) GS:ffff88808c59a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7d0025afd8 CR3: 0000000044138000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1747 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1773 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1970 [inline] __btrfs_run_delayed_refs+0xfa3/0x4160 fs/btrfs/extent-tree.c:2040 btrfs_run_delayed_refs+0xe3/0x2f0 fs/btrfs/extent-tree.c:2152 btrfs_commit_transaction+0x4ae/0x3650 fs/btrfs/transaction.c:2209 btrfs_sync_file+0xddb/0x11e0 fs/btrfs/file.c:1739 generic_write_sync include/linux/fs.h:2976 [inline] btrfs_do_write_iter+0x5fe/0x7c0 fs/btrfs/file.c:1390 iter_file_splice_write+0xbdf/0x1530 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1158 splice_direct_to_actor+0x595/0xc90 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x281/0x3d0 fs/splice.c:1227 do_sendfile+0x582/0x8c0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x17e/0x1e0 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7cff38e169 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:00007f7d0027c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7cff5b6080 RCX: 00007f7cff38e169 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000008 RBP: 00007f7d0027c090 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000200201005 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f7cff5b6080 R15: 00007ffed69087a8