[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.42' (ECDSA) to the list of known hosts. syzkaller login: [ 28.813121] IPVS: ftp: loaded support on port[0] = 21 executing program [ 28.870402] BTRFS: device fsid a83072c4-b324-4753-9b4f-5e95f63db05a devid 1 transid 8 /dev/loop0 [ 28.888208] BTRFS info (device loop0): using free space tree [ 28.895211] BTRFS info (device loop0): has skinny extents [ 28.946183] FAULT_INJECTION: forcing a failure. [ 28.946183] name failslab, interval 1, probability 0, space 0, times 1 [ 28.959173] CPU: 1 PID: 7975 Comm: syz-executor146 Not tainted 4.14.294-syzkaller #0 [ 28.967083] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 28.976423] Call Trace: [ 28.978991] dump_stack+0x1b2/0x281 [ 28.982596] should_fail.cold+0x10a/0x149 [ 28.986722] should_failslab+0xd6/0x130 [ 28.990672] kmem_cache_alloc+0x28e/0x3c0 [ 28.994795] btrfs_alloc_tree_block+0xcfa/0x1410 [ 28.999529] ? btrfs_reserve_extent+0x3b0/0x3b0 [ 29.004173] ? memcpy+0x35/0x50 [ 29.007428] ? read_extent_buffer+0x102/0x150 [ 29.011898] __btrfs_cow_block+0x367/0xfd0 [ 29.016112] ? btrfs_set_lock_blocking_rw+0x266/0x2f0 [ 29.021279] ? update_ref_for_cow+0x980/0x980 [ 29.025772] ? lock_acquire+0x170/0x3f0 [ 29.029723] ? btrfs_try_tree_write_lock+0xaf/0x200 [ 29.034808] btrfs_cow_block+0x207/0x6d0 [ 29.038851] ? btrfs_set_path_blocking+0x39/0x110 [ 29.043691] btrfs_search_slot+0x546/0x1c20 [ 29.047992] ? split_leaf+0x14a0/0x14a0 [ 29.051944] btrfs_insert_empty_items+0xaf/0x160 [ 29.056676] btrfs_new_inode+0x5f4/0x1850 [ 29.060802] ? btrfs_endio_direct_read+0x2d0/0x2d0 [ 29.065703] ? record_root_in_trans.isra.0+0x2cc/0x3b0 [ 29.070955] ? start_caching+0x3e0/0x3e0 [ 29.074992] btrfs_create+0x212/0x5d0 [ 29.078946] ? do_raw_spin_unlock+0x164/0x220 [ 29.083429] ? btrfs_mknod+0x510/0x510 [ 29.087313] ? _raw_spin_unlock+0x29/0x40 [ 29.091449] ? d_splice_alias+0x3f5/0xb10 [ 29.095576] ? btrfs_mknod+0x510/0x510 [ 29.099452] lookup_open+0x77a/0x1750 [ 29.103235] ? vfs_mkdir+0x6e0/0x6e0 [ 29.106930] path_openat+0xe08/0x2970 [ 29.110715] ? path_lookupat+0x780/0x780 [ 29.114771] ? trace_hardirqs_on+0x10/0x10 [ 29.118985] do_filp_open+0x179/0x3c0 [ 29.122761] ? may_open_dev+0xe0/0xe0 [ 29.126540] ? lock_downgrade+0x740/0x740 [ 29.130684] ? do_raw_spin_unlock+0x164/0x220 [ 29.135158] ? _raw_spin_unlock+0x29/0x40 [ 29.139290] ? __alloc_fd+0x1be/0x490 [ 29.143069] do_sys_open+0x296/0x410 [ 29.146759] ? filp_open+0x60/0x60 [ 29.150295] ? __close_fd+0x159/0x230 [ 29.154071] ? do_syscall_64+0x4c/0x640 [ 29.158019] ? SyS_open+0x30/0x30 [ 29.161451] do_syscall_64+0x1d5/0x640 [ 29.165316] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.170479] RIP: 0033:0x7f0bbcd2e769 [ 29.174164] RSP: 002b:00007fff53616f68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 29.181862] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0bbcd2e769 [ 29.189107] RDX: 000000000000275a RSI: 0000000020000280 RDI: 00000000ffffff9c [ 29.196354] RBP: 00007fff53616f80 R08: 0000000000000002 R09: 0000000000000000 [ 29.203599] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 [ 29.210842] R13: 00007f0bbcd73818 R14: 0000000000000000 R15: 0000000000000000 [ 29.251005] ------------[ cut here ]------------ [ 29.255857] WARNING: CPU: 1 PID: 7975 at fs/btrfs/extent-tree.c:10028 btrfs_free_block_groups+0x713/0xc50 [ 29.265549] Kernel panic - not syncing: panic_on_warn set ... [ 29.265549] [ 29.272917] CPU: 1 PID: 7975 Comm: syz-executor146 Not tainted 4.14.294-syzkaller #0 [ 29.280770] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 29.290104] Call Trace: [ 29.292677] dump_stack+0x1b2/0x281 [ 29.296291] panic+0x1f9/0x42d [ 29.299467] ? add_taint.cold+0x16/0x16 [ 29.303427] ? btrfs_free_block_groups+0x713/0xc50 [ 29.308340] ? btrfs_free_block_groups+0x713/0xc50 [ 29.313262] __warn.cold+0x20/0x44 [ 29.316790] ? ist_end_non_atomic+0x10/0x10 [ 29.321092] ? btrfs_free_block_groups+0x713/0xc50 [ 29.326003] report_bug+0x208/0x250 [ 29.329805] do_error_trap+0x195/0x2d0 [ 29.333679] ? math_error+0x2d0/0x2d0 [ 29.337468] ? lock_acquire+0x170/0x3f0 [ 29.341425] ? space_info_add_old_bytes+0x26/0x7e0 [ 29.346354] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.351179] invalid_op+0x1b/0x40 [ 29.354612] RIP: 0010:btrfs_free_block_groups+0x713/0xc50 [ 29.360126] RSP: 0018:ffff8880958b7b10 EFLAGS: 00010297 [ 29.365478] RAX: ffff88809834a180 RBX: 0000000000000000 RCX: ffffed10125db613 [ 29.373698] RDX: 0000000000000000 RSI: ffff888092edb098 RDI: ffff8880b2e72e18 [ 29.380952] RBP: ffff888092ed9d40 R08: ffffffff8ba5eb0c R09: 0000000000000001 [ 29.388203] R10: 0000000000000000 R11: ffff88809834a180 R12: ffff8880b2e72ea8 [ 29.395453] R13: dffffc0000000000 R14: ffff8880b2e72940 R15: 1ffff110125db613 [ 29.402734] close_ctree+0x33d/0x840 [ 29.406441] ? btrfs_cleanup_transaction.isra.0+0x10d0/0x10d0 [ 29.412309] ? dispose_list+0x1e0/0x1e0 [ 29.416266] ? fsnotify_unmount_inodes+0x1b4/0x210 [ 29.421194] ? btrfs_set_super+0x60/0x60 [ 29.425237] generic_shutdown_super+0x144/0x370 [ 29.429886] kill_anon_super+0x36/0x90 [ 29.433754] btrfs_kill_super+0x49/0x540 [ 29.437804] ? unregister_shrinker+0x170/0x210 [ 29.442368] deactivate_locked_super+0x6c/0xd0 [ 29.446944] deactivate_super+0x7f/0xa0 [ 29.450902] cleanup_mnt+0x186/0x2c0 [ 29.454599] task_work_run+0x11f/0x190 [ 29.458471] do_exit+0xa44/0x2850 [ 29.461910] ? __do_page_fault+0x571/0xad0 [ 29.466126] ? mm_update_next_owner+0x5b0/0x5b0 [ 29.470783] ? lock_downgrade+0x740/0x740 [ 29.474917] do_group_exit+0x100/0x2e0 [ 29.478788] SyS_exit_group+0x19/0x20 [ 29.482570] ? do_group_exit+0x2e0/0x2e0 [ 29.486613] do_syscall_64+0x1d5/0x640 [ 29.490485] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.495673] RIP: 0033:0x7f0bbcd2d299 [ 29.499363] RSP: 002b:00007fff53616f18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 29.507075] RAX: ffffffffffffffda RBX: 00007f0bbcda83f0 RCX: 00007f0bbcd2d299 [ 29.514333] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 29.521601] RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000000000 [ 29.528855] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0bbcda83f0 [ 29.536110] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 29.543777] Kernel Offset: disabled [ 29.547446] Rebooting in 86400 seconds..