Warning: Permanently added '10.128.0.193' (ECDSA) to the list of known hosts. executing program [ 37.417540][ T3962] loop0: detected capacity change from 0 to 32768 [ 37.421858][ T3962] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (3962) [ 37.429393][ T3962] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 37.431316][ T3962] BTRFS info (device loop0): using free space tree [ 37.432755][ T3962] BTRFS info (device loop0): has skinny extents [ 37.449994][ T3962] BTRFS info (device loop0): enabling ssd optimizations [ 37.460760][ T3962] FAULT_INJECTION: forcing a failure. [ 37.460760][ T3962] name failslab, interval 1, probability 0, space 0, times 1 [ 37.463736][ T3962] CPU: 0 PID: 3962 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 37.465588][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 37.467778][ T3962] Call trace: [ 37.468467][ T3962] dump_backtrace+0x0/0x530 [ 37.469475][ T3962] show_stack+0x2c/0x3c [ 37.470399][ T3962] dump_stack_lvl+0x108/0x170 [ 37.471400][ T3962] dump_stack+0x1c/0x58 [ 37.472383][ T3962] should_fail+0x400/0x5cc [ 37.473384][ T3962] __should_failslab+0xbc/0x110 [ 37.474454][ T3962] should_failslab+0x10/0x28 [ 37.475459][ T3962] slab_pre_alloc_hook+0x64/0xe8 [ 37.476500][ T3962] kmem_cache_alloc_trace+0x9c/0x47c [ 37.477705][ T3962] btrfs_alloc_block_rsv+0x5c/0x114 [ 37.478749][ T3962] btrfs_replace_file_extents+0x160/0x1388 [ 37.480027][ T3962] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 37.481318][ T3962] btrfs_prealloc_file_range+0x60/0x7c [ 37.482522][ T3962] btrfs_fallocate+0x166c/0x1954 [ 37.483499][ T3962] vfs_fallocate+0x478/0x5b4 [ 37.484470][ T3962] ioctl_preallocate+0x2a0/0x34c [ 37.485524][ T3962] do_vfs_ioctl+0x1d00/0x2a38 [ 37.486555][ T3962] __arm64_sys_ioctl+0xe4/0x1c8 [ 37.487516][ T3962] invoke_syscall+0x98/0x2b8 [ 37.488503][ T3962] el0_svc_common+0x138/0x258 [ 37.489483][ T3962] do_el0_svc+0x58/0x14c [ 37.490376][ T3962] el0_svc+0x7c/0x1f0 [ 37.491256][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 37.492339][ T3962] el0t_64_sync+0x1a0/0x1a4 executing program [ 37.744202][ T3996] loop0: detected capacity change from 0 to 32768 [ 37.747702][ T3996] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (3996) [ 37.752436][ T3996] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 37.754410][ T3996] BTRFS info (device loop0): using free space tree [ 37.755796][ T3996] BTRFS info (device loop0): has skinny extents [ 37.768390][ T3996] BTRFS info (device loop0): enabling ssd optimizations [ 37.774171][ T3996] FAULT_INJECTION: forcing a failure. [ 37.774171][ T3996] name failslab, interval 1, probability 0, space 0, times 0 [ 37.776777][ T3996] CPU: 0 PID: 3996 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 37.778655][ T3996] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 37.780923][ T3996] Call trace: [ 37.781602][ T3996] dump_backtrace+0x0/0x530 [ 37.782633][ T3996] show_stack+0x2c/0x3c [ 37.783520][ T3996] dump_stack_lvl+0x108/0x170 [ 37.784525][ T3996] dump_stack+0x1c/0x58 [ 37.785427][ T3996] should_fail+0x400/0x5cc [ 37.786407][ T3996] __should_failslab+0xbc/0x110 [ 37.787424][ T3996] should_failslab+0x10/0x28 [ 37.788440][ T3996] slab_pre_alloc_hook+0x64/0xe8 [ 37.789551][ T3996] kmem_cache_alloc_trace+0x9c/0x47c [ 37.790605][ T3996] btrfs_alloc_block_rsv+0x5c/0x114 [ 37.791809][ T3996] btrfs_replace_file_extents+0x160/0x1388 [ 37.792994][ T3996] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 37.794207][ T3996] btrfs_prealloc_file_range+0x60/0x7c [ 37.795338][ T3996] btrfs_fallocate+0x166c/0x1954 [ 37.796455][ T3996] vfs_fallocate+0x478/0x5b4 [ 37.797434][ T3996] ioctl_preallocate+0x2a0/0x34c [ 37.798448][ T3996] do_vfs_ioctl+0x1d00/0x2a38 [ 37.799480][ T3996] __arm64_sys_ioctl+0xe4/0x1c8 [ 37.800530][ T3996] invoke_syscall+0x98/0x2b8 [ 37.801505][ T3996] el0_svc_common+0x138/0x258 [ 37.802497][ T3996] do_el0_svc+0x58/0x14c [ 37.803401][ T3996] el0_svc+0x7c/0x1f0 [ 37.804143][ T3996] el0t_64_sync_handler+0x84/0xe4 [ 37.805166][ T3996] el0t_64_sync+0x1a0/0x1a4 executing program [ 38.036495][ T4034] loop0: detected capacity change from 0 to 32768 [ 38.040115][ T4034] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4034) [ 38.044345][ T4034] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 38.046247][ T4034] BTRFS info (device loop0): using free space tree [ 38.047723][ T4034] BTRFS info (device loop0): has skinny extents [ 38.060939][ T4034] BTRFS info (device loop0): enabling ssd optimizations [ 38.066593][ T4034] FAULT_INJECTION: forcing a failure. [ 38.066593][ T4034] name fail_page_alloc, interval 1, probability 0, space 0, times 1 [ 38.069684][ T4034] CPU: 1 PID: 4034 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 38.071513][ T4034] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 38.073663][ T4034] Call trace: [ 38.074328][ T4034] dump_backtrace+0x0/0x530 [ 38.075266][ T4034] show_stack+0x2c/0x3c [ 38.076175][ T4034] dump_stack_lvl+0x108/0x170 [ 38.077237][ T4034] dump_stack+0x1c/0x58 [ 38.078177][ T4034] should_fail+0x400/0x5cc [ 38.079202][ T4034] should_fail_alloc_page+0x74/0xa8 [ 38.080330][ T4034] prepare_alloc_pages+0x160/0x4cc [ 38.081449][ T4034] __alloc_pages+0x138/0x674 [ 38.082447][ T4034] alloc_pages+0x390/0x634 [ 38.083394][ T4034] new_slab+0xec/0x56c [ 38.084315][ T4034] ___slab_alloc+0x6bc/0xdbc [ 38.085347][ T4034] kmem_cache_alloc+0x2d8/0x45c [ 38.086409][ T4034] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 38.087581][ T4034] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 38.088981][ T4034] btrfs_insert_replace_extent+0x924/0xc04 [ 38.090247][ T4034] btrfs_replace_file_extents+0xb3c/0x1388 [ 38.091519][ T4034] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 38.092839][ T4034] btrfs_prealloc_file_range+0x60/0x7c [ 38.094025][ T4034] btrfs_fallocate+0x166c/0x1954 [ 38.095192][ T4034] vfs_fallocate+0x478/0x5b4 [ 38.096228][ T4034] ioctl_preallocate+0x2a0/0x34c [ 38.097374][ T4034] do_vfs_ioctl+0x1d00/0x2a38 [ 38.098361][ T4034] __arm64_sys_ioctl+0xe4/0x1c8 [ 38.099395][ T4034] invoke_syscall+0x98/0x2b8 [ 38.100412][ T4034] el0_svc_common+0x138/0x258 [ 38.101412][ T4034] do_el0_svc+0x58/0x14c [ 38.102393][ T4034] el0_svc+0x7c/0x1f0 [ 38.103308][ T4034] el0t_64_sync_handler+0x84/0xe4 [ 38.104470][ T4034] el0t_64_sync+0x1a0/0x1a4 executing program [ 38.333808][ T4055] loop0: detected capacity change from 0 to 32768 [ 38.336945][ T4055] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4055) [ 38.342732][ T4055] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 38.344603][ T4055] BTRFS info (device loop0): using free space tree [ 38.345925][ T4055] BTRFS info (device loop0): has skinny extents [ 38.358827][ T4055] BTRFS info (device loop0): enabling ssd optimizations [ 38.363526][ T4055] FAULT_INJECTION: forcing a failure. [ 38.363526][ T4055] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 38.366386][ T4055] CPU: 1 PID: 4055 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 38.368307][ T4055] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 38.370469][ T4055] Call trace: [ 38.371142][ T4055] dump_backtrace+0x0/0x530 [ 38.372133][ T4055] show_stack+0x2c/0x3c [ 38.373023][ T4055] dump_stack_lvl+0x108/0x170 [ 38.374019][ T4055] dump_stack+0x1c/0x58 [ 38.374851][ T4055] should_fail+0x400/0x5cc [ 38.375793][ T4055] should_fail_alloc_page+0x74/0xa8 [ 38.376829][ T4055] prepare_alloc_pages+0x160/0x4cc [ 38.378005][ T4055] __alloc_pages+0x138/0x674 [ 38.378997][ T4055] alloc_pages+0x390/0x634 [ 38.379915][ T4055] new_slab+0xec/0x56c [ 38.380779][ T4055] ___slab_alloc+0x6bc/0xdbc [ 38.381812][ T4055] kmem_cache_alloc+0x2d8/0x45c [ 38.382870][ T4055] alloc_extent_map+0x28/0x128 [ 38.383956][ T4055] btrfs_drop_extent_cache+0x18c/0xd9c [ 38.385068][ T4055] btrfs_drop_extents+0x2ec/0x2b80 [ 38.386108][ T4055] btrfs_replace_file_extents+0x3a4/0x1388 [ 38.387337][ T4055] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 38.388648][ T4055] btrfs_prealloc_file_range+0x60/0x7c [ 38.389825][ T4055] btrfs_fallocate+0x166c/0x1954 [ 38.390892][ T4055] vfs_fallocate+0x478/0x5b4 [ 38.391899][ T4055] ioctl_preallocate+0x2a0/0x34c [ 38.392993][ T4055] do_vfs_ioctl+0x1d00/0x2a38 [ 38.393888][ T4055] __arm64_sys_ioctl+0xe4/0x1c8 [ 38.394884][ T4055] invoke_syscall+0x98/0x2b8 [ 38.395882][ T4055] el0_svc_common+0x138/0x258 [ 38.396845][ T4055] do_el0_svc+0x58/0x14c [ 38.397765][ T4055] el0_svc+0x7c/0x1f0 [ 38.398613][ T4055] el0t_64_sync_handler+0x84/0xe4 [ 38.399685][ T4055] el0t_64_sync+0x1a0/0x1a4 executing program [ 38.636647][ T4079] loop0: detected capacity change from 0 to 32768 [ 38.639977][ T4079] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4079) [ 38.645713][ T4079] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 38.647788][ T4079] BTRFS info (device loop0): using free space tree [ 38.649174][ T4079] BTRFS info (device loop0): has skinny extents [ 38.662034][ T4079] BTRFS info (device loop0): enabling ssd optimizations [ 38.668694][ T4079] FAULT_INJECTION: forcing a failure. [ 38.668694][ T4079] name failslab, interval 1, probability 0, space 0, times 0 [ 38.671633][ T4079] CPU: 0 PID: 4079 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 38.673528][ T4079] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 38.675738][ T4079] Call trace: [ 38.676451][ T4079] dump_backtrace+0x0/0x530 [ 38.677468][ T4079] show_stack+0x2c/0x3c [ 38.678374][ T4079] dump_stack_lvl+0x108/0x170 [ 38.679321][ T4079] dump_stack+0x1c/0x58 [ 38.680203][ T4079] should_fail+0x400/0x5cc [ 38.681169][ T4079] __should_failslab+0xbc/0x110 [ 38.682210][ T4079] should_failslab+0x10/0x28 [ 38.683210][ T4079] slab_pre_alloc_hook+0x64/0xe8 [ 38.684299][ T4079] kmem_cache_alloc+0x98/0x45c [ 38.685349][ T4079] alloc_extent_map+0x28/0x128 [ 38.686334][ T4079] btrfs_drop_extent_cache+0x19c/0xd9c [ 38.687475][ T4079] btrfs_drop_extents+0x2ec/0x2b80 [ 38.688548][ T4079] btrfs_replace_file_extents+0x3a4/0x1388 [ 38.689874][ T4079] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 38.691286][ T4079] btrfs_prealloc_file_range+0x60/0x7c [ 38.692460][ T4079] btrfs_fallocate+0x166c/0x1954 [ 38.693576][ T4079] vfs_fallocate+0x478/0x5b4 [ 38.694633][ T4079] ioctl_preallocate+0x2a0/0x34c [ 38.695722][ T4079] do_vfs_ioctl+0x1d00/0x2a38 [ 38.696704][ T4079] __arm64_sys_ioctl+0xe4/0x1c8 [ 38.697730][ T4079] invoke_syscall+0x98/0x2b8 [ 38.698658][ T4079] el0_svc_common+0x138/0x258 [ 38.699724][ T4079] do_el0_svc+0x58/0x14c [ 38.700629][ T4079] el0_svc+0x7c/0x1f0 [ 38.701482][ T4079] el0t_64_sync_handler+0x84/0xe4 [ 38.702581][ T4079] el0t_64_sync+0x1a0/0x1a4 executing program [ 38.933704][ T4099] loop0: detected capacity change from 0 to 32768 [ 38.936876][ T4099] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4099) [ 38.942893][ T4099] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 38.944888][ T4099] BTRFS info (device loop0): using free space tree [ 38.946214][ T4099] BTRFS info (device loop0): has skinny extents [ 38.958640][ T4099] BTRFS info (device loop0): enabling ssd optimizations [ 38.964180][ T4099] FAULT_INJECTION: forcing a failure. [ 38.964180][ T4099] name failslab, interval 1, probability 0, space 0, times 0 [ 38.966847][ T4099] CPU: 0 PID: 4099 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 38.968723][ T4099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 38.970991][ T4099] Call trace: [ 38.971859][ T4099] dump_backtrace+0x0/0x530 [ 38.972831][ T4099] show_stack+0x2c/0x3c [ 38.973704][ T4099] dump_stack_lvl+0x108/0x170 [ 38.974732][ T4099] dump_stack+0x1c/0x58 [ 38.975599][ T4099] should_fail+0x400/0x5cc [ 38.976635][ T4099] __should_failslab+0xbc/0x110 [ 38.977688][ T4099] should_failslab+0x10/0x28 [ 38.978753][ T4099] slab_pre_alloc_hook+0x64/0xe8 [ 38.979826][ T4099] kmem_cache_alloc+0x98/0x45c [ 38.980836][ T4099] alloc_extent_map+0x28/0x128 [ 38.981899][ T4099] btrfs_drop_extent_cache+0x18c/0xd9c [ 38.983050][ T4099] btrfs_drop_extents+0x2ec/0x2b80 [ 38.984081][ T4099] btrfs_replace_file_extents+0x3a4/0x1388 [ 38.985379][ T4099] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 38.986621][ T4099] btrfs_prealloc_file_range+0x60/0x7c [ 38.987767][ T4099] btrfs_fallocate+0x166c/0x1954 [ 38.988839][ T4099] vfs_fallocate+0x478/0x5b4 [ 38.989800][ T4099] ioctl_preallocate+0x2a0/0x34c [ 38.990901][ T4099] do_vfs_ioctl+0x1d00/0x2a38 [ 38.991909][ T4099] __arm64_sys_ioctl+0xe4/0x1c8 [ 38.992913][ T4099] invoke_syscall+0x98/0x2b8 [ 38.993931][ T4099] el0_svc_common+0x138/0x258 [ 38.994880][ T4099] do_el0_svc+0x58/0x14c [ 38.995819][ T4099] el0_svc+0x7c/0x1f0 [ 38.996693][ T4099] el0t_64_sync_handler+0x84/0xe4 [ 38.997771][ T4099] el0t_64_sync+0x1a0/0x1a4 executing program [ 39.221533][ T4119] loop0: detected capacity change from 0 to 32768 [ 39.224715][ T4119] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4119) [ 39.230684][ T4119] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 39.232711][ T4119] BTRFS info (device loop0): using free space tree [ 39.234092][ T4119] BTRFS info (device loop0): has skinny extents [ 39.246677][ T4119] BTRFS info (device loop0): enabling ssd optimizations [ 39.251718][ T4119] FAULT_INJECTION: forcing a failure. [ 39.251718][ T4119] name failslab, interval 1, probability 0, space 0, times 0 [ 39.254473][ T4119] CPU: 0 PID: 4119 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 39.256220][ T4119] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 39.258525][ T4119] Call trace: [ 39.259211][ T4119] dump_backtrace+0x0/0x530 [ 39.260151][ T4119] show_stack+0x2c/0x3c [ 39.261005][ T4119] dump_stack_lvl+0x108/0x170 [ 39.261992][ T4119] dump_stack+0x1c/0x58 [ 39.262844][ T4119] should_fail+0x400/0x5cc [ 39.263776][ T4119] __should_failslab+0xbc/0x110 [ 39.264814][ T4119] should_failslab+0x10/0x28 [ 39.265815][ T4119] slab_pre_alloc_hook+0x64/0xe8 [ 39.266819][ T4119] kmem_cache_alloc+0x98/0x45c [ 39.267789][ T4119] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 39.269071][ T4119] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 39.270393][ T4119] btrfs_insert_replace_extent+0x924/0xc04 [ 39.271602][ T4119] btrfs_replace_file_extents+0xb3c/0x1388 [ 39.272779][ T4119] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 39.274048][ T4119] btrfs_prealloc_file_range+0x60/0x7c [ 39.275203][ T4119] btrfs_fallocate+0x166c/0x1954 [ 39.276298][ T4119] vfs_fallocate+0x478/0x5b4 [ 39.277314][ T4119] ioctl_preallocate+0x2a0/0x34c [ 39.278337][ T4119] do_vfs_ioctl+0x1d00/0x2a38 [ 39.279322][ T4119] __arm64_sys_ioctl+0xe4/0x1c8 [ 39.280309][ T4119] invoke_syscall+0x98/0x2b8 [ 39.281331][ T4119] el0_svc_common+0x138/0x258 [ 39.282316][ T4119] do_el0_svc+0x58/0x14c [ 39.283263][ T4119] el0_svc+0x7c/0x1f0 [ 39.284160][ T4119] el0t_64_sync_handler+0x84/0xe4 [ 39.285209][ T4119] el0t_64_sync+0x1a0/0x1a4 [ 39.289394][ T4119] ------------[ cut here ]------------ [ 39.290727][ T4119] WARNING: CPU: 0 PID: 4119 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 39.293048][ T4119] Modules linked in: [ 39.293865][ T4119] CPU: 0 PID: 4119 Comm: syz-executor138 Not tainted 5.15.112-syzkaller #0 [ 39.295652][ T4119] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 39.297744][ T4119] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 39.299412][ T4119] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 39.300753][ T4119] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 39.302074][ T4119] sp : ffff80001d517060 [ 39.303010][ T4119] x29: ffff80001d5171c0 x28: ffff0000c1cfb200 x27: 0000000000000000 [ 39.304843][ T4119] x26: dfff800000000000 x25: ffff0000dc7fb8f0 x24: ffff0000df8b0000 [ 39.306510][ T4119] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 39.308308][ T4119] x20: 1fffe0001b8ff729 x19: ffff0000dc7fb948 x18: 0000000000000001 [ 39.310090][ T4119] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 39.311837][ T4119] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 39.313543][ T4119] x11: ff8080000832d950 x10: 0000000000000000 x9 : 2cdaec3160db0c00 [ 39.315319][ T4119] x8 : 2cdaec3160db0c00 x7 : 0000000000000001 x6 : 0000000000000001 [ 39.317036][ T4119] x5 : ffff80001d5167d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 39.318773][ T4119] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 39.320521][ T4119] Call trace: [ 39.321260][ T4119] btrfs_replace_file_extents+0xe1c/0x1388 [ 39.322524][ T4119] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 39.323778][ T4119] btrfs_prealloc_file_range+0x60/0x7c [ 39.325007][ T4119] btrfs_fallocate+0x166c/0x1954 [ 39.326057][ T4119] vfs_fallocate+0x478/0x5b4 [ 39.327047][ T4119] ioctl_preallocate+0x2a0/0x34c [ 39.328132][ T4119] do_vfs_ioctl+0x1d00/0x2a38 [ 39.329111][ T4119] __arm64_sys_ioctl+0xe4/0x1c8 [ 39.330128][ T4119] invoke_syscall+0x98/0x2b8 [ 39.331095][ T4119] el0_svc_common+0x138/0x258 [ 39.332047][ T4119] do_el0_svc+0x58/0x14c [ 39.332902][ T4119] el0_svc+0x7c/0x1f0 [ 39.333720][ T4119] el0t_64_sync_handler+0x84/0xe4 [ 39.334839][ T4119] el0t_64_sync+0x1a0/0x1a4 [ 39.335743][ T4119] irq event stamp: 71456 [ 39.336623][ T4119] hardirqs last enabled at (71455): [] __up_console_sem+0xb4/0x100 [ 39.338618][ T4119] hardirqs last disabled at (71456): [] el1_dbg+0x24/0x80 [ 39.340584][ T4119] softirqs last enabled at (71436): [] __do_softirq+0xb5c/0xe20 [ 39.342551][ T4119] softirqs last disabled at (71365): [] __irq_exit_rcu+0x28c/0x534 [ 39.344544][ T4119] ---[ end trace f0df0365feee4a4e ]--- [ 39.349753][ T4119] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 39.351867][ T4119] BTRFS info (device loop0): forced readonly executing program [ 39.629265][ T4139] loop0: detected capacity change from 0 to 32768 [ 39.632387][ T4139] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4139) [ 39.636769][ T4139] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 39.638952][ T4139] BTRFS info (device loop0): using free space tree [ 39.640414][ T4139] BTRFS info (device loop0): has skinny extents [ 39.653472][ T4139] BTRFS info (device loop0): enabling ssd optimizations [ 39.658711][ T4139] FAULT_INJECTION: forcing a failure. [ 39.658711][ T4139] name failslab, interval 1, probability 0, space 0, times 0 [ 39.661600][ T4139] CPU: 1 PID: 4139 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 39.663824][ T4139] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 39.666116][ T4139] Call trace: [ 39.666893][ T4139] dump_backtrace+0x0/0x530 [ 39.667870][ T4139] show_stack+0x2c/0x3c [ 39.668856][ T4139] dump_stack_lvl+0x108/0x170 [ 39.669894][ T4139] dump_stack+0x1c/0x58 [ 39.670780][ T4139] should_fail+0x400/0x5cc [ 39.671739][ T4139] __should_failslab+0xbc/0x110 [ 39.672757][ T4139] should_failslab+0x10/0x28 [ 39.673811][ T4139] slab_pre_alloc_hook+0x64/0xe8 [ 39.674860][ T4139] kmem_cache_alloc+0x98/0x45c [ 39.675974][ T4139] alloc_extent_map+0x28/0x128 [ 39.677009][ T4139] btrfs_drop_extent_cache+0x19c/0xd9c [ 39.678160][ T4139] btrfs_drop_extents+0x2ec/0x2b80 [ 39.679288][ T4139] btrfs_replace_file_extents+0x3a4/0x1388 [ 39.680640][ T4139] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 39.681933][ T4139] btrfs_prealloc_file_range+0x60/0x7c [ 39.683090][ T4139] btrfs_fallocate+0x166c/0x1954 [ 39.684193][ T4139] vfs_fallocate+0x478/0x5b4 [ 39.685172][ T4139] ioctl_preallocate+0x2a0/0x34c [ 39.686214][ T4139] do_vfs_ioctl+0x1d00/0x2a38 [ 39.687244][ T4139] __arm64_sys_ioctl+0xe4/0x1c8 [ 39.688292][ T4139] invoke_syscall+0x98/0x2b8 [ 39.689249][ T4139] el0_svc_common+0x138/0x258 [ 39.690278][ T4139] do_el0_svc+0x58/0x14c [ 39.691218][ T4139] el0_svc+0x7c/0x1f0 [ 39.692077][ T4139] el0t_64_sync_handler+0x84/0xe4 [ 39.693150][ T4139] el0t_64_sync+0x1a0/0x1a4 executing program [ 39.917793][ T4159] loop0: detected capacity change from 0 to 32768 [ 39.920853][ T4159] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4159) [ 39.925076][ T4159] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 39.926996][ T4159] BTRFS info (device loop0): using free space tree [ 39.928773][ T4159] BTRFS info (device loop0): has skinny extents [ 39.943575][ T4159] BTRFS info (device loop0): enabling ssd optimizations [ 39.948598][ T4159] FAULT_INJECTION: forcing a failure. [ 39.948598][ T4159] name failslab, interval 1, probability 0, space 0, times 0 [ 39.951324][ T4159] CPU: 1 PID: 4159 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 39.953434][ T4159] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 39.955547][ T4159] Call trace: [ 39.956223][ T4159] dump_backtrace+0x0/0x530 [ 39.957240][ T4159] show_stack+0x2c/0x3c [ 39.958133][ T4159] dump_stack_lvl+0x108/0x170 [ 39.959127][ T4159] dump_stack+0x1c/0x58 [ 39.960002][ T4159] should_fail+0x400/0x5cc [ 39.961020][ T4159] __should_failslab+0xbc/0x110 [ 39.962056][ T4159] should_failslab+0x10/0x28 [ 39.963086][ T4159] slab_pre_alloc_hook+0x64/0xe8 [ 39.964146][ T4159] kmem_cache_alloc+0x98/0x45c [ 39.965147][ T4159] alloc_extent_map+0x28/0x128 [ 39.966136][ T4159] btrfs_drop_extent_cache+0x18c/0xd9c [ 39.967390][ T4159] btrfs_drop_extents+0x2ec/0x2b80 [ 39.968546][ T4159] btrfs_replace_file_extents+0x3a4/0x1388 [ 39.969835][ T4159] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 39.971115][ T4159] btrfs_prealloc_file_range+0x60/0x7c [ 39.972250][ T4159] btrfs_fallocate+0x166c/0x1954 [ 39.973226][ T4159] vfs_fallocate+0x478/0x5b4 [ 39.974331][ T4159] ioctl_preallocate+0x2a0/0x34c [ 39.975368][ T4159] do_vfs_ioctl+0x1d00/0x2a38 [ 39.976365][ T4159] __arm64_sys_ioctl+0xe4/0x1c8 [ 39.977417][ T4159] invoke_syscall+0x98/0x2b8 [ 39.978472][ T4159] el0_svc_common+0x138/0x258 [ 39.979531][ T4159] do_el0_svc+0x58/0x14c [ 39.980491][ T4159] el0_svc+0x7c/0x1f0 [ 39.981350][ T4159] el0t_64_sync_handler+0x84/0xe4 [ 39.982476][ T4159] el0t_64_sync+0x1a0/0x1a4 executing program [ 40.208338][ T4179] loop0: detected capacity change from 0 to 32768 [ 40.211356][ T4179] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4179) [ 40.215719][ T4179] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 40.218377][ T4179] BTRFS info (device loop0): using free space tree [ 40.219771][ T4179] BTRFS info (device loop0): has skinny extents [ 40.233478][ T4179] BTRFS info (device loop0): enabling ssd optimizations [ 40.238846][ T4179] FAULT_INJECTION: forcing a failure. [ 40.238846][ T4179] name failslab, interval 1, probability 0, space 0, times 0 [ 40.241621][ T4179] CPU: 1 PID: 4179 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 40.243763][ T4179] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 40.245889][ T4179] Call trace: [ 40.246616][ T4179] dump_backtrace+0x0/0x530 [ 40.247572][ T4179] show_stack+0x2c/0x3c [ 40.248461][ T4179] dump_stack_lvl+0x108/0x170 [ 40.249435][ T4179] dump_stack+0x1c/0x58 [ 40.250315][ T4179] should_fail+0x400/0x5cc [ 40.251283][ T4179] __should_failslab+0xbc/0x110 [ 40.252278][ T4179] should_failslab+0x10/0x28 [ 40.253210][ T4179] slab_pre_alloc_hook+0x64/0xe8 [ 40.254266][ T4179] kmem_cache_alloc+0x98/0x45c [ 40.255336][ T4179] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 40.256545][ T4179] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 40.257871][ T4179] btrfs_insert_replace_extent+0x924/0xc04 [ 40.259004][ T4179] btrfs_replace_file_extents+0xb3c/0x1388 [ 40.260359][ T4179] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 40.261739][ T4179] btrfs_prealloc_file_range+0x60/0x7c [ 40.262891][ T4179] btrfs_fallocate+0x166c/0x1954 [ 40.263950][ T4179] vfs_fallocate+0x478/0x5b4 [ 40.264874][ T4179] ioctl_preallocate+0x2a0/0x34c [ 40.265928][ T4179] do_vfs_ioctl+0x1d00/0x2a38 [ 40.266943][ T4179] __arm64_sys_ioctl+0xe4/0x1c8 [ 40.267986][ T4179] invoke_syscall+0x98/0x2b8 [ 40.269007][ T4179] el0_svc_common+0x138/0x258 [ 40.270084][ T4179] do_el0_svc+0x58/0x14c [ 40.270987][ T4179] el0_svc+0x7c/0x1f0 [ 40.271840][ T4179] el0t_64_sync_handler+0x84/0xe4 [ 40.272923][ T4179] el0t_64_sync+0x1a0/0x1a4 [ 40.276935][ T4179] ------------[ cut here ]------------ [ 40.278492][ T4179] WARNING: CPU: 1 PID: 4179 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 40.280640][ T4179] Modules linked in: [ 40.281443][ T4179] CPU: 1 PID: 4179 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 40.283561][ T4179] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 40.285782][ T4179] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 40.287422][ T4179] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 40.288720][ T4179] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 40.290027][ T4179] sp : ffff80001d807060 [ 40.290945][ T4179] x29: ffff80001d8071c0 x28: ffff0000d4214c00 x27: 0000000000000000 [ 40.292639][ T4179] x26: dfff800000000000 x25: ffff0000df80abb0 x24: ffff0000df9389d0 [ 40.294378][ T4179] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 40.296157][ T4179] x20: 1fffe0001bf01581 x19: ffff0000df80ac08 x18: 0000000000000001 [ 40.297904][ T4179] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 40.299548][ T4179] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 40.301226][ T4179] x11: ff8080000832d950 x10: 0000000000000000 x9 : 4c55bdf1fae13e00 [ 40.302969][ T4179] x8 : 4c55bdf1fae13e00 x7 : 0000000000000001 x6 : 0000000000000001 [ 40.304575][ T4179] x5 : ffff80001d8067d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 40.306298][ T4179] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 40.308216][ T4179] Call trace: [ 40.308917][ T4179] btrfs_replace_file_extents+0xe1c/0x1388 [ 40.310154][ T4179] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 40.311483][ T4179] btrfs_prealloc_file_range+0x60/0x7c [ 40.312745][ T4179] btrfs_fallocate+0x166c/0x1954 [ 40.313860][ T4179] vfs_fallocate+0x478/0x5b4 [ 40.314868][ T4179] ioctl_preallocate+0x2a0/0x34c [ 40.315978][ T4179] do_vfs_ioctl+0x1d00/0x2a38 [ 40.317020][ T4179] __arm64_sys_ioctl+0xe4/0x1c8 [ 40.318055][ T4179] invoke_syscall+0x98/0x2b8 [ 40.319033][ T4179] el0_svc_common+0x138/0x258 [ 40.319986][ T4179] do_el0_svc+0x58/0x14c [ 40.320873][ T4179] el0_svc+0x7c/0x1f0 [ 40.321734][ T4179] el0t_64_sync_handler+0x84/0xe4 [ 40.322805][ T4179] el0t_64_sync+0x1a0/0x1a4 [ 40.323799][ T4179] irq event stamp: 72678 [ 40.324714][ T4179] hardirqs last enabled at (72677): [] __up_console_sem+0xb4/0x100 [ 40.326700][ T4179] hardirqs last disabled at (72678): [] el1_dbg+0x24/0x80 [ 40.328525][ T4179] softirqs last enabled at (72668): [] __do_softirq+0xb5c/0xe20 [ 40.330525][ T4179] softirqs last disabled at (72597): [] __irq_exit_rcu+0x28c/0x534 [ 40.332610][ T4179] ---[ end trace f0df0365feee4a4f ]--- [ 40.337603][ T4179] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 40.339795][ T4179] BTRFS info (device loop0): forced readonly executing program [ 40.608218][ T4199] loop0: detected capacity change from 0 to 32768 [ 40.611369][ T4199] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4199) [ 40.615934][ T4199] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 40.617941][ T4199] BTRFS info (device loop0): using free space tree [ 40.619293][ T4199] BTRFS info (device loop0): has skinny extents [ 40.632816][ T4199] BTRFS info (device loop0): enabling ssd optimizations [ 40.638794][ T4199] FAULT_INJECTION: forcing a failure. [ 40.638794][ T4199] name failslab, interval 1, probability 0, space 0, times 0 [ 40.641514][ T4199] CPU: 0 PID: 4199 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 40.643697][ T4199] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 40.645927][ T4199] Call trace: [ 40.646627][ T4199] dump_backtrace+0x0/0x530 [ 40.647616][ T4199] show_stack+0x2c/0x3c [ 40.648519][ T4199] dump_stack_lvl+0x108/0x170 [ 40.649560][ T4199] dump_stack+0x1c/0x58 [ 40.650474][ T4199] should_fail+0x400/0x5cc [ 40.651394][ T4199] __should_failslab+0xbc/0x110 [ 40.652432][ T4199] should_failslab+0x10/0x28 [ 40.653387][ T4199] slab_pre_alloc_hook+0x64/0xe8 [ 40.654477][ T4199] kmem_cache_alloc+0x98/0x45c [ 40.655524][ T4199] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 40.656755][ T4199] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 40.658103][ T4199] btrfs_insert_replace_extent+0x924/0xc04 [ 40.659408][ T4199] btrfs_replace_file_extents+0xb3c/0x1388 [ 40.660665][ T4199] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 40.661970][ T4199] btrfs_prealloc_file_range+0x60/0x7c [ 40.663116][ T4199] btrfs_fallocate+0x166c/0x1954 [ 40.664181][ T4199] vfs_fallocate+0x478/0x5b4 [ 40.665165][ T4199] ioctl_preallocate+0x2a0/0x34c [ 40.666307][ T4199] do_vfs_ioctl+0x1d00/0x2a38 [ 40.667300][ T4199] __arm64_sys_ioctl+0xe4/0x1c8 [ 40.668332][ T4199] invoke_syscall+0x98/0x2b8 [ 40.669353][ T4199] el0_svc_common+0x138/0x258 [ 40.670357][ T4199] do_el0_svc+0x58/0x14c [ 40.671240][ T4199] el0_svc+0x7c/0x1f0 [ 40.672022][ T4199] el0t_64_sync_handler+0x84/0xe4 [ 40.673112][ T4199] el0t_64_sync+0x1a0/0x1a4 [ 40.674342][ T4199] ------------[ cut here ]------------ [ 40.675792][ T4199] WARNING: CPU: 0 PID: 4199 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 40.678006][ T4199] Modules linked in: [ 40.678927][ T4199] CPU: 0 PID: 4199 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 40.681062][ T4199] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 40.683354][ T4199] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 40.684939][ T4199] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 40.686331][ T4199] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 40.687781][ T4199] sp : ffff80001da47060 [ 40.688640][ T4199] x29: ffff80001da471c0 x28: ffff0000d267be00 x27: 0000000000000000 [ 40.690369][ T4199] x26: dfff800000000000 x25: ffff0000dc7fbbb0 x24: ffff0000df8b1d70 [ 40.692108][ T4199] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 40.693865][ T4199] x20: 1fffe0001b8ff781 x19: ffff0000dc7fbc08 x18: 0000000000000001 [ 40.695594][ T4199] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 40.697419][ T4199] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 40.699187][ T4199] x11: ff8080000832d950 x10: 0000000000000000 x9 : 477ecb59013b3c00 [ 40.700922][ T4199] x8 : 477ecb59013b3c00 x7 : 0000000000000001 x6 : 0000000000000001 [ 40.702641][ T4199] x5 : ffff80001da467d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 40.704450][ T4199] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 40.706174][ T4199] Call trace: [ 40.706845][ T4199] btrfs_replace_file_extents+0xe1c/0x1388 [ 40.708140][ T4199] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 40.709548][ T4199] btrfs_prealloc_file_range+0x60/0x7c [ 40.710756][ T4199] btrfs_fallocate+0x166c/0x1954 [ 40.711837][ T4199] vfs_fallocate+0x478/0x5b4 [ 40.712840][ T4199] ioctl_preallocate+0x2a0/0x34c [ 40.713892][ T4199] do_vfs_ioctl+0x1d00/0x2a38 [ 40.714850][ T4199] __arm64_sys_ioctl+0xe4/0x1c8 [ 40.715874][ T4199] invoke_syscall+0x98/0x2b8 [ 40.716905][ T4199] el0_svc_common+0x138/0x258 [ 40.717933][ T4199] do_el0_svc+0x58/0x14c [ 40.718920][ T4199] el0_svc+0x7c/0x1f0 [ 40.719735][ T4199] el0t_64_sync_handler+0x84/0xe4 [ 40.720866][ T4199] el0t_64_sync+0x1a0/0x1a4 [ 40.721776][ T4199] irq event stamp: 71792 [ 40.722766][ T4199] hardirqs last enabled at (71791): [] __up_console_sem+0xb4/0x100 [ 40.724933][ T4199] hardirqs last disabled at (71792): [] el1_dbg+0x24/0x80 [ 40.726839][ T4199] softirqs last enabled at (71772): [] __do_softirq+0xb5c/0xe20 [ 40.728817][ T4199] softirqs last disabled at (71757): [] __irq_exit_rcu+0x28c/0x534 [ 40.730882][ T4199] ---[ end trace f0df0365feee4a50 ]--- [ 40.732391][ T4199] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 40.734473][ T4199] BTRFS info (device loop0): forced readonly executing program [ 41.028794][ T4219] loop0: detected capacity change from 0 to 32768 [ 41.032790][ T4219] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4219) [ 41.037252][ T4219] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 41.039373][ T4219] BTRFS info (device loop0): using free space tree [ 41.040710][ T4219] BTRFS info (device loop0): has skinny extents [ 41.054720][ T4219] BTRFS info (device loop0): enabling ssd optimizations [ 41.062664][ T4219] FAULT_INJECTION: forcing a failure. [ 41.062664][ T4219] name failslab, interval 1, probability 0, space 0, times 0 [ 41.065995][ T4219] CPU: 1 PID: 4219 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 41.068288][ T4219] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 41.070571][ T4219] Call trace: [ 41.071236][ T4219] dump_backtrace+0x0/0x530 [ 41.072169][ T4219] show_stack+0x2c/0x3c [ 41.073129][ T4219] dump_stack_lvl+0x108/0x170 [ 41.074030][ T4219] dump_stack+0x1c/0x58 [ 41.074940][ T4219] should_fail+0x400/0x5cc [ 41.075958][ T4219] __should_failslab+0xbc/0x110 [ 41.077009][ T4219] should_failslab+0x10/0x28 [ 41.077932][ T4219] slab_pre_alloc_hook+0x64/0xe8 [ 41.079098][ T4219] kmem_cache_alloc+0x98/0x45c [ 41.080185][ T4219] alloc_extent_map+0x28/0x128 [ 41.081231][ T4219] btrfs_drop_extent_cache+0x19c/0xd9c [ 41.082493][ T4219] btrfs_drop_extents+0x2ec/0x2b80 [ 41.083649][ T4219] btrfs_replace_file_extents+0x3a4/0x1388 [ 41.084999][ T4219] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 41.086300][ T4219] btrfs_prealloc_file_range+0x60/0x7c [ 41.087482][ T4219] btrfs_fallocate+0x166c/0x1954 [ 41.088582][ T4219] vfs_fallocate+0x478/0x5b4 [ 41.089733][ T4219] ioctl_preallocate+0x2a0/0x34c [ 41.090868][ T4219] do_vfs_ioctl+0x1d00/0x2a38 [ 41.091919][ T4219] __arm64_sys_ioctl+0xe4/0x1c8 [ 41.093009][ T4219] invoke_syscall+0x98/0x2b8 [ 41.093980][ T4219] el0_svc_common+0x138/0x258 [ 41.095005][ T4219] do_el0_svc+0x58/0x14c [ 41.095944][ T4219] el0_svc+0x7c/0x1f0 [ 41.096807][ T4219] el0t_64_sync_handler+0x84/0xe4 [ 41.097992][ T4219] el0t_64_sync+0x1a0/0x1a4 executing program [ 41.328949][ T4239] loop0: detected capacity change from 0 to 32768 [ 41.332018][ T4239] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4239) [ 41.336456][ T4239] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 41.338537][ T4239] BTRFS info (device loop0): using free space tree [ 41.340014][ T4239] BTRFS info (device loop0): has skinny extents [ 41.353110][ T4239] BTRFS info (device loop0): enabling ssd optimizations [ 41.358962][ T4239] FAULT_INJECTION: forcing a failure. [ 41.358962][ T4239] name failslab, interval 1, probability 0, space 0, times 0 [ 41.361905][ T4239] CPU: 1 PID: 4239 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 41.364124][ T4239] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 41.366299][ T4239] Call trace: [ 41.367014][ T4239] dump_backtrace+0x0/0x530 [ 41.367985][ T4239] show_stack+0x2c/0x3c [ 41.368921][ T4239] dump_stack_lvl+0x108/0x170 [ 41.369979][ T4239] dump_stack+0x1c/0x58 [ 41.370898][ T4239] should_fail+0x400/0x5cc [ 41.371793][ T4239] __should_failslab+0xbc/0x110 [ 41.372877][ T4239] should_failslab+0x10/0x28 [ 41.373951][ T4239] slab_pre_alloc_hook+0x64/0xe8 [ 41.375020][ T4239] kmem_cache_alloc+0x98/0x45c [ 41.376061][ T4239] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 41.377310][ T4239] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 41.378687][ T4239] btrfs_insert_replace_extent+0x924/0xc04 [ 41.379952][ T4239] btrfs_replace_file_extents+0xb3c/0x1388 [ 41.381194][ T4239] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 41.382357][ T4239] btrfs_prealloc_file_range+0x60/0x7c [ 41.383516][ T4239] btrfs_fallocate+0x166c/0x1954 [ 41.384598][ T4239] vfs_fallocate+0x478/0x5b4 [ 41.385742][ T4239] ioctl_preallocate+0x2a0/0x34c [ 41.386891][ T4239] do_vfs_ioctl+0x1d00/0x2a38 [ 41.387994][ T4239] __arm64_sys_ioctl+0xe4/0x1c8 [ 41.389087][ T4239] invoke_syscall+0x98/0x2b8 [ 41.390075][ T4239] el0_svc_common+0x138/0x258 [ 41.391096][ T4239] do_el0_svc+0x58/0x14c [ 41.392001][ T4239] el0_svc+0x7c/0x1f0 [ 41.392847][ T4239] el0t_64_sync_handler+0x84/0xe4 [ 41.393910][ T4239] el0t_64_sync+0x1a0/0x1a4 [ 41.395266][ T4239] ------------[ cut here ]------------ [ 41.396742][ T4239] WARNING: CPU: 1 PID: 4239 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 41.398900][ T4239] Modules linked in: [ 41.399739][ T4239] CPU: 1 PID: 4239 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 41.401820][ T4239] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 41.403902][ T4239] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 41.405548][ T4239] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 41.406911][ T4239] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 41.408280][ T4239] sp : ffff80001dd07060 [ 41.409189][ T4239] x29: ffff80001dd071c0 x28: ffff0000d1a18e00 x27: 0000000000000000 [ 41.410934][ T4239] x26: dfff800000000000 x25: ffff0000df80af20 x24: ffff0000df93c4b0 [ 41.412673][ T4239] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 41.414458][ T4239] x20: 1fffe0001bf015ef x19: ffff0000df80af78 x18: 0000000000000001 [ 41.416306][ T4239] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 41.418080][ T4239] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 41.419724][ T4239] x11: ff8080000832d950 x10: 0000000000000000 x9 : aa83d5a59798a500 [ 41.421505][ T4239] x8 : aa83d5a59798a500 x7 : 0000000000000001 x6 : 0000000000000001 [ 41.423222][ T4239] x5 : ffff80001dd067d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 41.424965][ T4239] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 41.426663][ T4239] Call trace: [ 41.427340][ T4239] btrfs_replace_file_extents+0xe1c/0x1388 [ 41.428561][ T4239] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 41.429781][ T4239] btrfs_prealloc_file_range+0x60/0x7c [ 41.430946][ T4239] btrfs_fallocate+0x166c/0x1954 [ 41.431959][ T4239] vfs_fallocate+0x478/0x5b4 [ 41.432895][ T4239] ioctl_preallocate+0x2a0/0x34c [ 41.433979][ T4239] do_vfs_ioctl+0x1d00/0x2a38 [ 41.435055][ T4239] __arm64_sys_ioctl+0xe4/0x1c8 [ 41.436061][ T4239] invoke_syscall+0x98/0x2b8 [ 41.437094][ T4239] el0_svc_common+0x138/0x258 [ 41.438135][ T4239] do_el0_svc+0x58/0x14c [ 41.439146][ T4239] el0_svc+0x7c/0x1f0 [ 41.439980][ T4239] el0t_64_sync_handler+0x84/0xe4 [ 41.441007][ T4239] el0t_64_sync+0x1a0/0x1a4 [ 41.442025][ T4239] irq event stamp: 73152 [ 41.443013][ T4239] hardirqs last enabled at (73151): [] __up_console_sem+0xb4/0x100 [ 41.444991][ T4239] hardirqs last disabled at (73152): [] el1_dbg+0x24/0x80 [ 41.446824][ T4239] softirqs last enabled at (73128): [] __do_softirq+0xb5c/0xe20 [ 41.448842][ T4239] softirqs last disabled at (73103): [] __irq_exit_rcu+0x28c/0x534 [ 41.450800][ T4239] ---[ end trace f0df0365feee4a51 ]--- [ 41.452447][ T4239] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 41.454335][ T4239] BTRFS info (device loop0): forced readonly executing program [ 41.733293][ T4259] loop0: detected capacity change from 0 to 32768 [ 41.736486][ T4259] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4259) [ 41.741314][ T4259] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 41.743283][ T4259] BTRFS info (device loop0): using free space tree [ 41.744680][ T4259] BTRFS info (device loop0): has skinny extents [ 41.758560][ T4259] BTRFS info (device loop0): enabling ssd optimizations [ 41.766727][ T4259] FAULT_INJECTION: forcing a failure. [ 41.766727][ T4259] name failslab, interval 1, probability 0, space 0, times 0 [ 41.770328][ T4259] CPU: 1 PID: 4259 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 41.772370][ T4259] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 41.774566][ T4259] Call trace: [ 41.775258][ T4259] dump_backtrace+0x0/0x530 [ 41.776207][ T4259] show_stack+0x2c/0x3c [ 41.777147][ T4259] dump_stack_lvl+0x108/0x170 [ 41.778193][ T4259] dump_stack+0x1c/0x58 [ 41.779125][ T4259] should_fail+0x400/0x5cc [ 41.780086][ T4259] __should_failslab+0xbc/0x110 [ 41.781137][ T4259] should_failslab+0x10/0x28 [ 41.782252][ T4259] slab_pre_alloc_hook+0x64/0xe8 [ 41.783283][ T4259] kmem_cache_alloc+0x98/0x45c [ 41.784393][ T4259] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 41.785608][ T4259] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 41.786973][ T4259] btrfs_insert_replace_extent+0x924/0xc04 [ 41.788259][ T4259] btrfs_replace_file_extents+0xb3c/0x1388 [ 41.789539][ T4259] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 41.790878][ T4259] btrfs_prealloc_file_range+0x60/0x7c [ 41.792096][ T4259] btrfs_fallocate+0x166c/0x1954 [ 41.793248][ T4259] vfs_fallocate+0x478/0x5b4 [ 41.794252][ T4259] ioctl_preallocate+0x2a0/0x34c [ 41.795374][ T4259] do_vfs_ioctl+0x1d00/0x2a38 [ 41.796530][ T4259] __arm64_sys_ioctl+0xe4/0x1c8 [ 41.797598][ T4259] invoke_syscall+0x98/0x2b8 [ 41.798607][ T4259] el0_svc_common+0x138/0x258 [ 41.799509][ T4259] do_el0_svc+0x58/0x14c [ 41.800462][ T4259] el0_svc+0x7c/0x1f0 [ 41.801372][ T4259] el0t_64_sync_handler+0x84/0xe4 [ 41.802487][ T4259] el0t_64_sync+0x1a0/0x1a4 [ 41.804645][ T4259] ------------[ cut here ]------------ [ 41.806093][ T4259] WARNING: CPU: 1 PID: 4259 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 41.808218][ T4259] Modules linked in: [ 41.809030][ T4259] CPU: 1 PID: 4259 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 41.811338][ T4259] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 41.813462][ T4259] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 41.815337][ T4259] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 41.816640][ T4259] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 41.817938][ T4259] sp : ffff80001dd07060 [ 41.818833][ T4259] x29: ffff80001dd071c0 x28: ffff0000d26bcb00 x27: 0000000000000000 [ 41.820506][ T4259] x26: dfff800000000000 x25: ffff0000df8080b0 x24: ffff0000df93d850 [ 41.822263][ T4259] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 41.824010][ T4259] x20: 1fffe0001bf01021 x19: ffff0000df808108 x18: 0000000000000001 [ 41.825762][ T4259] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 41.827450][ T4259] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 41.829200][ T4259] x11: ff8080000832d950 x10: 0000000000000000 x9 : 5e4e7e60cf267e00 [ 41.830968][ T4259] x8 : 5e4e7e60cf267e00 x7 : 0000000000000001 x6 : 0000000000000001 [ 41.832734][ T4259] x5 : ffff80001dd067d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 41.834423][ T4259] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 41.836148][ T4259] Call trace: [ 41.836880][ T4259] btrfs_replace_file_extents+0xe1c/0x1388 [ 41.838205][ T4259] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 41.839499][ T4259] btrfs_prealloc_file_range+0x60/0x7c [ 41.840736][ T4259] btrfs_fallocate+0x166c/0x1954 [ 41.841762][ T4259] vfs_fallocate+0x478/0x5b4 [ 41.842792][ T4259] ioctl_preallocate+0x2a0/0x34c [ 41.843880][ T4259] do_vfs_ioctl+0x1d00/0x2a38 [ 41.844948][ T4259] __arm64_sys_ioctl+0xe4/0x1c8 [ 41.845963][ T4259] invoke_syscall+0x98/0x2b8 [ 41.846944][ T4259] el0_svc_common+0x138/0x258 [ 41.847931][ T4259] do_el0_svc+0x58/0x14c [ 41.848856][ T4259] el0_svc+0x7c/0x1f0 [ 41.849668][ T4259] el0t_64_sync_handler+0x84/0xe4 [ 41.850735][ T4259] el0t_64_sync+0x1a0/0x1a4 [ 41.851763][ T4259] irq event stamp: 71318 [ 41.852637][ T4259] hardirqs last enabled at (71317): [] __up_console_sem+0xb4/0x100 [ 41.854668][ T4259] hardirqs last disabled at (71318): [] el1_dbg+0x24/0x80 [ 41.856550][ T4259] softirqs last enabled at (71294): [] __do_softirq+0xb5c/0xe20 [ 41.858539][ T4259] softirqs last disabled at (71273): [] __irq_exit_rcu+0x28c/0x534 [ 41.860587][ T4259] ---[ end trace f0df0365feee4a52 ]--- [ 41.862032][ T4259] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 41.864310][ T4259] BTRFS info (device loop0): forced readonly executing program [ 42.136629][ T4279] loop0: detected capacity change from 0 to 32768 [ 42.141292][ T4279] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4279) [ 42.145930][ T4279] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 42.147872][ T4279] BTRFS info (device loop0): using free space tree [ 42.149345][ T4279] BTRFS info (device loop0): has skinny extents [ 42.162697][ T4279] BTRFS info (device loop0): enabling ssd optimizations [ 42.168937][ T4279] FAULT_INJECTION: forcing a failure. [ 42.168937][ T4279] name failslab, interval 1, probability 0, space 0, times 0 [ 42.171772][ T4279] CPU: 1 PID: 4279 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 42.173846][ T4279] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 42.176003][ T4279] Call trace: [ 42.176826][ T4279] dump_backtrace+0x0/0x530 [ 42.177780][ T4279] show_stack+0x2c/0x3c [ 42.178652][ T4279] dump_stack_lvl+0x108/0x170 [ 42.179679][ T4279] dump_stack+0x1c/0x58 [ 42.180528][ T4279] should_fail+0x400/0x5cc [ 42.181490][ T4279] __should_failslab+0xbc/0x110 [ 42.182570][ T4279] should_failslab+0x10/0x28 [ 42.183573][ T4279] slab_pre_alloc_hook+0x64/0xe8 [ 42.184719][ T4279] kmem_cache_alloc+0x98/0x45c [ 42.185753][ T4279] alloc_extent_map+0x28/0x128 [ 42.186822][ T4279] btrfs_drop_extent_cache+0x19c/0xd9c [ 42.187990][ T4279] btrfs_drop_extents+0x2ec/0x2b80 [ 42.189101][ T4279] btrfs_replace_file_extents+0x3a4/0x1388 [ 42.190355][ T4279] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 42.191665][ T4279] btrfs_prealloc_file_range+0x60/0x7c [ 42.192861][ T4279] btrfs_fallocate+0x166c/0x1954 [ 42.193976][ T4279] vfs_fallocate+0x478/0x5b4 [ 42.194966][ T4279] ioctl_preallocate+0x2a0/0x34c [ 42.196174][ T4279] do_vfs_ioctl+0x1d00/0x2a38 [ 42.197283][ T4279] __arm64_sys_ioctl+0xe4/0x1c8 [ 42.198308][ T4279] invoke_syscall+0x98/0x2b8 [ 42.199452][ T4279] el0_svc_common+0x138/0x258 [ 42.200518][ T4279] do_el0_svc+0x58/0x14c [ 42.201425][ T4279] el0_svc+0x7c/0x1f0 [ 42.202354][ T4279] el0t_64_sync_handler+0x84/0xe4 [ 42.203403][ T4279] el0t_64_sync+0x1a0/0x1a4 executing program [ 42.442963][ T4299] loop0: detected capacity change from 0 to 32768 [ 42.445989][ T4299] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4299) [ 42.451632][ T4299] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 42.453650][ T4299] BTRFS info (device loop0): using free space tree [ 42.455086][ T4299] BTRFS info (device loop0): has skinny extents [ 42.468230][ T4299] BTRFS info (device loop0): enabling ssd optimizations [ 42.473740][ T4299] FAULT_INJECTION: forcing a failure. [ 42.473740][ T4299] name failslab, interval 1, probability 0, space 0, times 0 [ 42.476570][ T4299] CPU: 0 PID: 4299 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 42.478837][ T4299] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 42.481078][ T4299] Call trace: [ 42.481788][ T4299] dump_backtrace+0x0/0x530 [ 42.482847][ T4299] show_stack+0x2c/0x3c [ 42.483811][ T4299] dump_stack_lvl+0x108/0x170 [ 42.484846][ T4299] dump_stack+0x1c/0x58 [ 42.485730][ T4299] should_fail+0x400/0x5cc [ 42.486688][ T4299] __should_failslab+0xbc/0x110 [ 42.487764][ T4299] should_failslab+0x10/0x28 [ 42.488755][ T4299] slab_pre_alloc_hook+0x64/0xe8 [ 42.489826][ T4299] kmem_cache_alloc+0x98/0x45c [ 42.490826][ T4299] btrfs_add_delayed_data_ref+0x420/0xe70 [ 42.492125][ T4299] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 42.493491][ T4299] btrfs_insert_replace_extent+0x924/0xc04 [ 42.494836][ T4299] btrfs_replace_file_extents+0xb3c/0x1388 [ 42.496143][ T4299] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 42.497515][ T4299] btrfs_prealloc_file_range+0x60/0x7c [ 42.498744][ T4299] btrfs_fallocate+0x166c/0x1954 [ 42.499921][ T4299] vfs_fallocate+0x478/0x5b4 [ 42.500930][ T4299] ioctl_preallocate+0x2a0/0x34c [ 42.501925][ T4299] do_vfs_ioctl+0x1d00/0x2a38 [ 42.502925][ T4299] __arm64_sys_ioctl+0xe4/0x1c8 [ 42.503953][ T4299] invoke_syscall+0x98/0x2b8 [ 42.504920][ T4299] el0_svc_common+0x138/0x258 [ 42.505973][ T4299] do_el0_svc+0x58/0x14c [ 42.506983][ T4299] el0_svc+0x7c/0x1f0 [ 42.507982][ T4299] el0t_64_sync_handler+0x84/0xe4 [ 42.509057][ T4299] el0t_64_sync+0x1a0/0x1a4 [ 42.512209][ T4299] ------------[ cut here ]------------ [ 42.513739][ T4299] WARNING: CPU: 0 PID: 4299 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 42.515963][ T4299] Modules linked in: [ 42.516828][ T4299] CPU: 0 PID: 4299 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 42.519115][ T4299] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 42.521349][ T4299] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 42.523137][ T4299] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 42.524443][ T4299] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 42.525849][ T4299] sp : ffff80001e007060 [ 42.526728][ T4299] x29: ffff80001e0071c0 x28: ffff0000c7902600 x27: 0000000000000000 [ 42.528484][ T4299] x26: dfff800000000000 x25: ffff0000dc7fbe70 x24: ffff0000df8b5850 [ 42.530242][ T4299] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 42.532078][ T4299] x20: 1fffe0001b8ff7d9 x19: ffff0000dc7fbec8 x18: 0000000000000001 [ 42.533908][ T4299] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 42.535744][ T4299] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 42.537598][ T4299] x11: ff8080000832d950 x10: 0000000000000000 x9 : 5b0155e6ee83d600 [ 42.539371][ T4299] x8 : 5b0155e6ee83d600 x7 : 0000000000000001 x6 : 0000000000000001 [ 42.541076][ T4299] x5 : ffff80001e0067d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 42.542700][ T4299] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 42.544505][ T4299] Call trace: [ 42.545238][ T4299] btrfs_replace_file_extents+0xe1c/0x1388 [ 42.546557][ T4299] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 42.547811][ T4299] btrfs_prealloc_file_range+0x60/0x7c [ 42.548909][ T4299] btrfs_fallocate+0x166c/0x1954 [ 42.549992][ T4299] vfs_fallocate+0x478/0x5b4 [ 42.551021][ T4299] ioctl_preallocate+0x2a0/0x34c [ 42.552099][ T4299] do_vfs_ioctl+0x1d00/0x2a38 [ 42.553174][ T4299] __arm64_sys_ioctl+0xe4/0x1c8 [ 42.554205][ T4299] invoke_syscall+0x98/0x2b8 [ 42.555259][ T4299] el0_svc_common+0x138/0x258 [ 42.556296][ T4299] do_el0_svc+0x58/0x14c [ 42.557185][ T4299] el0_svc+0x7c/0x1f0 [ 42.558079][ T4299] el0t_64_sync_handler+0x84/0xe4 [ 42.559123][ T4299] el0t_64_sync+0x1a0/0x1a4 [ 42.560054][ T4299] irq event stamp: 73250 [ 42.560987][ T4299] hardirqs last enabled at (73249): [] __up_console_sem+0xb4/0x100 [ 42.563074][ T4299] hardirqs last disabled at (73250): [] el1_dbg+0x24/0x80 [ 42.564941][ T4299] softirqs last enabled at (73220): [] __do_softirq+0xb5c/0xe20 [ 42.566985][ T4299] softirqs last disabled at (73195): [] __irq_exit_rcu+0x28c/0x534 [ 42.569022][ T4299] ---[ end trace f0df0365feee4a53 ]--- [ 42.574211][ T4299] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 42.576388][ T4299] BTRFS info (device loop0): forced readonly executing program [ 42.868633][ T4319] loop0: detected capacity change from 0 to 32768 [ 42.871838][ T4319] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4319) [ 42.876213][ T4319] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 42.878305][ T4319] BTRFS info (device loop0): using free space tree [ 42.879692][ T4319] BTRFS info (device loop0): has skinny extents [ 42.893143][ T4319] BTRFS info (device loop0): enabling ssd optimizations [ 42.898449][ T4319] FAULT_INJECTION: forcing a failure. [ 42.898449][ T4319] name failslab, interval 1, probability 0, space 0, times 0 [ 42.901138][ T4319] CPU: 1 PID: 4319 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 42.903300][ T4319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 42.905369][ T4319] Call trace: [ 42.906053][ T4319] dump_backtrace+0x0/0x530 [ 42.906998][ T4319] show_stack+0x2c/0x3c [ 42.907937][ T4319] dump_stack_lvl+0x108/0x170 [ 42.908904][ T4319] dump_stack+0x1c/0x58 [ 42.909910][ T4319] should_fail+0x400/0x5cc [ 42.910917][ T4319] __should_failslab+0xbc/0x110 [ 42.911963][ T4319] should_failslab+0x10/0x28 [ 42.913006][ T4319] slab_pre_alloc_hook+0x64/0xe8 [ 42.914116][ T4319] kmem_cache_alloc+0x98/0x45c [ 42.915095][ T4319] btrfs_add_delayed_data_ref+0x420/0xe70 [ 42.916332][ T4319] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 42.917683][ T4319] btrfs_insert_replace_extent+0x924/0xc04 [ 42.918892][ T4319] btrfs_replace_file_extents+0xb3c/0x1388 [ 42.920213][ T4319] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 42.921578][ T4319] btrfs_prealloc_file_range+0x60/0x7c [ 42.922744][ T4319] btrfs_fallocate+0x166c/0x1954 [ 42.923759][ T4319] vfs_fallocate+0x478/0x5b4 [ 42.924771][ T4319] ioctl_preallocate+0x2a0/0x34c [ 42.925832][ T4319] do_vfs_ioctl+0x1d00/0x2a38 [ 42.926886][ T4319] __arm64_sys_ioctl+0xe4/0x1c8 [ 42.927946][ T4319] invoke_syscall+0x98/0x2b8 [ 42.928964][ T4319] el0_svc_common+0x138/0x258 [ 42.930064][ T4319] do_el0_svc+0x58/0x14c [ 42.931010][ T4319] el0_svc+0x7c/0x1f0 [ 42.931848][ T4319] el0t_64_sync_handler+0x84/0xe4 [ 42.932909][ T4319] el0t_64_sync+0x1a0/0x1a4 [ 42.934100][ T4319] ------------[ cut here ]------------ [ 42.935501][ T4319] WARNING: CPU: 1 PID: 4319 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 42.937689][ T4319] Modules linked in: [ 42.938556][ T4319] CPU: 1 PID: 4319 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 42.940832][ T4319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 42.943059][ T4319] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 42.944661][ T4319] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 42.946015][ T4319] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 42.947320][ T4319] sp : ffff80001e117060 [ 42.948178][ T4319] x29: ffff80001e1171c0 x28: ffff0000c8e00900 x27: 0000000000000000 [ 42.949907][ T4319] x26: dfff800000000000 x25: ffff0000df8084d0 x24: ffff0000df9889d0 [ 42.951694][ T4319] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 42.953438][ T4319] x20: 1fffe0001bf010a5 x19: ffff0000df808528 x18: 0000000000000001 [ 42.955153][ T4319] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 42.956900][ T4319] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 42.958714][ T4319] x11: ff8080000832d950 x10: 0000000000000000 x9 : 439258a94cee9e00 [ 42.960442][ T4319] x8 : 439258a94cee9e00 x7 : 0000000000000001 x6 : 0000000000000001 [ 42.962131][ T4319] x5 : ffff80001e1167d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 42.963931][ T4319] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 42.965683][ T4319] Call trace: [ 42.966395][ T4319] btrfs_replace_file_extents+0xe1c/0x1388 [ 42.967638][ T4319] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 42.968864][ T4319] btrfs_prealloc_file_range+0x60/0x7c [ 42.970074][ T4319] btrfs_fallocate+0x166c/0x1954 [ 42.971089][ T4319] vfs_fallocate+0x478/0x5b4 [ 42.972123][ T4319] ioctl_preallocate+0x2a0/0x34c [ 42.973223][ T4319] do_vfs_ioctl+0x1d00/0x2a38 [ 42.974218][ T4319] __arm64_sys_ioctl+0xe4/0x1c8 [ 42.975296][ T4319] invoke_syscall+0x98/0x2b8 [ 42.976282][ T4319] el0_svc_common+0x138/0x258 [ 42.977260][ T4319] do_el0_svc+0x58/0x14c [ 42.978168][ T4319] el0_svc+0x7c/0x1f0 [ 42.979121][ T4319] el0t_64_sync_handler+0x84/0xe4 [ 42.980165][ T4319] el0t_64_sync+0x1a0/0x1a4 [ 42.981119][ T4319] irq event stamp: 71150 [ 42.982050][ T4319] hardirqs last enabled at (71149): [] __up_console_sem+0xb4/0x100 [ 42.984086][ T4319] hardirqs last disabled at (71150): [] el1_dbg+0x24/0x80 [ 42.985986][ T4319] softirqs last enabled at (71126): [] __do_softirq+0xb5c/0xe20 [ 42.988051][ T4319] softirqs last disabled at (71113): [] __irq_exit_rcu+0x28c/0x534 [ 42.990123][ T4319] ---[ end trace f0df0365feee4a54 ]--- [ 42.991530][ T4319] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 42.993703][ T4319] BTRFS info (device loop0): forced readonly executing program [ 43.297968][ T4339] loop0: detected capacity change from 0 to 32768 [ 43.301084][ T4339] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4339) [ 43.305796][ T4339] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 43.307790][ T4339] BTRFS info (device loop0): using free space tree [ 43.309206][ T4339] BTRFS info (device loop0): has skinny extents [ 43.322299][ T4339] BTRFS info (device loop0): enabling ssd optimizations [ 43.327906][ T4339] FAULT_INJECTION: forcing a failure. [ 43.327906][ T4339] name failslab, interval 1, probability 0, space 0, times 0 [ 43.330643][ T4339] CPU: 0 PID: 4339 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 43.332719][ T4339] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 43.334988][ T4339] Call trace: [ 43.335662][ T4339] dump_backtrace+0x0/0x530 [ 43.336550][ T4339] show_stack+0x2c/0x3c [ 43.337360][ T4339] dump_stack_lvl+0x108/0x170 [ 43.338409][ T4339] dump_stack+0x1c/0x58 [ 43.339334][ T4339] should_fail+0x400/0x5cc [ 43.340288][ T4339] __should_failslab+0xbc/0x110 [ 43.341264][ T4339] should_failslab+0x10/0x28 [ 43.342247][ T4339] slab_pre_alloc_hook+0x64/0xe8 [ 43.343287][ T4339] kmem_cache_alloc+0x98/0x45c [ 43.344329][ T4339] alloc_extent_map+0x28/0x128 [ 43.345416][ T4339] btrfs_drop_extent_cache+0x18c/0xd9c [ 43.346585][ T4339] btrfs_drop_extents+0x2ec/0x2b80 [ 43.347633][ T4339] btrfs_replace_file_extents+0x3a4/0x1388 [ 43.348857][ T4339] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 43.350061][ T4339] btrfs_prealloc_file_range+0x60/0x7c [ 43.351221][ T4339] btrfs_fallocate+0x166c/0x1954 [ 43.352359][ T4339] vfs_fallocate+0x478/0x5b4 [ 43.353334][ T4339] ioctl_preallocate+0x2a0/0x34c [ 43.354351][ T4339] do_vfs_ioctl+0x1d00/0x2a38 [ 43.355320][ T4339] __arm64_sys_ioctl+0xe4/0x1c8 [ 43.356348][ T4339] invoke_syscall+0x98/0x2b8 [ 43.357263][ T4339] el0_svc_common+0x138/0x258 [ 43.358234][ T4339] do_el0_svc+0x58/0x14c [ 43.359128][ T4339] el0_svc+0x7c/0x1f0 [ 43.359997][ T4339] el0t_64_sync_handler+0x84/0xe4 [ 43.361056][ T4339] el0t_64_sync+0x1a0/0x1a4 executing program [ 43.586311][ T4359] loop0: detected capacity change from 0 to 32768 [ 43.589352][ T4359] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4359) [ 43.593752][ T4359] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 43.595632][ T4359] BTRFS info (device loop0): using free space tree [ 43.597016][ T4359] BTRFS info (device loop0): has skinny extents [ 43.609853][ T4359] BTRFS info (device loop0): enabling ssd optimizations [ 43.614771][ T4359] FAULT_INJECTION: forcing a failure. [ 43.614771][ T4359] name failslab, interval 1, probability 0, space 0, times 0 [ 43.618052][ T4359] CPU: 0 PID: 4359 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 43.620195][ T4359] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 43.622280][ T4359] Call trace: [ 43.622962][ T4359] dump_backtrace+0x0/0x530 [ 43.623931][ T4359] show_stack+0x2c/0x3c [ 43.624823][ T4359] dump_stack_lvl+0x108/0x170 [ 43.625760][ T4359] dump_stack+0x1c/0x58 [ 43.626706][ T4359] should_fail+0x400/0x5cc [ 43.627630][ T4359] __should_failslab+0xbc/0x110 [ 43.628678][ T4359] should_failslab+0x10/0x28 [ 43.629638][ T4359] slab_pre_alloc_hook+0x64/0xe8 [ 43.630688][ T4359] kmem_cache_alloc+0x98/0x45c [ 43.631723][ T4359] alloc_extent_map+0x28/0x128 [ 43.632777][ T4359] btrfs_drop_extent_cache+0x19c/0xd9c [ 43.633929][ T4359] btrfs_drop_extents+0x2ec/0x2b80 [ 43.634939][ T4359] btrfs_replace_file_extents+0x3a4/0x1388 [ 43.636314][ T4359] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 43.637561][ T4359] btrfs_prealloc_file_range+0x60/0x7c [ 43.638749][ T4359] btrfs_fallocate+0x166c/0x1954 [ 43.639820][ T4359] vfs_fallocate+0x478/0x5b4 [ 43.640759][ T4359] ioctl_preallocate+0x2a0/0x34c [ 43.641810][ T4359] do_vfs_ioctl+0x1d00/0x2a38 [ 43.642748][ T4359] __arm64_sys_ioctl+0xe4/0x1c8 [ 43.643827][ T4359] invoke_syscall+0x98/0x2b8 [ 43.644873][ T4359] el0_svc_common+0x138/0x258 [ 43.645842][ T4359] do_el0_svc+0x58/0x14c [ 43.646852][ T4359] el0_svc+0x7c/0x1f0 [ 43.647743][ T4359] el0t_64_sync_handler+0x84/0xe4 [ 43.648843][ T4359] el0t_64_sync+0x1a0/0x1a4 executing program [ 43.879014][ T4379] loop0: detected capacity change from 0 to 32768 [ 43.882097][ T4379] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4379) [ 43.886448][ T4379] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 43.888872][ T4379] BTRFS info (device loop0): using free space tree [ 43.890238][ T4379] BTRFS info (device loop0): has skinny extents [ 43.902921][ T4379] BTRFS info (device loop0): enabling ssd optimizations [ 43.907996][ T4379] FAULT_INJECTION: forcing a failure. [ 43.907996][ T4379] name failslab, interval 1, probability 0, space 0, times 0 [ 43.910605][ T4379] CPU: 0 PID: 4379 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 43.912707][ T4379] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 43.914899][ T4379] Call trace: [ 43.915635][ T4379] dump_backtrace+0x0/0x530 [ 43.916628][ T4379] show_stack+0x2c/0x3c [ 43.917459][ T4379] dump_stack_lvl+0x108/0x170 [ 43.918494][ T4379] dump_stack+0x1c/0x58 [ 43.919364][ T4379] should_fail+0x400/0x5cc [ 43.920266][ T4379] __should_failslab+0xbc/0x110 [ 43.921404][ T4379] should_failslab+0x10/0x28 [ 43.922370][ T4379] slab_pre_alloc_hook+0x64/0xe8 [ 43.923472][ T4379] kmem_cache_alloc+0x98/0x45c [ 43.924527][ T4379] alloc_extent_map+0x28/0x128 [ 43.925574][ T4379] btrfs_drop_extent_cache+0x19c/0xd9c [ 43.926672][ T4379] btrfs_drop_extents+0x2ec/0x2b80 [ 43.927849][ T4379] btrfs_replace_file_extents+0x3a4/0x1388 [ 43.929098][ T4379] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 43.930419][ T4379] btrfs_prealloc_file_range+0x60/0x7c [ 43.931644][ T4379] btrfs_fallocate+0x166c/0x1954 [ 43.932736][ T4379] vfs_fallocate+0x478/0x5b4 [ 43.933774][ T4379] ioctl_preallocate+0x2a0/0x34c [ 43.934818][ T4379] do_vfs_ioctl+0x1d00/0x2a38 [ 43.935878][ T4379] __arm64_sys_ioctl+0xe4/0x1c8 [ 43.936913][ T4379] invoke_syscall+0x98/0x2b8 [ 43.937951][ T4379] el0_svc_common+0x138/0x258 [ 43.938995][ T4379] do_el0_svc+0x58/0x14c [ 43.939876][ T4379] el0_svc+0x7c/0x1f0 [ 43.940782][ T4379] el0t_64_sync_handler+0x84/0xe4 [ 43.941893][ T4379] el0t_64_sync+0x1a0/0x1a4 executing program [ 44.170150][ T4399] loop0: detected capacity change from 0 to 32768 [ 44.173223][ T4399] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4399) [ 44.178322][ T4399] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 44.180193][ T4399] BTRFS info (device loop0): using free space tree [ 44.181597][ T4399] BTRFS info (device loop0): has skinny extents [ 44.195777][ T4399] BTRFS info (device loop0): enabling ssd optimizations [ 44.201100][ T4399] FAULT_INJECTION: forcing a failure. [ 44.201100][ T4399] name failslab, interval 1, probability 0, space 0, times 0 [ 44.203672][ T4399] CPU: 0 PID: 4399 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 44.205820][ T4399] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 44.207936][ T4399] Call trace: [ 44.208729][ T4399] dump_backtrace+0x0/0x530 [ 44.209724][ T4399] show_stack+0x2c/0x3c [ 44.210630][ T4399] dump_stack_lvl+0x108/0x170 [ 44.211591][ T4399] dump_stack+0x1c/0x58 [ 44.212450][ T4399] should_fail+0x400/0x5cc [ 44.213353][ T4399] __should_failslab+0xbc/0x110 [ 44.214324][ T4399] should_failslab+0x10/0x28 [ 44.215330][ T4399] slab_pre_alloc_hook+0x64/0xe8 [ 44.216383][ T4399] kmem_cache_alloc+0x98/0x45c [ 44.217507][ T4399] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 44.218738][ T4399] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 44.220023][ T4399] btrfs_insert_replace_extent+0x924/0xc04 [ 44.221227][ T4399] btrfs_replace_file_extents+0xb3c/0x1388 [ 44.222507][ T4399] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 44.223781][ T4399] btrfs_prealloc_file_range+0x60/0x7c [ 44.225000][ T4399] btrfs_fallocate+0x166c/0x1954 [ 44.226031][ T4399] vfs_fallocate+0x478/0x5b4 [ 44.226989][ T4399] ioctl_preallocate+0x2a0/0x34c [ 44.228041][ T4399] do_vfs_ioctl+0x1d00/0x2a38 [ 44.229005][ T4399] __arm64_sys_ioctl+0xe4/0x1c8 [ 44.230013][ T4399] invoke_syscall+0x98/0x2b8 [ 44.231015][ T4399] el0_svc_common+0x138/0x258 [ 44.232077][ T4399] do_el0_svc+0x58/0x14c [ 44.232934][ T4399] el0_svc+0x7c/0x1f0 [ 44.233773][ T4399] el0t_64_sync_handler+0x84/0xe4 [ 44.234822][ T4399] el0t_64_sync+0x1a0/0x1a4 [ 44.238901][ T4399] ------------[ cut here ]------------ [ 44.240239][ T4399] WARNING: CPU: 0 PID: 4399 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 44.242451][ T4399] Modules linked in: [ 44.243260][ T4399] CPU: 0 PID: 4399 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 44.245355][ T4399] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 44.247461][ T4399] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 44.249247][ T4399] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 44.250624][ T4399] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 44.251871][ T4399] sp : ffff80001da97060 [ 44.252733][ T4399] x29: ffff80001da971c0 x28: ffff0000c0bd4d00 x27: 0000000000000000 [ 44.254382][ T4399] x26: dfff800000000000 x25: ffff0000dc783840 x24: ffff0000dc5444b0 [ 44.256178][ T4399] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 44.258142][ T4399] x20: 1fffe0001b8f0713 x19: ffff0000dc783898 x18: 0000000000000001 [ 44.259805][ T4399] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 44.261471][ T4399] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 44.263171][ T4399] x11: ff8080000832d950 x10: 0000000000000000 x9 : eb7b96756f097b00 [ 44.264997][ T4399] x8 : eb7b96756f097b00 x7 : 0000000000000001 x6 : 0000000000000001 [ 44.266750][ T4399] x5 : ffff80001da967d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 44.268480][ T4399] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 44.270217][ T4399] Call trace: [ 44.270945][ T4399] btrfs_replace_file_extents+0xe1c/0x1388 [ 44.272133][ T4399] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 44.273395][ T4399] btrfs_prealloc_file_range+0x60/0x7c [ 44.274539][ T4399] btrfs_fallocate+0x166c/0x1954 [ 44.275597][ T4399] vfs_fallocate+0x478/0x5b4 [ 44.276621][ T4399] ioctl_preallocate+0x2a0/0x34c [ 44.277651][ T4399] do_vfs_ioctl+0x1d00/0x2a38 [ 44.278700][ T4399] __arm64_sys_ioctl+0xe4/0x1c8 [ 44.279783][ T4399] invoke_syscall+0x98/0x2b8 [ 44.280768][ T4399] el0_svc_common+0x138/0x258 [ 44.281828][ T4399] do_el0_svc+0x58/0x14c [ 44.282747][ T4399] el0_svc+0x7c/0x1f0 [ 44.283555][ T4399] el0t_64_sync_handler+0x84/0xe4 [ 44.284560][ T4399] el0t_64_sync+0x1a0/0x1a4 [ 44.285489][ T4399] irq event stamp: 72662 [ 44.286344][ T4399] hardirqs last enabled at (72661): [] __up_console_sem+0xb4/0x100 [ 44.288451][ T4399] hardirqs last disabled at (72662): [] el1_dbg+0x24/0x80 [ 44.290301][ T4399] softirqs last enabled at (72642): [] __do_softirq+0xb5c/0xe20 [ 44.292348][ T4399] softirqs last disabled at (72617): [] __irq_exit_rcu+0x28c/0x534 [ 44.294493][ T4399] ---[ end trace f0df0365feee4a55 ]--- [ 44.299748][ T4399] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 44.301720][ T4399] BTRFS info (device loop0): forced readonly executing program [ 44.607221][ T4419] loop0: detected capacity change from 0 to 32768 [ 44.610398][ T4419] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4419) [ 44.615997][ T4419] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 44.617962][ T4419] BTRFS info (device loop0): using free space tree [ 44.619294][ T4419] BTRFS info (device loop0): has skinny extents [ 44.632676][ T4419] BTRFS info (device loop0): enabling ssd optimizations [ 44.638760][ T4419] FAULT_INJECTION: forcing a failure. [ 44.638760][ T4419] name failslab, interval 1, probability 0, space 0, times 0 [ 44.641490][ T4419] CPU: 1 PID: 4419 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 44.643579][ T4419] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 44.645732][ T4419] Call trace: [ 44.646449][ T4419] dump_backtrace+0x0/0x530 [ 44.647429][ T4419] show_stack+0x2c/0x3c [ 44.648314][ T4419] dump_stack_lvl+0x108/0x170 [ 44.649309][ T4419] dump_stack+0x1c/0x58 [ 44.650200][ T4419] should_fail+0x400/0x5cc [ 44.651186][ T4419] __should_failslab+0xbc/0x110 [ 44.652293][ T4419] should_failslab+0x10/0x28 [ 44.653308][ T4419] slab_pre_alloc_hook+0x64/0xe8 [ 44.654364][ T4419] kmem_cache_alloc+0x98/0x45c [ 44.655397][ T4419] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 44.656654][ T4419] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 44.657956][ T4419] btrfs_insert_replace_extent+0x924/0xc04 [ 44.659252][ T4419] btrfs_replace_file_extents+0xb3c/0x1388 [ 44.660556][ T4419] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 44.661851][ T4419] btrfs_prealloc_file_range+0x60/0x7c [ 44.663082][ T4419] btrfs_fallocate+0x166c/0x1954 [ 44.664149][ T4419] vfs_fallocate+0x478/0x5b4 [ 44.665188][ T4419] ioctl_preallocate+0x2a0/0x34c [ 44.666238][ T4419] do_vfs_ioctl+0x1d00/0x2a38 [ 44.667286][ T4419] __arm64_sys_ioctl+0xe4/0x1c8 [ 44.668314][ T4419] invoke_syscall+0x98/0x2b8 [ 44.669257][ T4419] el0_svc_common+0x138/0x258 [ 44.670232][ T4419] do_el0_svc+0x58/0x14c [ 44.671079][ T4419] el0_svc+0x7c/0x1f0 [ 44.671959][ T4419] el0t_64_sync_handler+0x84/0xe4 [ 44.673063][ T4419] el0t_64_sync+0x1a0/0x1a4 [ 44.674299][ T4419] ------------[ cut here ]------------ [ 44.675772][ T4419] WARNING: CPU: 1 PID: 4419 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 44.677943][ T4419] Modules linked in: [ 44.678736][ T4419] CPU: 1 PID: 4419 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 44.680873][ T4419] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 44.683051][ T4419] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 44.684760][ T4419] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 44.686027][ T4419] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 44.687368][ T4419] sp : ffff80001e657060 [ 44.688234][ T4419] x29: ffff80001e6571c0 x28: ffff0000ccf03d00 x27: 0000000000000000 [ 44.690057][ T4419] x26: dfff800000000000 x25: ffff0000df808840 x24: ffff0000df98a740 [ 44.691729][ T4419] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 44.693519][ T4419] x20: 1fffe0001bf01113 x19: ffff0000df808898 x18: 0000000000000001 [ 44.695355][ T4419] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 44.697014][ T4419] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 44.698702][ T4419] x11: ff8080000832d950 x10: 0000000000000000 x9 : 5bbf8742beffa000 [ 44.700405][ T4419] x8 : 5bbf8742beffa000 x7 : 0000000000000001 x6 : 0000000000000001 [ 44.702187][ T4419] x5 : ffff80001e6567d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 44.703830][ T4419] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 44.705544][ T4419] Call trace: [ 44.706232][ T4419] btrfs_replace_file_extents+0xe1c/0x1388 [ 44.707458][ T4419] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 44.708726][ T4419] btrfs_prealloc_file_range+0x60/0x7c [ 44.709886][ T4419] btrfs_fallocate+0x166c/0x1954 [ 44.710904][ T4419] vfs_fallocate+0x478/0x5b4 [ 44.711842][ T4419] ioctl_preallocate+0x2a0/0x34c [ 44.712953][ T4419] do_vfs_ioctl+0x1d00/0x2a38 [ 44.714032][ T4419] __arm64_sys_ioctl+0xe4/0x1c8 [ 44.715048][ T4419] invoke_syscall+0x98/0x2b8 [ 44.716004][ T4419] el0_svc_common+0x138/0x258 [ 44.717061][ T4419] do_el0_svc+0x58/0x14c [ 44.717955][ T4419] el0_svc+0x7c/0x1f0 [ 44.718776][ T4419] el0t_64_sync_handler+0x84/0xe4 [ 44.719886][ T4419] el0t_64_sync+0x1a0/0x1a4 [ 44.720856][ T4419] irq event stamp: 71618 [ 44.721708][ T4419] hardirqs last enabled at (71617): [] __up_console_sem+0xb4/0x100 [ 44.723826][ T4419] hardirqs last disabled at (71618): [] el1_dbg+0x24/0x80 [ 44.725641][ T4419] softirqs last enabled at (71594): [] __do_softirq+0xb5c/0xe20 [ 44.727634][ T4419] softirqs last disabled at (71573): [] __irq_exit_rcu+0x28c/0x534 [ 44.729644][ T4419] ---[ end trace f0df0365feee4a56 ]--- [ 44.731138][ T4419] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 44.733347][ T4419] BTRFS info (device loop0): forced readonly executing program [ 45.058584][ T4439] loop0: detected capacity change from 0 to 32768 [ 45.061712][ T4439] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4439) [ 45.066433][ T4439] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 45.068583][ T4439] BTRFS info (device loop0): using free space tree [ 45.069991][ T4439] BTRFS info (device loop0): has skinny extents [ 45.084033][ T4439] BTRFS info (device loop0): enabling ssd optimizations [ 45.089522][ T4439] FAULT_INJECTION: forcing a failure. [ 45.089522][ T4439] name failslab, interval 1, probability 0, space 0, times 0 [ 45.092403][ T4439] CPU: 0 PID: 4439 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 45.094625][ T4439] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 45.096791][ T4439] Call trace: [ 45.097499][ T4439] dump_backtrace+0x0/0x530 [ 45.098484][ T4439] show_stack+0x2c/0x3c [ 45.099368][ T4439] dump_stack_lvl+0x108/0x170 [ 45.100345][ T4439] dump_stack+0x1c/0x58 [ 45.101258][ T4439] should_fail+0x400/0x5cc [ 45.102243][ T4439] __should_failslab+0xbc/0x110 [ 45.103337][ T4439] should_failslab+0x10/0x28 [ 45.104362][ T4439] slab_pre_alloc_hook+0x64/0xe8 [ 45.105436][ T4439] kmem_cache_alloc+0x98/0x45c [ 45.106498][ T4439] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 45.107683][ T4439] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 45.109019][ T4439] btrfs_insert_replace_extent+0x924/0xc04 [ 45.110187][ T4439] btrfs_replace_file_extents+0xb3c/0x1388 [ 45.111403][ T4439] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 45.112678][ T4439] btrfs_prealloc_file_range+0x60/0x7c [ 45.113873][ T4439] btrfs_fallocate+0x166c/0x1954 [ 45.114892][ T4439] vfs_fallocate+0x478/0x5b4 [ 45.115874][ T4439] ioctl_preallocate+0x2a0/0x34c [ 45.116944][ T4439] do_vfs_ioctl+0x1d00/0x2a38 [ 45.118021][ T4439] __arm64_sys_ioctl+0xe4/0x1c8 [ 45.119075][ T4439] invoke_syscall+0x98/0x2b8 [ 45.120041][ T4439] el0_svc_common+0x138/0x258 [ 45.121037][ T4439] do_el0_svc+0x58/0x14c [ 45.121947][ T4439] el0_svc+0x7c/0x1f0 [ 45.122941][ T4439] el0t_64_sync_handler+0x84/0xe4 [ 45.124018][ T4439] el0t_64_sync+0x1a0/0x1a4 [ 45.128111][ T4439] ------------[ cut here ]------------ [ 45.129543][ T4439] WARNING: CPU: 0 PID: 4439 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 45.131708][ T4439] Modules linked in: [ 45.132622][ T4439] CPU: 0 PID: 4439 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 45.134782][ T4439] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 45.136931][ T4439] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 45.138734][ T4439] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 45.140153][ T4439] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 45.141523][ T4439] sp : ffff80001e747060 [ 45.142430][ T4439] x29: ffff80001e7471c0 x28: ffff0000c29d6e00 x27: 0000000000000000 [ 45.144162][ T4439] x26: dfff800000000000 x25: ffff0000dc7839a0 x24: ffff0000dc546bf0 [ 45.145838][ T4439] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 45.147530][ T4439] x20: 1fffe0001b8f073f x19: ffff0000dc7839f8 x18: 0000000000000001 [ 45.149215][ T4439] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 45.150987][ T4439] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 45.152853][ T4439] x11: ff8080000832d950 x10: 0000000000000000 x9 : eeaea6be9c58ea00 [ 45.154589][ T4439] x8 : eeaea6be9c58ea00 x7 : 0000000000000001 x6 : 0000000000000001 [ 45.156332][ T4439] x5 : ffff80001e7467d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 45.157998][ T4439] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 45.159705][ T4439] Call trace: [ 45.160433][ T4439] btrfs_replace_file_extents+0xe1c/0x1388 [ 45.161676][ T4439] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 45.162956][ T4439] btrfs_prealloc_file_range+0x60/0x7c [ 45.164116][ T4439] btrfs_fallocate+0x166c/0x1954 [ 45.165292][ T4439] vfs_fallocate+0x478/0x5b4 [ 45.166292][ T4439] ioctl_preallocate+0x2a0/0x34c [ 45.167378][ T4439] do_vfs_ioctl+0x1d00/0x2a38 [ 45.168404][ T4439] __arm64_sys_ioctl+0xe4/0x1c8 [ 45.169419][ T4439] invoke_syscall+0x98/0x2b8 [ 45.170411][ T4439] el0_svc_common+0x138/0x258 [ 45.171381][ T4439] do_el0_svc+0x58/0x14c [ 45.172303][ T4439] el0_svc+0x7c/0x1f0 [ 45.173242][ T4439] el0t_64_sync_handler+0x84/0xe4 [ 45.174332][ T4439] el0t_64_sync+0x1a0/0x1a4 [ 45.175313][ T4439] irq event stamp: 71610 [ 45.176201][ T4439] hardirqs last enabled at (71609): [] __up_console_sem+0xb4/0x100 [ 45.178229][ T4439] hardirqs last disabled at (71610): [] el1_dbg+0x24/0x80 [ 45.180123][ T4439] softirqs last enabled at (71586): [] __do_softirq+0xb5c/0xe20 [ 45.182143][ T4439] softirqs last disabled at (71571): [] __irq_exit_rcu+0x28c/0x534 [ 45.184141][ T4439] ---[ end trace f0df0365feee4a57 ]--- [ 45.187561][ T4439] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 45.189738][ T4439] BTRFS info (device loop0): forced readonly executing program [ 45.486388][ T4459] loop0: detected capacity change from 0 to 32768 [ 45.489700][ T4459] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4459) [ 45.494154][ T4459] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 45.496458][ T4459] BTRFS info (device loop0): using free space tree [ 45.497927][ T4459] BTRFS info (device loop0): has skinny extents [ 45.511671][ T4459] BTRFS info (device loop0): enabling ssd optimizations [ 45.516523][ T4459] FAULT_INJECTION: forcing a failure. [ 45.516523][ T4459] name failslab, interval 1, probability 0, space 0, times 0 [ 45.519645][ T4459] CPU: 1 PID: 4459 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 45.521817][ T4459] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 45.523834][ T4459] Call trace: [ 45.524511][ T4459] dump_backtrace+0x0/0x530 [ 45.525391][ T4459] show_stack+0x2c/0x3c [ 45.526295][ T4459] dump_stack_lvl+0x108/0x170 [ 45.527208][ T4459] dump_stack+0x1c/0x58 [ 45.528114][ T4459] should_fail+0x400/0x5cc [ 45.529100][ T4459] __should_failslab+0xbc/0x110 [ 45.530171][ T4459] should_failslab+0x10/0x28 [ 45.531195][ T4459] slab_pre_alloc_hook+0x64/0xe8 [ 45.532299][ T4459] kmem_cache_alloc+0x98/0x45c [ 45.533291][ T4459] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 45.534481][ T4459] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 45.535912][ T4459] btrfs_insert_replace_extent+0x924/0xc04 [ 45.537233][ T4459] btrfs_replace_file_extents+0xb3c/0x1388 [ 45.538548][ T4459] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 45.539752][ T4459] btrfs_prealloc_file_range+0x60/0x7c [ 45.540920][ T4459] btrfs_fallocate+0x166c/0x1954 [ 45.541957][ T4459] vfs_fallocate+0x478/0x5b4 [ 45.542994][ T4459] ioctl_preallocate+0x2a0/0x34c [ 45.543998][ T4459] do_vfs_ioctl+0x1d00/0x2a38 [ 45.545030][ T4459] __arm64_sys_ioctl+0xe4/0x1c8 [ 45.546072][ T4459] invoke_syscall+0x98/0x2b8 [ 45.547102][ T4459] el0_svc_common+0x138/0x258 [ 45.548189][ T4459] do_el0_svc+0x58/0x14c [ 45.549047][ T4459] el0_svc+0x7c/0x1f0 [ 45.549957][ T4459] el0t_64_sync_handler+0x84/0xe4 [ 45.551101][ T4459] el0t_64_sync+0x1a0/0x1a4 [ 45.553138][ T4459] ------------[ cut here ]------------ [ 45.554527][ T4459] WARNING: CPU: 1 PID: 4459 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 45.556624][ T4459] Modules linked in: [ 45.557448][ T4459] CPU: 1 PID: 4459 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 45.559545][ T4459] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 45.561666][ T4459] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 45.563374][ T4459] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 45.564747][ T4459] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 45.566154][ T4459] sp : ffff80001e857060 [ 45.567094][ T4459] x29: ffff80001e8571c0 x28: ffff0000c87dc400 x27: 0000000000000000 [ 45.568831][ T4459] x26: dfff800000000000 x25: ffff0000df8089a0 x24: ffff0000df98bae0 [ 45.570592][ T4459] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 45.572322][ T4459] x20: 1fffe0001bf0113f x19: ffff0000df8089f8 x18: 0000000000000001 [ 45.574117][ T4459] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 45.575859][ T4459] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 45.577733][ T4459] x11: ff8080000832d950 x10: 0000000000000000 x9 : b8fa5b7830c2af00 [ 45.579503][ T4459] x8 : b8fa5b7830c2af00 x7 : 0000000000000001 x6 : 0000000000000001 [ 45.581263][ T4459] x5 : ffff80001e8567d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 45.583021][ T4459] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 45.584815][ T4459] Call trace: [ 45.585448][ T4459] btrfs_replace_file_extents+0xe1c/0x1388 [ 45.586669][ T4459] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 45.587927][ T4459] btrfs_prealloc_file_range+0x60/0x7c [ 45.589099][ T4459] btrfs_fallocate+0x166c/0x1954 [ 45.590141][ T4459] vfs_fallocate+0x478/0x5b4 [ 45.591157][ T4459] ioctl_preallocate+0x2a0/0x34c [ 45.592124][ T4459] do_vfs_ioctl+0x1d00/0x2a38 [ 45.593110][ T4459] __arm64_sys_ioctl+0xe4/0x1c8 [ 45.594128][ T4459] invoke_syscall+0x98/0x2b8 [ 45.595140][ T4459] el0_svc_common+0x138/0x258 [ 45.596094][ T4459] do_el0_svc+0x58/0x14c [ 45.597008][ T4459] el0_svc+0x7c/0x1f0 [ 45.597843][ T4459] el0t_64_sync_handler+0x84/0xe4 [ 45.598934][ T4459] el0t_64_sync+0x1a0/0x1a4 [ 45.599910][ T4459] irq event stamp: 71554 [ 45.600800][ T4459] hardirqs last enabled at (71553): [] __up_console_sem+0xb4/0x100 [ 45.602905][ T4459] hardirqs last disabled at (71554): [] el1_dbg+0x24/0x80 [ 45.604832][ T4459] softirqs last enabled at (71534): [] __do_softirq+0xb5c/0xe20 [ 45.606785][ T4459] softirqs last disabled at (71519): [] __irq_exit_rcu+0x28c/0x534 [ 45.608807][ T4459] ---[ end trace f0df0365feee4a58 ]--- [ 45.610207][ T4459] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 45.612256][ T4459] BTRFS info (device loop0): forced readonly executing program [ 45.928326][ T4479] loop0: detected capacity change from 0 to 32768 [ 45.931469][ T4479] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4479) [ 45.937072][ T4479] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 45.939208][ T4479] BTRFS info (device loop0): using free space tree [ 45.940591][ T4479] BTRFS info (device loop0): has skinny extents [ 45.953975][ T4479] BTRFS info (device loop0): enabling ssd optimizations [ 45.959094][ T4479] FAULT_INJECTION: forcing a failure. [ 45.959094][ T4479] name failslab, interval 1, probability 0, space 0, times 0 [ 45.961754][ T4479] CPU: 0 PID: 4479 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 45.963780][ T4479] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 45.965794][ T4479] Call trace: [ 45.966453][ T4479] dump_backtrace+0x0/0x530 [ 45.967381][ T4479] show_stack+0x2c/0x3c [ 45.968265][ T4479] dump_stack_lvl+0x108/0x170 [ 45.969255][ T4479] dump_stack+0x1c/0x58 [ 45.970182][ T4479] should_fail+0x400/0x5cc [ 45.971137][ T4479] __should_failslab+0xbc/0x110 [ 45.972170][ T4479] should_failslab+0x10/0x28 [ 45.973122][ T4479] slab_pre_alloc_hook+0x64/0xe8 [ 45.974136][ T4479] kmem_cache_alloc+0x98/0x45c [ 45.975144][ T4479] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 45.976355][ T4479] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 45.977663][ T4479] btrfs_insert_replace_extent+0x924/0xc04 [ 45.978840][ T4479] btrfs_replace_file_extents+0xb3c/0x1388 [ 45.980029][ T4479] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 45.981303][ T4479] btrfs_prealloc_file_range+0x60/0x7c [ 45.982489][ T4479] btrfs_fallocate+0x166c/0x1954 [ 45.983547][ T4479] vfs_fallocate+0x478/0x5b4 [ 45.984549][ T4479] ioctl_preallocate+0x2a0/0x34c [ 45.985601][ T4479] do_vfs_ioctl+0x1d00/0x2a38 [ 45.986597][ T4479] __arm64_sys_ioctl+0xe4/0x1c8 [ 45.987633][ T4479] invoke_syscall+0x98/0x2b8 [ 45.988623][ T4479] el0_svc_common+0x138/0x258 [ 45.989591][ T4479] do_el0_svc+0x58/0x14c [ 45.990458][ T4479] el0_svc+0x7c/0x1f0 [ 45.991288][ T4479] el0t_64_sync_handler+0x84/0xe4 [ 45.992371][ T4479] el0t_64_sync+0x1a0/0x1a4 [ 45.993490][ T4479] ------------[ cut here ]------------ [ 45.994810][ T4479] WARNING: CPU: 0 PID: 4479 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 45.996973][ T4479] Modules linked in: [ 45.997807][ T4479] CPU: 0 PID: 4479 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 45.999880][ T4479] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 46.001980][ T4479] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 46.003616][ T4479] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 46.004888][ T4479] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 46.006175][ T4479] sp : ffff80001e747060 [ 46.007027][ T4479] x29: ffff80001e7471c0 x28: ffff0000c99cee00 x27: 0000000000000000 [ 46.008688][ T4479] x26: dfff800000000000 x25: ffff0000dc783b00 x24: ffff0000df8c3ae0 [ 46.010352][ T4479] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 46.012003][ T4479] x20: 1fffe0001b8f076b x19: ffff0000dc783b58 x18: 0000000000000001 [ 46.013667][ T4479] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 46.015370][ T4479] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 46.017041][ T4479] x11: ff8080000832d950 x10: 0000000000000000 x9 : 77e748f950b5a900 [ 46.018735][ T4479] x8 : 77e748f950b5a900 x7 : 0000000000000001 x6 : 0000000000000001 [ 46.020415][ T4479] x5 : ffff80001e7467d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 46.022086][ T4479] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 46.023755][ T4479] Call trace: [ 46.024469][ T4479] btrfs_replace_file_extents+0xe1c/0x1388 [ 46.025747][ T4479] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 46.027052][ T4479] btrfs_prealloc_file_range+0x60/0x7c [ 46.028213][ T4479] btrfs_fallocate+0x166c/0x1954 [ 46.029258][ T4479] vfs_fallocate+0x478/0x5b4 [ 46.030314][ T4479] ioctl_preallocate+0x2a0/0x34c [ 46.031353][ T4479] do_vfs_ioctl+0x1d00/0x2a38 [ 46.032321][ T4479] __arm64_sys_ioctl+0xe4/0x1c8 [ 46.033308][ T4479] invoke_syscall+0x98/0x2b8 [ 46.034240][ T4479] el0_svc_common+0x138/0x258 [ 46.035194][ T4479] do_el0_svc+0x58/0x14c [ 46.036117][ T4479] el0_svc+0x7c/0x1f0 [ 46.036958][ T4479] el0t_64_sync_handler+0x84/0xe4 [ 46.038002][ T4479] el0t_64_sync+0x1a0/0x1a4 [ 46.038967][ T4479] irq event stamp: 71164 [ 46.039909][ T4479] hardirqs last enabled at (71163): [] __up_console_sem+0xb4/0x100 [ 46.041973][ T4479] hardirqs last disabled at (71164): [] el1_dbg+0x24/0x80 [ 46.043783][ T4479] softirqs last enabled at (71148): [] __do_softirq+0xb5c/0xe20 [ 46.045795][ T4479] softirqs last disabled at (71131): [] __irq_exit_rcu+0x28c/0x534 [ 46.047802][ T4479] ---[ end trace f0df0365feee4a59 ]--- [ 46.049111][ T4479] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 46.051150][ T4479] BTRFS info (device loop0): forced readonly executing program [ 46.307442][ T4499] loop0: detected capacity change from 0 to 32768 [ 46.310605][ T4499] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4499) [ 46.315139][ T4499] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 46.317132][ T4499] BTRFS info (device loop0): using free space tree [ 46.318608][ T4499] BTRFS info (device loop0): has skinny extents [ 46.331944][ T4499] BTRFS info (device loop0): enabling ssd optimizations [ 46.338059][ T4499] FAULT_INJECTION: forcing a failure. [ 46.338059][ T4499] name failslab, interval 1, probability 0, space 0, times 0 [ 46.340673][ T4499] CPU: 0 PID: 4499 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 46.342859][ T4499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 46.345022][ T4499] Call trace: [ 46.345752][ T4499] dump_backtrace+0x0/0x530 [ 46.346774][ T4499] show_stack+0x2c/0x3c [ 46.347616][ T4499] dump_stack_lvl+0x108/0x170 [ 46.348671][ T4499] dump_stack+0x1c/0x58 [ 46.349617][ T4499] should_fail+0x400/0x5cc [ 46.350543][ T4499] __should_failslab+0xbc/0x110 [ 46.351662][ T4499] should_failslab+0x10/0x28 [ 46.352649][ T4499] slab_pre_alloc_hook+0x64/0xe8 [ 46.353722][ T4499] kmem_cache_alloc+0x98/0x45c [ 46.354707][ T4499] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 46.355938][ T4499] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 46.357213][ T4499] btrfs_insert_replace_extent+0x924/0xc04 [ 46.358519][ T4499] btrfs_replace_file_extents+0xb3c/0x1388 [ 46.359708][ T4499] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 46.360973][ T4499] btrfs_prealloc_file_range+0x60/0x7c [ 46.362124][ T4499] btrfs_fallocate+0x166c/0x1954 [ 46.363142][ T4499] vfs_fallocate+0x478/0x5b4 [ 46.364061][ T4499] ioctl_preallocate+0x2a0/0x34c [ 46.365100][ T4499] do_vfs_ioctl+0x1d00/0x2a38 [ 46.366098][ T4499] __arm64_sys_ioctl+0xe4/0x1c8 [ 46.367119][ T4499] invoke_syscall+0x98/0x2b8 [ 46.368116][ T4499] el0_svc_common+0x138/0x258 [ 46.369113][ T4499] do_el0_svc+0x58/0x14c [ 46.370056][ T4499] el0_svc+0x7c/0x1f0 [ 46.370996][ T4499] el0t_64_sync_handler+0x84/0xe4 [ 46.372042][ T4499] el0t_64_sync+0x1a0/0x1a4 [ 46.373073][ T4499] ------------[ cut here ]------------ [ 46.374507][ T4499] WARNING: CPU: 0 PID: 4499 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 46.376560][ T4499] Modules linked in: [ 46.377627][ T4499] CPU: 0 PID: 4499 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 46.379874][ T4499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 46.382002][ T4499] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 46.383624][ T4499] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 46.384985][ T4499] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 46.386351][ T4499] sp : ffff80001e747060 [ 46.387262][ T4499] x29: ffff80001e7471c0 x28: ffff0000c9f42000 x27: 0000000000000000 [ 46.389066][ T4499] x26: dfff800000000000 x25: ffff0000dc783d10 x24: ffff0000df8c2740 [ 46.390705][ T4499] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 46.392399][ T4499] x20: 1fffe0001b8f07ad x19: ffff0000dc783d68 x18: 0000000000000001 [ 46.394206][ T4499] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 46.395956][ T4499] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 46.397784][ T4499] x11: ff8080000832d950 x10: 0000000000000000 x9 : 7353dffb8d662100 [ 46.399454][ T4499] x8 : 7353dffb8d662100 x7 : 0000000000000001 x6 : 0000000000000001 [ 46.401183][ T4499] x5 : ffff80001e7467d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 46.402882][ T4499] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 46.404656][ T4499] Call trace: [ 46.405460][ T4499] btrfs_replace_file_extents+0xe1c/0x1388 [ 46.406699][ T4499] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 46.407949][ T4499] btrfs_prealloc_file_range+0x60/0x7c [ 46.409210][ T4499] btrfs_fallocate+0x166c/0x1954 [ 46.410239][ T4499] vfs_fallocate+0x478/0x5b4 [ 46.411238][ T4499] ioctl_preallocate+0x2a0/0x34c [ 46.412363][ T4499] do_vfs_ioctl+0x1d00/0x2a38 [ 46.413339][ T4499] __arm64_sys_ioctl+0xe4/0x1c8 [ 46.414463][ T4499] invoke_syscall+0x98/0x2b8 [ 46.415514][ T4499] el0_svc_common+0x138/0x258 [ 46.416547][ T4499] do_el0_svc+0x58/0x14c [ 46.417542][ T4499] el0_svc+0x7c/0x1f0 [ 46.418391][ T4499] el0t_64_sync_handler+0x84/0xe4 [ 46.419421][ T4499] el0t_64_sync+0x1a0/0x1a4 [ 46.420446][ T4499] irq event stamp: 72462 [ 46.421361][ T4499] hardirqs last enabled at (72461): [] __up_console_sem+0xb4/0x100 [ 46.423407][ T4499] hardirqs last disabled at (72462): [] el1_dbg+0x24/0x80 [ 46.425259][ T4499] softirqs last enabled at (72442): [] __do_softirq+0xb5c/0xe20 [ 46.427283][ T4499] softirqs last disabled at (72433): [] __irq_exit_rcu+0x28c/0x534 [ 46.429347][ T4499] ---[ end trace f0df0365feee4a5a ]--- [ 46.430771][ T4499] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 46.432809][ T4499] BTRFS info (device loop0): forced readonly executing program [ 46.715701][ T4519] loop0: detected capacity change from 0 to 32768 [ 46.718953][ T4519] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4519) [ 46.723388][ T4519] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 46.725360][ T4519] BTRFS info (device loop0): using free space tree [ 46.726819][ T4519] BTRFS info (device loop0): has skinny extents [ 46.740627][ T4519] BTRFS info (device loop0): enabling ssd optimizations [ 46.745624][ T4519] FAULT_INJECTION: forcing a failure. [ 46.745624][ T4519] name failslab, interval 1, probability 0, space 0, times 0 [ 46.748686][ T4519] CPU: 1 PID: 4519 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 46.750774][ T4519] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 46.753152][ T4519] Call trace: [ 46.753842][ T4519] dump_backtrace+0x0/0x530 [ 46.754751][ T4519] show_stack+0x2c/0x3c [ 46.755629][ T4519] dump_stack_lvl+0x108/0x170 [ 46.756629][ T4519] dump_stack+0x1c/0x58 [ 46.757488][ T4519] should_fail+0x400/0x5cc [ 46.758439][ T4519] __should_failslab+0xbc/0x110 [ 46.759488][ T4519] should_failslab+0x10/0x28 [ 46.760580][ T4519] slab_pre_alloc_hook+0x64/0xe8 [ 46.761607][ T4519] kmem_cache_alloc+0x98/0x45c [ 46.762628][ T4519] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 46.763878][ T4519] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 46.765327][ T4519] btrfs_insert_replace_extent+0x924/0xc04 [ 46.766632][ T4519] btrfs_replace_file_extents+0xb3c/0x1388 [ 46.767811][ T4519] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 46.769111][ T4519] btrfs_prealloc_file_range+0x60/0x7c [ 46.770336][ T4519] btrfs_fallocate+0x166c/0x1954 [ 46.771382][ T4519] vfs_fallocate+0x478/0x5b4 [ 46.772389][ T4519] ioctl_preallocate+0x2a0/0x34c [ 46.773459][ T4519] do_vfs_ioctl+0x1d00/0x2a38 [ 46.774492][ T4519] __arm64_sys_ioctl+0xe4/0x1c8 [ 46.775475][ T4519] invoke_syscall+0x98/0x2b8 [ 46.776589][ T4519] el0_svc_common+0x138/0x258 [ 46.777617][ T4519] do_el0_svc+0x58/0x14c [ 46.778600][ T4519] el0_svc+0x7c/0x1f0 [ 46.779413][ T4519] el0t_64_sync_handler+0x84/0xe4 [ 46.780520][ T4519] el0t_64_sync+0x1a0/0x1a4 [ 46.781795][ T4519] ------------[ cut here ]------------ [ 46.783223][ T4519] WARNING: CPU: 1 PID: 4519 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 46.785288][ T4519] Modules linked in: [ 46.786084][ T4519] CPU: 1 PID: 4519 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 46.788372][ T4519] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 46.790494][ T4519] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 46.792177][ T4519] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 46.793530][ T4519] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 46.794962][ T4519] sp : ffff80001eb47060 [ 46.795883][ T4519] x29: ffff80001eb471c0 x28: ffff0000d5ce9900 x27: 0000000000000000 [ 46.797619][ T4519] x26: dfff800000000000 x25: ffff0000df808b00 x24: ffff0000df98ebf0 [ 46.799359][ T4519] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 46.801146][ T4519] x20: 1fffe0001bf0116b x19: ffff0000df808b58 x18: 0000000000000001 [ 46.802877][ T4519] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 46.804514][ T4519] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 46.806202][ T4519] x11: ff8080000832d950 x10: 0000000000000000 x9 : 4dd57223cb1aa300 [ 46.807972][ T4519] x8 : 4dd57223cb1aa300 x7 : 0000000000000001 x6 : 0000000000000001 [ 46.809743][ T4519] x5 : ffff80001eb467d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 46.811433][ T4519] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 46.813257][ T4519] Call trace: [ 46.813903][ T4519] btrfs_replace_file_extents+0xe1c/0x1388 [ 46.815233][ T4519] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 46.816578][ T4519] btrfs_prealloc_file_range+0x60/0x7c [ 46.817739][ T4519] btrfs_fallocate+0x166c/0x1954 [ 46.818790][ T4519] vfs_fallocate+0x478/0x5b4 [ 46.819810][ T4519] ioctl_preallocate+0x2a0/0x34c [ 46.820924][ T4519] do_vfs_ioctl+0x1d00/0x2a38 [ 46.821939][ T4519] __arm64_sys_ioctl+0xe4/0x1c8 [ 46.822993][ T4519] invoke_syscall+0x98/0x2b8 [ 46.823973][ T4519] el0_svc_common+0x138/0x258 [ 46.825000][ T4519] do_el0_svc+0x58/0x14c [ 46.825960][ T4519] el0_svc+0x7c/0x1f0 [ 46.826875][ T4519] el0t_64_sync_handler+0x84/0xe4 [ 46.827909][ T4519] el0t_64_sync+0x1a0/0x1a4 [ 46.828952][ T4519] irq event stamp: 71804 [ 46.829945][ T4519] hardirqs last enabled at (71803): [] __up_console_sem+0xb4/0x100 [ 46.832028][ T4519] hardirqs last disabled at (71804): [] el1_dbg+0x24/0x80 [ 46.834035][ T4519] softirqs last enabled at (71784): [] __do_softirq+0xb5c/0xe20 [ 46.836025][ T4519] softirqs last disabled at (71767): [] __irq_exit_rcu+0x28c/0x534 [ 46.838110][ T4519] ---[ end trace f0df0365feee4a5b ]--- [ 46.839813][ T4519] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 46.841901][ T4519] BTRFS info (device loop0): forced readonly executing program [ 47.132956][ T4539] loop0: detected capacity change from 0 to 32768 [ 47.136361][ T4539] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4539) [ 47.143579][ T4539] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 47.146084][ T4539] BTRFS info (device loop0): using free space tree [ 47.147598][ T4539] BTRFS info (device loop0): has skinny extents [ 47.161777][ T4539] BTRFS info (device loop0): enabling ssd optimizations [ 47.166914][ T4539] FAULT_INJECTION: forcing a failure. [ 47.166914][ T4539] name failslab, interval 1, probability 0, space 0, times 0 [ 47.170223][ T4539] CPU: 0 PID: 4539 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 47.172164][ T4539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 47.174246][ T4539] Call trace: [ 47.174966][ T4539] dump_backtrace+0x0/0x530 [ 47.175972][ T4539] show_stack+0x2c/0x3c [ 47.176852][ T4539] dump_stack_lvl+0x108/0x170 [ 47.177846][ T4539] dump_stack+0x1c/0x58 [ 47.178740][ T4539] should_fail+0x400/0x5cc [ 47.179665][ T4539] __should_failslab+0xbc/0x110 [ 47.180745][ T4539] should_failslab+0x10/0x28 [ 47.181722][ T4539] slab_pre_alloc_hook+0x64/0xe8 [ 47.182791][ T4539] kmem_cache_alloc+0x98/0x45c [ 47.183845][ T4539] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 47.185009][ T4539] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 47.186319][ T4539] btrfs_insert_replace_extent+0x924/0xc04 [ 47.187528][ T4539] btrfs_replace_file_extents+0xb3c/0x1388 [ 47.188766][ T4539] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 47.190080][ T4539] btrfs_prealloc_file_range+0x60/0x7c [ 47.191351][ T4539] btrfs_fallocate+0x166c/0x1954 [ 47.192381][ T4539] vfs_fallocate+0x478/0x5b4 [ 47.193416][ T4539] ioctl_preallocate+0x2a0/0x34c [ 47.194480][ T4539] do_vfs_ioctl+0x1d00/0x2a38 [ 47.195505][ T4539] __arm64_sys_ioctl+0xe4/0x1c8 [ 47.196537][ T4539] invoke_syscall+0x98/0x2b8 [ 47.197516][ T4539] el0_svc_common+0x138/0x258 [ 47.198488][ T4539] do_el0_svc+0x58/0x14c [ 47.199411][ T4539] el0_svc+0x7c/0x1f0 [ 47.200195][ T4539] el0t_64_sync_handler+0x84/0xe4 [ 47.201251][ T4539] el0t_64_sync+0x1a0/0x1a4 [ 47.205188][ T4539] ------------[ cut here ]------------ [ 47.206587][ T4539] WARNING: CPU: 0 PID: 4539 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 47.208761][ T4539] Modules linked in: [ 47.209602][ T4539] CPU: 0 PID: 4539 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 47.211779][ T4539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 47.213855][ T4539] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 47.215537][ T4539] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 47.216902][ T4539] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 47.218232][ T4539] sp : ffff80001eb47060 [ 47.219096][ T4539] x29: ffff80001eb471c0 x28: ffff0000c9d29300 x27: 0000000000000000 [ 47.220822][ T4539] x26: dfff800000000000 x25: ffff0000dc783e70 x24: ffff0000df8c4e80 [ 47.222556][ T4539] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 47.224226][ T4539] x20: 1fffe0001b8f07d9 x19: ffff0000dc783ec8 x18: 0000000000000001 [ 47.225910][ T4539] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 47.227617][ T4539] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 47.229217][ T4539] x11: ff8080000832d950 x10: 0000000000000000 x9 : b3b5077631a36100 [ 47.230900][ T4539] x8 : b3b5077631a36100 x7 : 0000000000000001 x6 : 0000000000000001 [ 47.232739][ T4539] x5 : ffff80001eb467d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 47.234468][ T4539] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 47.236222][ T4539] Call trace: [ 47.236965][ T4539] btrfs_replace_file_extents+0xe1c/0x1388 [ 47.238312][ T4539] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 47.239637][ T4539] btrfs_prealloc_file_range+0x60/0x7c [ 47.240796][ T4539] btrfs_fallocate+0x166c/0x1954 [ 47.241876][ T4539] vfs_fallocate+0x478/0x5b4 [ 47.242790][ T4539] ioctl_preallocate+0x2a0/0x34c [ 47.243836][ T4539] do_vfs_ioctl+0x1d00/0x2a38 [ 47.244846][ T4539] __arm64_sys_ioctl+0xe4/0x1c8 [ 47.245957][ T4539] invoke_syscall+0x98/0x2b8 [ 47.247023][ T4539] el0_svc_common+0x138/0x258 [ 47.248102][ T4539] do_el0_svc+0x58/0x14c [ 47.249014][ T4539] el0_svc+0x7c/0x1f0 [ 47.249951][ T4539] el0t_64_sync_handler+0x84/0xe4 [ 47.251024][ T4539] el0t_64_sync+0x1a0/0x1a4 [ 47.252038][ T4539] irq event stamp: 71956 [ 47.252965][ T4539] hardirqs last enabled at (71955): [] __up_console_sem+0xb4/0x100 [ 47.254959][ T4539] hardirqs last disabled at (71956): [] el1_dbg+0x24/0x80 [ 47.256827][ T4539] softirqs last enabled at (71936): [] __do_softirq+0xb5c/0xe20 [ 47.258887][ T4539] softirqs last disabled at (71881): [] __irq_exit_rcu+0x28c/0x534 [ 47.260954][ T4539] ---[ end trace f0df0365feee4a5c ]--- [ 47.265997][ T4539] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 47.268392][ T4539] BTRFS info (device loop0): forced readonly executing program [ 47.585027][ T4559] loop0: detected capacity change from 0 to 32768 [ 47.588495][ T4559] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4559) [ 47.593117][ T4559] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 47.595168][ T4559] BTRFS info (device loop0): using free space tree [ 47.596646][ T4559] BTRFS info (device loop0): has skinny extents [ 47.610818][ T4559] BTRFS info (device loop0): enabling ssd optimizations [ 47.615953][ T4559] FAULT_INJECTION: forcing a failure. [ 47.615953][ T4559] name failslab, interval 1, probability 0, space 0, times 0 [ 47.619245][ T4559] CPU: 0 PID: 4559 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 47.621431][ T4559] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 47.623787][ T4559] Call trace: [ 47.624559][ T4559] dump_backtrace+0x0/0x530 [ 47.625586][ T4559] show_stack+0x2c/0x3c [ 47.626518][ T4559] dump_stack_lvl+0x108/0x170 [ 47.627546][ T4559] dump_stack+0x1c/0x58 [ 47.628461][ T4559] should_fail+0x400/0x5cc [ 47.629381][ T4559] __should_failslab+0xbc/0x110 [ 47.630439][ T4559] should_failslab+0x10/0x28 [ 47.631543][ T4559] slab_pre_alloc_hook+0x64/0xe8 [ 47.632619][ T4559] kmem_cache_alloc+0x98/0x45c [ 47.633712][ T4559] btrfs_add_delayed_data_ref+0x420/0xe70 [ 47.634946][ T4559] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 47.636496][ T4559] btrfs_insert_replace_extent+0x924/0xc04 [ 47.637794][ T4559] btrfs_replace_file_extents+0xb3c/0x1388 [ 47.639063][ T4559] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 47.640427][ T4559] btrfs_prealloc_file_range+0x60/0x7c [ 47.641588][ T4559] btrfs_fallocate+0x166c/0x1954 [ 47.642733][ T4559] vfs_fallocate+0x478/0x5b4 [ 47.643838][ T4559] ioctl_preallocate+0x2a0/0x34c [ 47.644880][ T4559] do_vfs_ioctl+0x1d00/0x2a38 [ 47.645910][ T4559] __arm64_sys_ioctl+0xe4/0x1c8 [ 47.646888][ T4559] invoke_syscall+0x98/0x2b8 [ 47.647925][ T4559] el0_svc_common+0x138/0x258 [ 47.648992][ T4559] do_el0_svc+0x58/0x14c [ 47.649932][ T4559] el0_svc+0x7c/0x1f0 [ 47.650768][ T4559] el0t_64_sync_handler+0x84/0xe4 [ 47.651854][ T4559] el0t_64_sync+0x1a0/0x1a4 [ 47.655671][ T4559] ------------[ cut here ]------------ [ 47.657049][ T4559] WARNING: CPU: 0 PID: 4559 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 47.659260][ T4559] Modules linked in: [ 47.660086][ T4559] CPU: 0 PID: 4559 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 47.662300][ T4559] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 47.664587][ T4559] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 47.666323][ T4559] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 47.667692][ T4559] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 47.669137][ T4559] sp : ffff80001ed47060 [ 47.670071][ T4559] x29: ffff80001ed471c0 x28: ffff0000d3bf6500 x27: 0000000000000000 [ 47.671816][ T4559] x26: dfff800000000000 x25: ffff0000df80aa50 x24: ffff0000df8c13a0 [ 47.673511][ T4559] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 47.675300][ T4559] x20: 1fffe0001bf01555 x19: ffff0000df80aaa8 x18: 0000000000000001 [ 47.677007][ T4559] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 47.678880][ T4559] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 47.680580][ T4559] x11: ff8080000832d950 x10: 0000000000000000 x9 : 2be4157d366ecc00 [ 47.682397][ T4559] x8 : 2be4157d366ecc00 x7 : 0000000000000001 x6 : 0000000000000001 [ 47.684222][ T4559] x5 : ffff80001ed467d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 47.686086][ T4559] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 47.687885][ T4559] Call trace: [ 47.688677][ T4559] btrfs_replace_file_extents+0xe1c/0x1388 [ 47.689991][ T4559] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 47.691340][ T4559] btrfs_prealloc_file_range+0x60/0x7c [ 47.692660][ T4559] btrfs_fallocate+0x166c/0x1954 [ 47.693700][ T4559] vfs_fallocate+0x478/0x5b4 [ 47.694559][ T4559] ioctl_preallocate+0x2a0/0x34c [ 47.695458][ T4559] do_vfs_ioctl+0x1d00/0x2a38 [ 47.696309][ T4559] __arm64_sys_ioctl+0xe4/0x1c8 [ 47.697171][ T4559] invoke_syscall+0x98/0x2b8 [ 47.698163][ T4559] el0_svc_common+0x138/0x258 [ 47.699220][ T4559] do_el0_svc+0x58/0x14c [ 47.700148][ T4559] el0_svc+0x7c/0x1f0 [ 47.701074][ T4559] el0t_64_sync_handler+0x84/0xe4 [ 47.702204][ T4559] el0t_64_sync+0x1a0/0x1a4 [ 47.703347][ T4559] irq event stamp: 71078 [ 47.704295][ T4559] hardirqs last enabled at (71077): [] __up_console_sem+0xb4/0x100 [ 47.706346][ T4559] hardirqs last disabled at (71078): [] el1_dbg+0x24/0x80 [ 47.708144][ T4559] softirqs last enabled at (71054): [] __do_softirq+0xb5c/0xe20 [ 47.710092][ T4559] softirqs last disabled at (71039): [] __irq_exit_rcu+0x28c/0x534 [ 47.712131][ T4559] ---[ end trace f0df0365feee4a5d ]--- [ 47.717524][ T4559] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 47.719548][ T4559] BTRFS info (device loop0): forced readonly executing program [ 48.012073][ T4579] loop0: detected capacity change from 0 to 32768 [ 48.015980][ T4579] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4579) [ 48.020858][ T4579] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 48.022840][ T4579] BTRFS info (device loop0): using free space tree [ 48.024231][ T4579] BTRFS info (device loop0): has skinny extents [ 48.037963][ T4579] BTRFS info (device loop0): enabling ssd optimizations [ 48.042960][ T4579] FAULT_INJECTION: forcing a failure. [ 48.042960][ T4579] name failslab, interval 1, probability 0, space 0, times 0 [ 48.045655][ T4579] CPU: 1 PID: 4579 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 48.047844][ T4579] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 48.050103][ T4579] Call trace: [ 48.050847][ T4579] dump_backtrace+0x0/0x530 [ 48.051854][ T4579] show_stack+0x2c/0x3c [ 48.052819][ T4579] dump_stack_lvl+0x108/0x170 [ 48.053885][ T4579] dump_stack+0x1c/0x58 [ 48.054813][ T4579] should_fail+0x400/0x5cc [ 48.055764][ T4579] __should_failslab+0xbc/0x110 [ 48.056844][ T4579] should_failslab+0x10/0x28 [ 48.057864][ T4579] slab_pre_alloc_hook+0x64/0xe8 [ 48.058894][ T4579] kmem_cache_alloc+0x98/0x45c [ 48.059894][ T4579] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 48.061241][ T4579] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 48.062619][ T4579] btrfs_insert_replace_extent+0x924/0xc04 [ 48.063922][ T4579] btrfs_replace_file_extents+0xb3c/0x1388 [ 48.065192][ T4579] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 48.066458][ T4579] btrfs_prealloc_file_range+0x60/0x7c [ 48.067628][ T4579] btrfs_fallocate+0x166c/0x1954 [ 48.068707][ T4579] vfs_fallocate+0x478/0x5b4 [ 48.069696][ T4579] ioctl_preallocate+0x2a0/0x34c [ 48.070779][ T4579] do_vfs_ioctl+0x1d00/0x2a38 [ 48.071817][ T4579] __arm64_sys_ioctl+0xe4/0x1c8 [ 48.072922][ T4579] invoke_syscall+0x98/0x2b8 [ 48.073952][ T4579] el0_svc_common+0x138/0x258 [ 48.075048][ T4579] do_el0_svc+0x58/0x14c [ 48.075965][ T4579] el0_svc+0x7c/0x1f0 [ 48.076839][ T4579] el0t_64_sync_handler+0x84/0xe4 [ 48.077896][ T4579] el0t_64_sync+0x1a0/0x1a4 [ 48.079169][ T4579] ------------[ cut here ]------------ [ 48.080567][ T4579] WARNING: CPU: 1 PID: 4579 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 48.082764][ T4579] Modules linked in: [ 48.083645][ T4579] CPU: 1 PID: 4579 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 48.085859][ T4579] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 48.087992][ T4579] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 48.089733][ T4579] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 48.091034][ T4579] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 48.092375][ T4579] sp : ffff80001ee47060 [ 48.093321][ T4579] x29: ffff80001ee471c0 x28: ffff0000c189ab00 x27: 0000000000000000 [ 48.095091][ T4579] x26: dfff800000000000 x25: ffff0000df808c60 x24: ffff0000df938000 [ 48.096893][ T4579] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 48.098617][ T4579] x20: 1fffe0001bf01197 x19: ffff0000df808cb8 x18: 0000000000000001 [ 48.100415][ T4579] x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 [ 48.102207][ T4579] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 48.104095][ T4579] x11: ff8080000832d950 x10: 0000000000000000 x9 : 058a1cc11441d000 [ 48.105864][ T4579] x8 : 058a1cc11441d000 x7 : 0000000000000001 x6 : 0000000000000001 [ 48.107651][ T4579] x5 : ffff80001ee467d8 x4 : ffff8000149afce0 x3 : ffff800008335ff4 [ 48.109380][ T4579] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 48.111133][ T4579] Call trace: [ 48.111889][ T4579] btrfs_replace_file_extents+0xe1c/0x1388 [ 48.113151][ T4579] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 48.114485][ T4579] btrfs_prealloc_file_range+0x60/0x7c [ 48.115740][ T4579] btrfs_fallocate+0x166c/0x1954 [ 48.116850][ T4579] vfs_fallocate+0x478/0x5b4 [ 48.117933][ T4579] ioctl_preallocate+0x2a0/0x34c [ 48.119026][ T4579] do_vfs_ioctl+0x1d00/0x2a38 [ 48.120055][ T4579] __arm64_sys_ioctl+0xe4/0x1c8 [ 48.121163][ T4579] invoke_syscall+0x98/0x2b8 [ 48.122183][ T4579] el0_svc_common+0x138/0x258 [ 48.123221][ T4579] do_el0_svc+0x58/0x14c [ 48.124173][ T4579] el0_svc+0x7c/0x1f0 [ 48.125019][ T4579] el0t_64_sync_handler+0x84/0xe4 [ 48.126201][ T4579] el0t_64_sync+0x1a0/0x1a4 [ 48.127164][ T4579] irq event stamp: 72016 [ 48.128118][ T4579] hardirqs last enabled at (72015): [] __up_console_sem+0xb4/0x100 [ 48.130153][ T4579] hardirqs last disabled at (72016): [] el1_dbg+0x24/0x80 [ 48.132043][ T4579] softirqs last enabled at (71996): [] __do_softirq+0xb5c/0xe20 [ 48.134045][ T4579] softirqs last disabled at (71933): [] __irq_exit_rcu+0x28c/0x534 [ 48.136163][ T4579] ---[ end trace f0df0365feee4a5e ]--- [ 48.137759][ T4579] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 48.139900][ T4579] BTRFS info (device loop0): forced readonly executing program [ 48.428189][ T4599] loop0: detected capacity change from 0 to 32768 [ 48.431319][ T4599] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4599) [ 48.435619][ T4599] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 48.437512][ T4599] BTRFS info (device loop0): using free space tree [ 48.438915][ T4599] BTRFS info (device loop0): has skinny extents [ 48.452667][ T4599] BTRFS info (device loop0): enabling ssd optimizations [ 48.458161][ T4599] FAULT_INJECTION: forcing a failure. [ 48.458161][ T4599] name failslab, interval 1, probability 0, space 0, times 0 [ 48.460890][ T4599] CPU: 0 PID: 4599 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 48.463022][ T4599] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 48.465157][ T4599] Call trace: [ 48.465794][ T4599] dump_backtrace+0x0/0x530 [ 48.466764][ T4599] show_stack+0x2c/0x3c [ 48.467649][ T4599] dump_stack_lvl+0x108/0x170 [ 48.468581][ T4599] dump_stack+0x1c/0x58 [ 48.469478][ T4599] should_fail+0x400/0x5cc [ 48.470443][ T4599] __should_failslab+0xbc/0x110 [ 48.471586][ T4599] should_failslab+0x10/0x28 [ 48.472523][ T4599] slab_pre_alloc_hook+0x64/0xe8 [ 48.473607][ T4599] kmem_cache_alloc+0x98/0x45c [ 48.474646][ T4599] alloc_extent_map+0x28/0x128 [ 48.475761][ T4599] btrfs_drop_extent_cache+0x19c/0xd9c [ 48.476998][ T4599] btrfs_drop_extents+0x2ec/0x2b80 [ 48.478008][ T4599] btrfs_replace_file_extents+0x3a4/0x1388 [ 48.479277][ T4599] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 48.480577][ T4599] btrfs_prealloc_file_range+0x60/0x7c [ 48.481710][ T4599] btrfs_fallocate+0x166c/0x1954 [ 48.482759][ T4599] vfs_fallocate+0x478/0x5b4 [ 48.483751][ T4599] ioctl_preallocate+0x2a0/0x34c [ 48.484824][ T4599] do_vfs_ioctl+0x1d00/0x2a38 [ 48.485822][ T4599] __arm64_sys_ioctl+0xe4/0x1c8 [ 48.486916][ T4599] invoke_syscall+0x98/0x2b8 [ 48.487847][ T4599] el0_svc_common+0x138/0x258 [ 48.488853][ T4599] do_el0_svc+0x58/0x14c [ 48.489744][ T4599] el0_svc+0x7c/0x1f0 [ 48.490624][ T4599] el0t_64_sync_handler+0x84/0xe4 [ 48.491659][ T4599] el0t_64_sync+0x1a0/0x1a4 executing program [ 48.717014][ T4619] loop0: detected capacity change from 0 to 32768 [ 48.720084][ T4619] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4619) [ 48.724344][ T4619] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 48.726254][ T4619] BTRFS info (device loop0): using free space tree [ 48.728159][ T4619] BTRFS info (device loop0): has skinny extents [ 48.740699][ T4619] BTRFS info (device loop0): enabling ssd optimizations [ 48.745318][ T4619] FAULT_INJECTION: forcing a failure. [ 48.745318][ T4619] name failslab, interval 1, probability 0, space 0, times 0 [ 48.748585][ T4619] CPU: 1 PID: 4619 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 48.750720][ T4619] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 48.752859][ T4619] Call trace: [ 48.753530][ T4619] dump_backtrace+0x0/0x530 [ 48.754493][ T4619] show_stack+0x2c/0x3c [ 48.755419][ T4619] dump_stack_lvl+0x108/0x170 [ 48.756373][ T4619] dump_stack+0x1c/0x58 [ 48.757228][ T4619] should_fail+0x400/0x5cc [ 48.758200][ T4619] __should_failslab+0xbc/0x110 [ 48.759198][ T4619] should_failslab+0x10/0x28 [ 48.760247][ T4619] slab_pre_alloc_hook+0x64/0xe8 [ 48.761345][ T4619] kmem_cache_alloc+0x98/0x45c [ 48.762389][ T4619] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 48.763670][ T4619] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 48.765019][ T4619] btrfs_insert_replace_extent+0x924/0xc04 [ 48.766323][ T4619] btrfs_replace_file_extents+0xb3c/0x1388 [ 48.767724][ T4619] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 48.769127][ T4619] btrfs_prealloc_file_range+0x60/0x7c [ 48.770327][ T4619] btrfs_fallocate+0x166c/0x1954 [ 48.771475][ T4619] vfs_fallocate+0x478/0x5b4 [ 48.772434][ T4619] ioctl_preallocate+0x2a0/0x34c [ 48.773500][ T4619] do_vfs_ioctl+0x1d00/0x2a38 [ 48.774490][ T4619] __arm64_sys_ioctl+0xe4/0x1c8 [ 48.775586][ T4619] invoke_syscall+0x98/0x2b8 [ 48.776625][ T4619] el0_svc_common+0x138/0x258 [ 48.777601][ T4619] do_el0_svc+0x58/0x14c [ 48.778499][ T4619] el0_svc+0x7c/0x1f0 [ 48.779355][ T4619] el0t_64_sync_handler+0x84/0xe4 [ 48.780498][ T4619] el0t_64_sync+0x1a0/0x1a4 [ 48.784296][ T4619] ------------[ cut here ]------------ [ 48.785655][ T4619] WARNING: CPU: 1 PID: 4619 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 48.787864][ T4619] Modules linked in: [ 48.788690][ T4619] CPU: 1 PID: 4619 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 48.790845][ T4619] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 48.792979][ T4619] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 48.794716][ T4619] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 48.796042][ T4619] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 48.797396][ T4619] sp : ffff80001ee47060 [ 48.798235][ T4619] x29: ffff80001ee471c0 x28: ffff0000c2144c00 x27: 0000000000000000 [ 48.799977][ T4619] x26: dfff800000000000 x25: ffff0000df808dc0 x24: ffff0000df9989d0 [ 48.801646][ T4619] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 48.803358][ T4619] x20: 1fffe0001bf011c3 x19: ffff0000df808e18 x18: 0000000000000001 [ 48.805225][ T4619] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 48.806870][ T4619] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 48.808646][ T4619] x11: ff8080000832d950 x10: 0000000000000000 x9 : f87b0a84a64f2600 [ 48.810409][ T4619] x8 : f87b0a84a64f2600 x7 : 0000000000000001 x6 : 0000000000000001 [ 48.812202][ T4619] x5 : ffff80001ee467d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 48.813901][ T4619] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 48.815671][ T4619] Call trace: [ 48.816378][ T4619] btrfs_replace_file_extents+0xe1c/0x1388 [ 48.817674][ T4619] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 48.818968][ T4619] btrfs_prealloc_file_range+0x60/0x7c [ 48.820114][ T4619] btrfs_fallocate+0x166c/0x1954 [ 48.821105][ T4619] vfs_fallocate+0x478/0x5b4 [ 48.822119][ T4619] ioctl_preallocate+0x2a0/0x34c [ 48.823152][ T4619] do_vfs_ioctl+0x1d00/0x2a38 [ 48.824176][ T4619] __arm64_sys_ioctl+0xe4/0x1c8 [ 48.825284][ T4619] invoke_syscall+0x98/0x2b8 [ 48.826345][ T4619] el0_svc_common+0x138/0x258 [ 48.827364][ T4619] do_el0_svc+0x58/0x14c [ 48.828306][ T4619] el0_svc+0x7c/0x1f0 [ 48.829148][ T4619] el0t_64_sync_handler+0x84/0xe4 [ 48.830170][ T4619] el0t_64_sync+0x1a0/0x1a4 [ 48.831138][ T4619] irq event stamp: 72854 [ 48.832021][ T4619] hardirqs last enabled at (72853): [] __up_console_sem+0xb4/0x100 [ 48.834082][ T4619] hardirqs last disabled at (72854): [] el1_dbg+0x24/0x80 [ 48.835941][ T4619] softirqs last enabled at (72834): [] __do_softirq+0xb5c/0xe20 [ 48.837944][ T4619] softirqs last disabled at (72749): [] __irq_exit_rcu+0x28c/0x534 [ 48.839930][ T4619] ---[ end trace f0df0365feee4a5f ]--- [ 48.845128][ T4619] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 48.847675][ T4619] BTRFS info (device loop0): forced readonly executing program [ 49.129704][ T4639] loop0: detected capacity change from 0 to 32768 [ 49.132849][ T4639] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 scanned by syz-executor138 (4639) [ 49.137242][ T4639] BTRFS info (device loop0): using crc32c (crc32c-generic) checksum algorithm [ 49.139545][ T4639] BTRFS info (device loop0): using free space tree [ 49.140831][ T4639] BTRFS info (device loop0): has skinny extents [ 49.153932][ T4639] BTRFS info (device loop0): enabling ssd optimizations [ 49.162740][ T4639] FAULT_INJECTION: forcing a failure. [ 49.162740][ T4639] name failslab, interval 1, probability 0, space 0, times 0 [ 49.165837][ T4639] CPU: 0 PID: 4639 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 49.168004][ T4639] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 49.170190][ T4639] Call trace: [ 49.170931][ T4639] dump_backtrace+0x0/0x530 [ 49.171967][ T4639] show_stack+0x2c/0x3c [ 49.172832][ T4639] dump_stack_lvl+0x108/0x170 [ 49.173855][ T4639] dump_stack+0x1c/0x58 [ 49.174791][ T4639] should_fail+0x400/0x5cc [ 49.175729][ T4639] __should_failslab+0xbc/0x110 [ 49.176748][ T4639] should_failslab+0x10/0x28 [ 49.177731][ T4639] slab_pre_alloc_hook+0x64/0xe8 [ 49.178785][ T4639] kmem_cache_alloc+0x98/0x45c [ 49.179825][ T4639] btrfs_add_delayed_data_ref+0x1b8/0xe70 [ 49.181119][ T4639] btrfs_alloc_reserved_file_extent+0x264/0x3b8 [ 49.182420][ T4639] btrfs_insert_replace_extent+0x924/0xc04 [ 49.183644][ T4639] btrfs_replace_file_extents+0xb3c/0x1388 [ 49.184886][ T4639] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 49.186136][ T4639] btrfs_prealloc_file_range+0x60/0x7c [ 49.187353][ T4639] btrfs_fallocate+0x166c/0x1954 [ 49.188344][ T4639] vfs_fallocate+0x478/0x5b4 [ 49.189456][ T4639] ioctl_preallocate+0x2a0/0x34c [ 49.190584][ T4639] do_vfs_ioctl+0x1d00/0x2a38 [ 49.191601][ T4639] __arm64_sys_ioctl+0xe4/0x1c8 [ 49.192662][ T4639] invoke_syscall+0x98/0x2b8 [ 49.193644][ T4639] el0_svc_common+0x138/0x258 [ 49.194704][ T4639] do_el0_svc+0x58/0x14c [ 49.195659][ T4639] el0_svc+0x7c/0x1f0 [ 49.196493][ T4639] el0t_64_sync_handler+0x84/0xe4 [ 49.197579][ T4639] el0t_64_sync+0x1a0/0x1a4 [ 49.203585][ T4639] ------------[ cut here ]------------ [ 49.205026][ T4639] WARNING: CPU: 0 PID: 4639 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0xe1c/0x1388 [ 49.207209][ T4639] Modules linked in: [ 49.208015][ T4639] CPU: 0 PID: 4639 Comm: syz-executor138 Tainted: G W 5.15.112-syzkaller #0 [ 49.210160][ T4639] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 49.212304][ T4639] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 49.213918][ T4639] pc : btrfs_replace_file_extents+0xe1c/0x1388 [ 49.215159][ T4639] lr : btrfs_replace_file_extents+0xe1c/0x1388 [ 49.216438][ T4639] sp : ffff80001f167060 [ 49.217325][ T4639] x29: ffff80001f1671c0 x28: ffff0000c7a6a400 x27: 0000000000000000 [ 49.218964][ T4639] x26: dfff800000000000 x25: ffff0000df80ae70 x24: ffff0000df8c6bf0 [ 49.220580][ T4639] x23: 0000000000000fff x22: 00000000fffffff4 x21: 0000000000000000 [ 49.222357][ T4639] x20: 1fffe0001bf015d9 x19: ffff0000df80aec8 x18: 0000000000000001 [ 49.224059][ T4639] x17: ff80800008335ea8 x16: ffff80001194786c x15: ffff800008335ea8 [ 49.225773][ T4639] x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 [ 49.227550][ T4639] x11: ff8080000832d950 x10: 0000000000000000 x9 : d684716a375cfd00 [ 49.229412][ T4639] x8 : d684716a375cfd00 x7 : 0000000000000001 x6 : 0000000000000001 [ 49.231113][ T4639] x5 : ffff80001f1667d8 x4 : ffff8000149afce0 x3 : ffff80000854c9ec [ 49.232817][ T4639] x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 [ 49.234525][ T4639] Call trace: [ 49.235168][ T4639] btrfs_replace_file_extents+0xe1c/0x1388 [ 49.236471][ T4639] __btrfs_prealloc_file_range+0x5ac/0x1164 [ 49.237805][ T4639] btrfs_prealloc_file_range+0x60/0x7c [ 49.238963][ T4639] btrfs_fallocate+0x166c/0x1954 [ 49.240056][ T4639] vfs_fallocate+0x478/0x5b4 [ 49.240998][ T4639] ioctl_preallocate+0x2a0/0x34c [ 49.241964][ T4639] do_vfs_ioctl+0x1d00/0x2a38 [ 49.242965][ T4639] __arm64_sys_ioctl+0xe4/0x1c8 [ 49.243993][ T4639] invoke_syscall+0x98/0x2b8 [ 49.245037][ T4639] el0_svc_common+0x138/0x258 [ 49.245975][ T4639] do_el0_svc+0x58/0x14c [ 49.246892][ T4639] el0_svc+0x7c/0x1f0 [ 49.247784][ T4639] el0t_64_sync_handler+0x84/0xe4 [ 49.248798][ T4639] el0t_64_sync+0x1a0/0x1a4 [ 49.249703][ T4639] irq event stamp: 72044 [ 49.250613][ T4639] hardirqs last enabled at (72043): [] __up_console_sem+0xb4/0x100 [ 49.252533][ T4639] hardirqs last disabled at (72044): [] el1_dbg+0x24/0x80 [ 49.254431][ T4639] softirqs last enabled at (72020): [] __do_softirq+0xb5c/0xe20 [ 49.256324][ T4639] softirqs last disabled at (71945): [] __irq_exit_rcu+0x28c/0x534 [ 49.258609][ T4639] ---[ end trace f0df0365feee4a60 ]--- [ 49.264425][ T4639] BTRFS: error (device loop0) in btrfs_replace_file_extents:2958: errno=-12 Out of memory [ 49.266623][ T4639] BTRFS info (device loop0): forced readonly