[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.132' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 551.655647] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 [ 551.670469] BTRFS info (device loop0): using free space tree [ 551.676339] BTRFS info (device loop0): has skinny extents [ 551.733821] FAULT_INJECTION: forcing a failure. [ 551.733821] name failslab, interval 1, probability 0, space 0, times 1 [ 551.745439] CPU: 1 PID: 7987 Comm: syz-executor265 Not tainted 4.14.302-syzkaller #0 [ 551.753309] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 551.762637] Call Trace: [ 551.765201] dump_stack+0x1b2/0x281 [ 551.768803] should_fail.cold+0x10a/0x149 [ 551.772926] should_failslab+0xd6/0x130 [ 551.776875] kmem_cache_alloc+0x28e/0x3c0 [ 551.780998] btrfs_alloc_tree_block+0xcfa/0x1410 [ 551.785730] ? btrfs_reserve_extent+0x3b0/0x3b0 [ 551.790370] ? memcpy+0x35/0x50 [ 551.793625] ? read_extent_buffer+0x102/0x150 [ 551.798096] __btrfs_cow_block+0x367/0xfd0 [ 551.802306] ? btrfs_set_lock_blocking_rw+0x266/0x2f0 [ 551.807474] ? update_ref_for_cow+0x980/0x980 [ 551.811947] ? btrfs_tree_read_unlock_blocking+0x210/0x210 [ 551.817545] btrfs_cow_block+0x207/0x6d0 [ 551.821583] ? btrfs_set_path_blocking+0x39/0x110 [ 551.826402] btrfs_search_slot+0x546/0x1c20 [ 551.830701] ? split_leaf+0x14a0/0x14a0 [ 551.834654] btrfs_insert_empty_items+0xaf/0x160 [ 551.839386] insert_with_overflow+0xaa/0x230 [ 551.843778] ? btrfs_match_dir_item_name+0x270/0x270 [ 551.848864] btrfs_insert_xattr_item+0x156/0x370 [ 551.853601] ? lock_downgrade+0x740/0x740 [ 551.857722] ? insert_with_overflow+0x230/0x230 [ 551.862368] ? __mutex_unlock_slowpath+0x75/0x770 [ 551.867183] ? do_setxattr+0xff/0x840 [ 551.870957] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 551.876380] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 551.881373] do_setxattr+0x2a9/0x840 [ 551.885061] __btrfs_setxattr+0x109/0x210 [ 551.889187] __btrfs_set_acl+0x1ef/0x300 [ 551.893228] btrfs_set_acl+0xc8/0x140 [ 551.896999] ? btrfs_get_acl+0x180/0x180 [ 551.901032] ? posix_acl_valid+0x12e/0x250 [ 551.905238] set_posix_acl+0x1d7/0x280 [ 551.909100] ? set_posix_acl+0x280/0x280 [ 551.913145] posix_acl_xattr_set+0x80/0x110 [ 551.917445] __vfs_setxattr+0xdc/0x130 [ 551.921305] ? xattr_resolve_name+0x370/0x370 [ 551.925774] ? evm_protect_xattr.constprop.0+0x6c/0x350 [ 551.931131] __vfs_setxattr_noperm+0xfd/0x3d0 [ 551.935619] __vfs_setxattr_locked+0x14d/0x250 [ 551.940183] vfs_setxattr+0xcf/0x230 [ 551.943882] ? __vfs_setxattr_locked+0x250/0x250 [ 551.948615] setxattr+0x1a9/0x300 [ 551.952043] ? vfs_setxattr+0x230/0x230 [ 551.955990] ? filename_lookup+0x380/0x510 [ 551.960200] ? __check_object_size+0x179/0x230 [ 551.964758] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 551.970179] ? preempt_count_add+0xaf/0x170 [ 551.974475] ? __mnt_want_write+0x1da/0x270 [ 551.978768] path_setxattr+0x118/0x130 [ 551.982631] ? setxattr+0x300/0x300 [ 551.986241] SyS_lsetxattr+0x33/0x40 [ 551.989935] ? SyS_setxattr+0x50/0x50 [ 551.993708] do_syscall_64+0x1d5/0x640 [ 551.997572] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 552.002734] RIP: 0033:0x7fe009bb8a89 [ 552.006417] RSP: 002b:00007ffd2d47a9a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd [ 552.014095] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe009bb8a89 [ 552.021337] RDX: 0000000020000500 RSI: 00000000200000c0 RDI: 0000000020000040 [ 552.028577] RBP: 00007ffd2d47a9d0 R08: 0000000000000000 R09: 00007ffd2d47a9e0 [ 552.035818] R10: 0000000000000024 R11: 0000000000000246 R12: 0000000000000004 [ 552.043058] R13: 00007ffd2d47aa10 R14: 00007ffd2d47a9f0 R15: 0000000000000000 [ 552.076074] ------------[ cut here ]------------ [ 552.080867] WARNING: CPU: 1 PID: 7986 at fs/btrfs/extent-tree.c:10028 btrfs_free_block_groups+0x713/0xc50 [ 552.090540] Kernel panic - not syncing: panic_on_warn set ... [ 552.090540] [ 552.097875] CPU: 1 PID: 7986 Comm: syz-executor265 Not tainted 4.14.302-syzkaller #0 [ 552.105725] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 552.115049] Call Trace: [ 552.117618] dump_stack+0x1b2/0x281 [ 552.121220] panic+0x1f9/0x42d [ 552.124388] ? add_taint.cold+0x16/0x16 [ 552.128334] ? btrfs_free_block_groups+0x713/0xc50 [ 552.133234] ? btrfs_free_block_groups+0x713/0xc50 [ 552.138137] __warn.cold+0x20/0x44 [ 552.141652] ? ist_end_non_atomic+0x10/0x10 [ 552.145944] ? btrfs_free_block_groups+0x713/0xc50 [ 552.150847] report_bug+0x208/0x250 [ 552.154449] do_error_trap+0x195/0x2d0 [ 552.158308] ? math_error+0x2d0/0x2d0 [ 552.162082] ? lock_acquire+0x170/0x3f0 [ 552.166026] ? space_info_add_old_bytes+0x26/0x7e0 [ 552.170931] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 552.175745] invalid_op+0x1b/0x40 [ 552.179170] RIP: 0010:btrfs_free_block_groups+0x713/0xc50 [ 552.184675] RSP: 0018:ffff88809623fc20 EFLAGS: 00010297 [ 552.190009] RAX: ffff8880b4e7c3c0 RBX: 0000000000000000 RCX: ffffed1016698deb [ 552.197255] RDX: 0000000000000000 RSI: ffff8880b34c6f58 RDI: ffff888095931718 [ 552.204495] RBP: ffff8880b34c5c00 R08: ffffffff8ba6182c R09: 0000000000000001 [ 552.211737] R10: 0000000000000000 R11: ffff8880b4e7c3c0 R12: ffff8880959317a8 [ 552.218980] R13: dffffc0000000000 R14: ffff888095931240 R15: 1ffff11016698deb [ 552.226235] close_ctree+0x33d/0x840 [ 552.229922] ? btrfs_cleanup_transaction.isra.0+0x10d0/0x10d0 [ 552.235779] ? dispose_list+0x1e0/0x1e0 [ 552.239727] ? fsnotify_unmount_inodes+0x1b4/0x210 [ 552.244628] ? btrfs_set_super+0x60/0x60 [ 552.248662] generic_shutdown_super+0x144/0x370 [ 552.253303] kill_anon_super+0x36/0x90 [ 552.257165] btrfs_kill_super+0x49/0x540 [ 552.261197] ? unregister_shrinker+0x170/0x210 [ 552.265753] deactivate_locked_super+0x6c/0xd0 [ 552.270309] deactivate_super+0x7f/0xa0 [ 552.274255] cleanup_mnt+0x186/0x2c0 [ 552.277943] task_work_run+0x11f/0x190 [ 552.281805] exit_to_usermode_loop+0x1ad/0x200 [ 552.286361] do_syscall_64+0x4a3/0x640 [ 552.290223] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 552.295383] RIP: 0033:0x7fe009bb9e27 [ 552.299065] RSP: 002b:00007ffd2d4798b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 552.306745] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe009bb9e27 [ 552.313987] RDX: 00007ffd2d479979 RSI: 000000000000000a RDI: 00007ffd2d479970 [ 552.321230] RBP: 00007ffd2d479970 R08: 00000000ffffffff R09: 00007ffd2d479750 [ 552.328472] R10: 0000555556df2683 R11: 0000000000000206 R12: 00007ffd2d47a9f0 [ 552.335714] R13: 0000555556df25f0 R14: 00007ffd2d4798e0 R15: 0000000000000001 [ 552.343266] Kernel Offset: disabled [ 552.346914] Rebooting in 86400 seconds..