./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor245557310
<...>
Warning: Permanently added '10.128.0.245' (ED25519) to the list of known hosts.
execve("./syz-executor245557310", ["./syz-executor245557310"], 0x7ffd1e5a4f90 /* 10 vars */) = 0
brk(NULL) = 0x555561a01000
brk(0x555561a01d00) = 0x555561a01d00
arch_prctl(ARCH_SET_FS, 0x555561a01380) = 0
set_tid_address(0x555561a01650) = 5820
set_robust_list(0x555561a01660, 24) = 0
rseq(0x555561a01ca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor245557310", 4096) = 27
getrandom("\xc3\x40\x4e\x43\x5f\xd7\xc8\x29", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x555561a01d00
brk(0x555561a22d00) = 0x555561a22d00
brk(0x555561a23000) = 0x555561a23000
mprotect(0x7f13c88c4000, 16384, PROT_READ) = 0
mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000
mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000
mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000
write(1, "executing program\n", 18executing program
) = 18
memfd_create("syzkaller", 0) = 3
mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f13c0400000
write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216
munmap(0x7f13c0400000, 138412032) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
close(4) = 0
mkdir("./file0", 0777) = 0
[ 64.109968][ T5820] loop0: detected capacity change from 0 to 32768
[ 64.154026][ T5820] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz-executor245 (5820)
[ 64.185793][ T5820] BTRFS info (device loop0): first mount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2
[ 64.196758][ T5820] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm
[ 64.206735][ T5820] BTRFS info (device loop0): disk space caching is enabled
[ 64.214989][ T5820] BTRFS warning (device loop0): space cache v1 is being deprecated and will be removed in a future release, please use -o space_cache=v2
mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_NOATIME|MS_REC|MS_RELATIME|MS_STRICTATIME, "compress-force,clear_cache,nodatasum,nossd,degraded,space_cache=v1,") = 0
openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_CLR_FD) = 0
close(4) = 0
[ 64.309976][ T5820] BTRFS info (device loop0): rebuilding free space tree
[ 64.328688][ T5820] BTRFS info (device loop0): disabling free space tree
[ 64.336410][ T5820] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1)
[ 64.346285][ T5820] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2)
[ 64.389205][ T5820] BTRFS info (device loop0): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104
[ 64.406069][ T5820] ------------[ cut here ]------------
[ 64.411757][ T5820] BTRFS: Transaction aborted (error -28)
[ 64.418212][ T5820] WARNING: CPU: 1 PID: 5820 at fs/btrfs/block-group.c:2752 btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.429926][ T5820] Modules linked in:
[ 64.433892][ T5820] CPU: 1 UID: 0 PID: 5820 Comm: syz-executor245 Not tainted 6.13.0-rc1-syzkaller-00005-gceb8bf2ceaa7 #0
[ 64.445099][ T5820] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 64.455275][ T5820] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.462740][ T5820] Code: ba fd 4c 89 f7 be 03 00 00 00 e8 b2 b5 dc 00 e9 86 f9 ff ff e8 68 4f ba fd 90 48 c7 c7 00 4e 4d 8c 44 89 f6 e8 18 f6 7a fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 49 4f ba fd 90 48 c7 c7 00 4e 4d 8c
[ 64.482466][ T5820] RSP: 0018:ffffc900038676a0 EFLAGS: 00010246
[ 64.488571][ T5820] RAX: a3953d4358371e00 RBX: ffff888077994001 RCX: ffff8880245c1e00
[ 64.496657][ T5820] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
[ 64.504736][ T5820] RBP: ffffc90003867960 R08: ffffffff81601b22 R09: 1ffff9200070ce70
[ 64.512804][ T5820] R10: dffffc0000000000 R11: fffff5200070ce71 R12: 0000000000000000
[ 64.520853][ T5820] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888027e839c0
[ 64.528853][ T5820] FS: 0000555561a01380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
[ 64.537966][ T5820] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 64.544667][ T5820] CR2: 00007ffc64b87f7c CR3: 0000000076634000 CR4: 00000000003526f0
[ 64.552740][ T5820] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 64.560991][ T5820] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 64.569000][ T5820] Call Trace:
[ 64.572550][ T5820]
[ 64.575498][ T5820] ? __warn+0x165/0x4d0
[ 64.579891][ T5820] ? btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.586592][ T5820] ? report_bug+0x2b3/0x500
[ 64.591194][ T5820] ? btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.597895][ T5820] ? handle_bug+0x60/0x90
[ 64.602300][ T5820] ? exc_invalid_op+0x1a/0x50
[ 64.607030][ T5820] ? asm_exc_invalid_op+0x1a/0x20
[ 64.612168][ T5820] ? __warn_printk+0x292/0x360
[ 64.616961][ T5820] ? btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.623741][ T5820] ? btrfs_inc_block_group_ro+0x640/0x700
[ 64.629548][ T5820] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10
[ 64.636418][ T5820] ? btrfs_block_rsv_add+0xd0/0xf0
[ 64.641631][ T5820] ? __pfx_lock_release+0x10/0x10
[ 64.646676][ T5820] ? do_raw_spin_lock+0x14f/0x370
[ 64.651750][ T5820] ? __mutex_unlock_slowpath+0x21e/0x790
[ 64.657409][ T5820] ? __pfx___mutex_unlock_slowpath+0x10/0x10
[ 64.663486][ T5820] ? btrfs_trans_release_metadata+0x233/0x330
[ 64.669632][ T5820] __btrfs_end_transaction+0x150/0x630
[ 64.675148][ T5820] btrfs_inc_block_group_ro+0x648/0x700
[ 64.680775][ T5820] btrfs_relocate_block_group+0x440/0xd90
[ 64.686553][ T5820] btrfs_relocate_chunk+0x12c/0x3b0
[ 64.691807][ T5820] __btrfs_balance+0x1b0f/0x26b0
[ 64.696796][ T5820] ? describe_balance_start_or_resume+0x44c/0x490
[ 64.703321][ T5820] ? __pfx___btrfs_balance+0x10/0x10
[ 64.708628][ T5820] ? __pfx_mutex_unlock+0x10/0x10
[ 64.713766][ T5820] btrfs_balance+0xbdc/0x10c0
[ 64.718473][ T5820] btrfs_ioctl_balance+0x493/0x7c0
[ 64.723699][ T5820] ? __pfx_btrfs_ioctl+0x10/0x10
[ 64.728672][ T5820] __se_sys_ioctl+0xf5/0x170
[ 64.733351][ T5820] do_syscall_64+0xf3/0x230
[ 64.737881][ T5820] ? clear_bhb_loop+0x35/0x90
[ 64.742671][ T5820] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 64.748587][ T5820] RIP: 0033:0x7f13c884c9c9
[ 64.753058][ T5820] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 64.772726][ T5820] RSP: 002b:00007fff410226a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 64.781197][ T5820] RAX: ffffffffffffffda RBX: 00007fff41022878 RCX: 00007f13c884c9c9
[ 64.789214][ T5820] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003
[ 64.797422][ T5820] RBP: 00007f13c88c4610 R08: 00000000000051a5 R09: 00007fff41022878
[ 64.805451][ T5820] R10: 00007fff41022560 R11: 0000000000000246 R12: 0000000000000001
[ 64.813505][ T5820] R13: 00007fff41022868 R14: 0000000000000001 R15: 0000000000000001
[ 64.821538][ T5820]
[ 64.824582][ T5820] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 64.831858][ T5820] CPU: 1 UID: 0 PID: 5820 Comm: syz-executor245 Not tainted 6.13.0-rc1-syzkaller-00005-gceb8bf2ceaa7 #0
[ 64.842949][ T5820] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 64.853017][ T5820] Call Trace:
[ 64.856288][ T5820]
[ 64.859207][ T5820] dump_stack_lvl+0x241/0x360
[ 64.863880][ T5820] ? __pfx_dump_stack_lvl+0x10/0x10
[ 64.869080][ T5820] ? __pfx__printk+0x10/0x10
[ 64.873658][ T5820] ? _printk+0xd5/0x120
[ 64.877803][ T5820] ? __init_begin+0x41000/0x41000
[ 64.882828][ T5820] ? vscnprintf+0x5d/0x90
[ 64.887145][ T5820] panic+0x349/0x880
[ 64.891027][ T5820] ? __warn+0x174/0x4d0
[ 64.895180][ T5820] ? __pfx_panic+0x10/0x10
[ 64.899619][ T5820] __warn+0x344/0x4d0
[ 64.903595][ T5820] ? btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.910264][ T5820] report_bug+0x2b3/0x500
[ 64.914584][ T5820] ? btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.921262][ T5820] handle_bug+0x60/0x90
[ 64.925419][ T5820] exc_invalid_op+0x1a/0x50
[ 64.929924][ T5820] asm_exc_invalid_op+0x1a/0x20
[ 64.934776][ T5820] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710
[ 64.942057][ T5820] Code: ba fd 4c 89 f7 be 03 00 00 00 e8 b2 b5 dc 00 e9 86 f9 ff ff e8 68 4f ba fd 90 48 c7 c7 00 4e 4d 8c 44 89 f6 e8 18 f6 7a fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 49 4f ba fd 90 48 c7 c7 00 4e 4d 8c
[ 64.961659][ T5820] RSP: 0018:ffffc900038676a0 EFLAGS: 00010246
[ 64.967732][ T5820] RAX: a3953d4358371e00 RBX: ffff888077994001 RCX: ffff8880245c1e00
[ 64.975702][ T5820] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
[ 64.983669][ T5820] RBP: ffffc90003867960 R08: ffffffff81601b22 R09: 1ffff9200070ce70
[ 64.991639][ T5820] R10: dffffc0000000000 R11: fffff5200070ce71 R12: 0000000000000000
[ 64.999605][ T5820] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888027e839c0
[ 65.007579][ T5820] ? __warn_printk+0x292/0x360
[ 65.012379][ T5820] ? btrfs_inc_block_group_ro+0x640/0x700
[ 65.018096][ T5820] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10
[ 65.024947][ T5820] ? btrfs_block_rsv_add+0xd0/0xf0
[ 65.030058][ T5820] ? __pfx_lock_release+0x10/0x10
[ 65.035078][ T5820] ? do_raw_spin_lock+0x14f/0x370
[ 65.040103][ T5820] ? __mutex_unlock_slowpath+0x21e/0x790
[ 65.045742][ T5820] ? __pfx___mutex_unlock_slowpath+0x10/0x10
[ 65.051730][ T5820] ? btrfs_trans_release_metadata+0x233/0x330
[ 65.057800][ T5820] __btrfs_end_transaction+0x150/0x630
[ 65.063264][ T5820] btrfs_inc_block_group_ro+0x648/0x700
[ 65.068839][ T5820] btrfs_relocate_block_group+0x440/0xd90
[ 65.074569][ T5820] btrfs_relocate_chunk+0x12c/0x3b0
[ 65.079768][ T5820] __btrfs_balance+0x1b0f/0x26b0
[ 65.084719][ T5820] ? describe_balance_start_or_resume+0x44c/0x490
[ 65.091144][ T5820] ? __pfx___btrfs_balance+0x10/0x10
[ 65.096428][ T5820] ? __pfx_mutex_unlock+0x10/0x10
[ 65.101465][ T5820] btrfs_balance+0xbdc/0x10c0
[ 65.106157][ T5820] btrfs_ioctl_balance+0x493/0x7c0
[ 65.111361][ T5820] ? __pfx_btrfs_ioctl+0x10/0x10
[ 65.116300][ T5820] __se_sys_ioctl+0xf5/0x170
[ 65.120891][ T5820] do_syscall_64+0xf3/0x230
[ 65.125396][ T5820] ? clear_bhb_loop+0x35/0x90
[ 65.130076][ T5820] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 65.135969][ T5820] RIP: 0033:0x7f13c884c9c9
[ 65.140383][ T5820] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 65.159984][ T5820] RSP: 002b:00007fff410226a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 65.168399][ T5820] RAX: ffffffffffffffda RBX: 00007fff41022878 RCX: 00007f13c884c9c9
[ 65.176372][ T5820] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003
[ 65.184350][ T5820] RBP: 00007f13c88c4610 R08: 00000000000051a5 R09: 00007fff41022878
[ 65.192316][ T5820] R10: 00007fff41022560 R11: 0000000000000246 R12: 0000000000000001
[ 65.200283][ T5820] R13: 00007fff41022868 R14: 0000000000000001 R15: 0000000000000001
[ 65.208263][ T5820]
[ 65.211659][ T5820] Kernel Offset: disabled
[ 65.216029][ T5820] Rebooting in 86400 seconds..