Warning: Permanently added '10.128.0.6' (ECDSA) to the list of known hosts. executing program [ 39.325035] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 [ 39.341988] BTRFS info (device loop0): using free space tree [ 39.350470] BTRFS info (device loop0): has skinny extents [ 39.388842] FAULT_INJECTION: forcing a failure. [ 39.388842] name failslab, interval 1, probability 0, space 0, times 1 [ 39.402208] CPU: 1 PID: 8120 Comm: syz-executor306 Not tainted 4.19.211-syzkaller #0 [ 39.410192] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 39.419654] Call Trace: [ 39.422245] dump_stack+0x1fc/0x2ef [ 39.425898] should_fail.cold+0xa/0xf [ 39.429704] ? do_vfs_ioctl+0xcdb/0x12e0 [ 39.433761] ? setup_fault_attr+0x200/0x200 [ 39.438065] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.443418] __should_failslab+0x115/0x180 [ 39.447650] should_failslab+0x5/0x10 [ 39.451433] kmem_cache_alloc+0x277/0x370 [ 39.455571] btrfs_add_delayed_tree_ref+0xfe/0xb40 [ 39.460482] ? check_preemption_disabled+0x41/0x280 [ 39.465495] ? btrfs_select_ref_head+0x3a0/0x3a0 [ 39.470273] ? btrfs_alloc_tree_block+0xfbe/0x15f0 [ 39.475204] btrfs_alloc_tree_block+0x1124/0x15f0 [ 39.480384] ? btrfs_reserve_extent+0x440/0x440 [ 39.485045] ? mark_held_locks+0xf0/0xf0 [ 39.489093] alloc_tree_block_no_bg_flush+0x1b6/0x250 [ 39.494376] __btrfs_cow_block+0x3c7/0x10a0 [ 39.498696] ? update_ref_for_cow+0xaf0/0xaf0 [ 39.503177] ? btrfs_tree_read_unlock_blocking+0x290/0x290 [ 39.508780] btrfs_cow_block+0x276/0x840 [ 39.512827] btrfs_search_slot+0x66a/0x1ee0 [ 39.517236] ? lock_acquire+0x170/0x3c0 [ 39.521466] ? split_leaf+0x1240/0x1240 [ 39.525434] ? _raw_spin_unlock+0x29/0x40 [ 39.529571] ? join_transaction+0x1b7/0xe20 [ 39.533877] ? btrfs_record_root_in_trans+0x13c/0x190 [ 39.539830] btrfs_insert_empty_items+0xba/0x180 [ 39.544743] insert_balance_item.isra.0+0x112/0x1430 [ 39.550052] ? mark_held_locks+0xf0/0xf0 [ 39.554098] ? reset_balance_state+0x340/0x340 [ 39.558667] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 39.563748] ? btrfs_ioctl_balance+0x620/0x750 [ 39.568334] ? mark_held_locks+0xa6/0xf0 [ 39.572385] ? btrfs_balance+0x1606/0x3f30 [ 39.576633] btrfs_balance+0xd8f/0x3f30 [ 39.580701] ? __mutex_lock+0x368/0x1190 [ 39.584837] ? should_fail+0x142/0x7b0 [ 39.588975] ? fs_reclaim_release+0xd0/0x110 [ 39.593367] ? btrfs_shrink_device+0xf40/0xf40 [ 39.597927] ? lock_acquire+0x170/0x3c0 [ 39.601970] ? check_preemption_disabled+0x41/0x280 [ 39.606973] ? btrfs_ioctl_balance+0x4d2/0x750 [ 39.611537] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 39.616545] ? kmem_cache_alloc_trace+0x323/0x380 [ 39.621390] btrfs_ioctl_balance+0x620/0x750 [ 39.625901] btrfs_ioctl+0xd80/0x76d0 [ 39.629860] ? mark_held_locks+0xf0/0xf0 [ 39.634009] ? _kstrtoull+0x297/0x540 [ 39.638143] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 39.644042] ? _copy_from_user+0xd2/0x130 [ 39.648316] ? get_pid_task+0xcd/0x190 [ 39.652194] ? check_preemption_disabled+0x41/0x280 [ 39.657388] ? lock_downgrade+0x720/0x720 [ 39.661571] ? check_preemption_disabled+0x41/0x280 [ 39.666596] ? get_pid_task+0xf4/0x190 [ 39.670471] ? proc_fail_nth_write+0x95/0x1d0 [ 39.675049] ? proc_tgid_io_accounting+0x7f0/0x7f0 [ 39.680552] ? debug_check_no_obj_freed+0x201/0x490 [ 39.685570] ? __vfs_write+0xff/0x770 [ 39.689354] ? proc_tgid_io_accounting+0x7f0/0x7f0 [ 39.694361] ? common_file_perm+0x4e5/0x850 [ 39.698666] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 39.704373] do_vfs_ioctl+0xcdb/0x12e0 [ 39.708247] ? vfs_write+0x3d7/0x540 [ 39.711941] ? ioctl_preallocate+0x200/0x200 [ 39.716341] ? lock_downgrade+0x720/0x720 [ 39.720478] ? check_preemption_disabled+0x41/0x280 [ 39.725564] ? vfs_write+0x393/0x540 [ 39.729264] ? ksys_write+0x1c8/0x2a0 [ 39.733047] ksys_ioctl+0x9b/0xc0 [ 39.736490] __x64_sys_ioctl+0x6f/0xb0 [ 39.740365] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 39.744925] do_syscall_64+0xf9/0x620 [ 39.748706] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.753873] RIP: 0033:0x7f0df1caece9 [ 39.757566] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 39.776446] RSP: 002b:00007ffe45060898 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 39.784142] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f0df1caece9 [ 39.791392] RDX: 0000000000000000 RSI: 00000000c4009420 RDI: 0000000000000004 [ 39.798646] RBP: 00007ffe450608a0 R08: 0000000000000001 R09: 00007f0df1c60036 [ 39.806170] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 [ 39.813421] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 39.823150] BTRFS error (device loop0): tree block 5275648 owner 1 already locked by pid=8120, extent tree corruption detected [ 39.835104] ------------[ cut here ]------------ [ 39.840624] WARNING: CPU: 1 PID: 8120 at fs/btrfs/extent-tree.c:6808 __btrfs_free_extent.isra.0+0x73b/0x1450 [ 39.850683] Kernel panic - not syncing: panic_on_warn set ... [ 39.850683] [ 39.858058] CPU: 1 PID: 8120 Comm: syz-executor306 Not tainted 4.19.211-syzkaller #0 [ 39.865949] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 39.875371] Call Trace: [ 39.877945] dump_stack+0x1fc/0x2ef [ 39.881639] panic+0x26a/0x50e [ 39.884813] ? __warn_printk+0xf3/0xf3 [ 39.888774] ? __btrfs_free_extent.isra.0+0x73b/0x1450 [ 39.894032] ? __probe_kernel_read+0x130/0x1b0 [ 39.899168] ? __warn.cold+0x5/0x5a [ 39.902868] ? __warn+0xe4/0x200 [ 39.906241] ? __btrfs_free_extent.isra.0+0x73b/0x1450 [ 39.911500] __warn.cold+0x20/0x5a [ 39.915025] ? __btrfs_free_extent.isra.0+0x73b/0x1450 [ 39.920280] report_bug+0x262/0x2b0 [ 39.923888] do_error_trap+0x1d7/0x310 [ 39.927752] ? math_error+0x310/0x310 [ 39.931547] ? irq_work_claim+0xa6/0xc0 [ 39.935589] ? irq_work_queue+0x29/0x80 [ 39.939550] ? error_entry+0x72/0xd0 [ 39.943243] ? trace_hardirqs_off_caller+0x6e/0x210 [ 39.948240] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.953079] invalid_op+0x14/0x20 [ 39.956526] RIP: 0010:__btrfs_free_extent.isra.0+0x73b/0x1450 [ 39.962582] Code: 89 ee bf fb ff ff ff e8 e3 3e 7f fe 41 83 fd fb 0f 84 0c d1 16 05 e8 64 3d 7f fe 44 89 ee 48 c7 c7 40 23 a4 88 e8 3a 75 0f 05 <0f> 0b e8 4e 3d 7f fe 48 8b 7c 24 28 44 89 e9 ba 98 1a 00 00 48 c7 [ 39.981562] RSP: 0018:ffff888095cdf0f8 EFLAGS: 00010286 [ 39.986916] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 39.994253] RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012b9be11 [ 40.001509] RBP: ffff8880b48cd210 R08: 0000000000000001 R09: 0000000000000000 [ 40.008861] R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 [ 40.016111] R13: 00000000ffffff8b R14: 0000000000000000 R15: 0000000000503000 [ 40.023370] ? vprintk_func+0x81/0x180 [ 40.027254] ? __btrfs_free_extent.isra.0+0x73b/0x1450 [ 40.032510] ? mark_held_locks+0xf0/0xf0 [ 40.036572] ? btrfs_alloc_logged_file_extent+0x470/0x470 [ 40.042111] ? lock_downgrade+0x720/0x720 [ 40.046249] ? btrfs_merge_delayed_refs+0x157/0xda0 [ 40.051252] ? __btrfs_run_delayed_refs+0x4b0/0x3de0 [ 40.056358] ? lock_downgrade+0x720/0x720 [ 40.060491] ? lock_acquire+0x168/0x3c0 [ 40.064449] ? check_preemption_disabled+0x41/0x280 [ 40.069470] __btrfs_run_delayed_refs+0x172b/0x3de0 [ 40.074478] ? trace_hardirqs_off+0x64/0x200 [ 40.078879] ? __btrfs_free_extent.isra.0+0x1450/0x1450 [ 40.084228] ? __kasan_slab_free+0x186/0x1f0 [ 40.088617] ? kmem_cache_free+0x7f/0x260 [ 40.092742] ? btrfs_free_path+0x45/0x60 [ 40.096809] ? insert_balance_item.isra.0+0x130/0x1430 [ 40.102091] ? btrfs_balance+0xd8f/0x3f30 [ 40.106506] ? btrfs_ioctl_balance+0x620/0x750 [ 40.111078] ? btrfs_ioctl+0xd80/0x76d0 [ 40.115052] ? do_vfs_ioctl+0xcdb/0x12e0 [ 40.119099] ? ksys_ioctl+0x9b/0xc0 [ 40.122900] ? __x64_sys_ioctl+0x6f/0xb0 [ 40.126946] ? do_syscall_64+0xf9/0x620 [ 40.130939] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.136386] ? btrfs_release_path+0x1ae/0x250 [ 40.141056] btrfs_run_delayed_refs.part.0+0x9a/0x310 [ 40.146473] btrfs_run_delayed_refs+0xad/0xf0 [ 40.151123] btrfs_commit_transaction+0x173/0x2480 [ 40.156046] ? trace_hardirqs_off+0x64/0x200 [ 40.160444] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 40.165554] ? btrfs_apply_pending_changes+0x150/0x150 [ 40.171078] ? check_preemption_disabled+0x41/0x280 [ 40.176081] ? btrfs_free_path+0x45/0x60 [ 40.180123] ? btrfs_free_path+0x45/0x60 [ 40.184174] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 40.189193] insert_balance_item.isra.0+0x138/0x1430 [ 40.194287] ? mark_held_locks+0xf0/0xf0 [ 40.198330] ? reset_balance_state+0x340/0x340 [ 40.202901] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 40.207985] ? btrfs_ioctl_balance+0x620/0x750 [ 40.212550] ? mark_held_locks+0xa6/0xf0 [ 40.216586] ? btrfs_balance+0x1606/0x3f30 [ 40.220802] btrfs_balance+0xd8f/0x3f30 [ 40.224763] ? __mutex_lock+0x368/0x1190 [ 40.229130] ? should_fail+0x142/0x7b0 [ 40.232999] ? fs_reclaim_release+0xd0/0x110 [ 40.237387] ? btrfs_shrink_device+0xf40/0xf40 [ 40.241948] ? lock_acquire+0x170/0x3c0 [ 40.245905] ? check_preemption_disabled+0x41/0x280 [ 40.250900] ? btrfs_ioctl_balance+0x4d2/0x750 [ 40.255463] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 40.260460] ? kmem_cache_alloc_trace+0x323/0x380 [ 40.265288] btrfs_ioctl_balance+0x620/0x750 [ 40.269679] btrfs_ioctl+0xd80/0x76d0 [ 40.273461] ? mark_held_locks+0xf0/0xf0 [ 40.277505] ? _kstrtoull+0x297/0x540 [ 40.281287] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 40.286974] ? _copy_from_user+0xd2/0x130 [ 40.291105] ? get_pid_task+0xcd/0x190 [ 40.295824] ? check_preemption_disabled+0x41/0x280 [ 40.300836] ? lock_downgrade+0x720/0x720 [ 40.304966] ? check_preemption_disabled+0x41/0x280 [ 40.309975] ? get_pid_task+0xf4/0x190 [ 40.313843] ? proc_fail_nth_write+0x95/0x1d0 [ 40.318333] ? proc_tgid_io_accounting+0x7f0/0x7f0 [ 40.323347] ? debug_check_no_obj_freed+0x201/0x490 [ 40.328531] ? __vfs_write+0xff/0x770 [ 40.332325] ? proc_tgid_io_accounting+0x7f0/0x7f0 [ 40.337255] ? common_file_perm+0x4e5/0x850 [ 40.341564] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 40.347950] do_vfs_ioctl+0xcdb/0x12e0 [ 40.351830] ? vfs_write+0x3d7/0x540 [ 40.355537] ? ioctl_preallocate+0x200/0x200 [ 40.359939] ? lock_downgrade+0x720/0x720 [ 40.364078] ? check_preemption_disabled+0x41/0x280 [ 40.369104] ? vfs_write+0x393/0x540 [ 40.372822] ? ksys_write+0x1c8/0x2a0 [ 40.376607] ksys_ioctl+0x9b/0xc0 [ 40.380045] __x64_sys_ioctl+0x6f/0xb0 [ 40.383925] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.388503] do_syscall_64+0xf9/0x620 [ 40.392299] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.397472] RIP: 0033:0x7f0df1caece9 [ 40.401169] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 40.420322] RSP: 002b:00007ffe45060898 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 40.428116] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f0df1caece9 [ 40.435460] RDX: 0000000000000000 RSI: 00000000c4009420 RDI: 0000000000000004 [ 40.442720] RBP: 00007ffe450608a0 R08: 0000000000000001 R09: 00007f0df1c60036 [ 40.449982] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 [ 40.457234] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 40.464890] Kernel Offset: disabled [ 40.468557] Rebooting in 86400 seconds..