Warning: Permanently added '10.128.1.187' (ECDSA) to the list of known hosts. Setting up swapspace version 1, size = 127995904 bytes syzkaller login: [ 35.946663][ T4217] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k SSFS executing program [ 36.155020][ T4219] loop0: detected capacity change from 0 to 32768 [ 36.159262][ T4219] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor252 (4219) [ 36.171043][ T4219] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 36.172931][ T4219] BTRFS info (device loop0): setting nodatasum [ 36.174443][ T4219] BTRFS info (device loop0): enabling ssd optimizations [ 36.175875][ T4219] BTRFS info (device loop0): max_inline at 0 [ 36.177161][ T4219] BTRFS info (device loop0): using free space tree [ 36.200561][ T4219] FAULT_INJECTION: forcing a failure. [ 36.200561][ T4219] name failslab, interval 1, probability 0, space 0, times 1 [ 36.203384][ T4219] CPU: 0 PID: 4219 Comm: syz-executor252 Not tainted 6.1.34-syzkaller #0 [ 36.205232][ T4219] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 36.207277][ T4219] Call trace: [ 36.207978][ T4219] dump_backtrace+0x1c8/0x1f4 [ 36.209000][ T4219] show_stack+0x2c/0x3c [ 36.209847][ T4219] dump_stack_lvl+0x108/0x170 [ 36.210834][ T4219] dump_stack+0x1c/0x58 [ 36.211742][ T4219] should_fail_ex+0x408/0x5d4 [ 36.212696][ T4219] __should_failslab+0xc8/0x128 [ 36.213742][ T4219] should_failslab+0x10/0x28 [ 36.214754][ T4219] kmem_cache_alloc+0x8c/0x37c [ 36.215785][ T4219] btrfs_alloc_tree_block+0xa9c/0x1478 [ 36.216951][ T4219] __btrfs_cow_block+0x3f4/0x16f0 [ 36.218118][ T4219] btrfs_cow_block+0x354/0x7dc [ 36.219117][ T4219] btrfs_search_slot+0xb7c/0x2948 [ 36.220169][ T4219] btrfs_insert_empty_items+0xa4/0x178 [ 36.221333][ T4219] btrfs_insert_inode_ref+0x228/0xcb4 [ 36.222467][ T4219] btrfs_add_link+0x1a4/0xa64 [ 36.223486][ T4219] btrfs_link+0x3bc/0x638 [ 36.224406][ T4219] vfs_link+0x598/0x74c [ 36.225309][ T4219] do_linkat+0x2f4/0x898 [ 36.226239][ T4219] __arm64_sys_linkat+0xe4/0x100 [ 36.227301][ T4219] invoke_syscall+0x98/0x2c0 [ 36.228236][ T4219] el0_svc_common+0x138/0x258 [ 36.229235][ T4219] do_el0_svc+0x64/0x218 [ 36.230212][ T4219] el0_svc+0x58/0x168 [ 36.231081][ T4219] el0t_64_sync_handler+0x84/0xf0 [ 36.232159][ T4219] el0t_64_sync+0x18c/0x190 [ 36.335585][ T4219] ------------[ cut here ]------------ [ 36.337853][ T4219] WARNING: CPU: 0 PID: 4219 at fs/btrfs/space-info.h:122 btrfs_space_info_update_bytes_may_use+0x308/0x834 [ 36.340299][ T4219] Modules linked in: [ 36.341107][ T4219] CPU: 0 PID: 4219 Comm: syz-executor252 Not tainted 6.1.34-syzkaller #0 [ 36.342894][ T4219] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 36.345028][ T4219] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 36.346664][ T4219] pc : btrfs_space_info_update_bytes_may_use+0x308/0x834 [ 36.348118][ T4219] lr : btrfs_space_info_update_bytes_may_use+0x304/0x834 [ 36.349619][ T4219] sp : ffff80001d907620 [ 36.350517][ T4219] x29: ffff80001d907630 x28: 0000000000000000 x27: 1fffe0001bcade0c [ 36.352229][ T4219] x26: dfff800000000000 x25: ffff8000155bd360 x24: 0000000000000001 [ 36.353870][ T4219] x23: 0000000000000005 x22: 00000000000df000 x21: 00000000000e0000 [ 36.355507][ T4219] x20: ffff0000de56f060 x19: 0000000000000000 x18: ffff80001d907380 [ 36.357214][ T4219] x17: ffff8000155bd000 x16: ffff8000121062b4 x15: 000000000000dba1 [ 36.358960][ T4219] x14: 00000000010bd3f3 x13: dfff800000000000 x12: ffff700003b20eb8 [ 36.360606][ T4219] x11: ff8080000a2eda58 x10: 0000000000000000 x9 : ffff80000a2eda58 [ 36.362329][ T4219] x8 : ffff0000d4913780 x7 : 0000000000000000 x6 : 0000000000000000 [ 36.364010][ T4219] x5 : ffff80001879e440 x4 : 0000000000000008 x3 : ffff80000831d490 [ 36.365656][ T4219] x2 : fffffffffff20000 x1 : 00000000000e0000 x0 : 00000000000df000 [ 36.367308][ T4219] Call trace: [ 36.368049][ T4219] btrfs_space_info_update_bytes_may_use+0x308/0x834 [ 36.369396][ T4219] btrfs_block_rsv_release+0x3dc/0x4a8 [ 36.370553][ T4219] btrfs_release_global_block_rsv+0x38/0x22c [ 36.371865][ T4219] btrfs_free_block_groups+0x938/0xc9c [ 36.372980][ T4219] close_ctree+0x5b8/0xad8 [ 36.373987][ T4219] btrfs_put_super+0x40/0x50 [ 36.375002][ T4219] generic_shutdown_super+0x130/0x328 [ 36.376082][ T4219] kill_anon_super+0x4c/0x74 [ 36.377026][ T4219] btrfs_kill_super+0x40/0x58 [ 36.378050][ T4219] deactivate_locked_super+0xac/0x124 [ 36.379436][ T4219] deactivate_super+0xf0/0x110 [ 36.380461][ T4219] cleanup_mnt+0x394/0x41c [ 36.381464][ T4219] __cleanup_mnt+0x20/0x30 [ 36.382417][ T4219] task_work_run+0x240/0x2f0 [ 36.383360][ T4219] do_exit+0x554/0x1a88 [ 36.384280][ T4219] do_group_exit+0x194/0x22c [ 36.385255][ T4219] __wake_up_parent+0x0/0x60 [ 36.386228][ T4219] invoke_syscall+0x98/0x2c0 [ 36.387237][ T4219] el0_svc_common+0x138/0x258 [ 36.388255][ T4219] do_el0_svc+0x64/0x218 [ 36.389218][ T4219] el0_svc+0x58/0x168 [ 36.390064][ T4219] el0t_64_sync_handler+0x84/0xf0 [ 36.391139][ T4219] el0t_64_sync+0x18c/0x190 [ 36.392087][ T4219] irq event stamp: 96558 [ 36.393074][ T4219] hardirqs last enabled at (96557): [] kasan_quarantine_put+0xdc/0x204 [ 36.395228][ T4219] hardirqs last disabled at (96558): [] el1_dbg+0x24/0x80 [ 36.397170][ T4219] softirqs last enabled at (96408): [] __do_softirq+0xc14/0xea0 [ 36.399174][ T4219] softirqs last disabled at (96213): [] ____do_softirq+0x14/0x20 [ 36.401243][ T4219] ---[ end trace 0000000000000000 ]---