./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3073612476 <...> Warning: Permanently added '10.128.1.43' (ED25519) to the list of known hosts. execve("./syz-executor3073612476", ["./syz-executor3073612476"], 0x7ffdb23d5a20 /* 10 vars */) = 0 brk(NULL) = 0x555592c31000 brk(0x555592c31d00) = 0x555592c31d00 arch_prctl(ARCH_SET_FS, 0x555592c31380) = 0 set_tid_address(0x555592c31650) = 5824 set_robust_list(0x555592c31660, 24) = 0 rseq(0x555592c31ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3073612476", 4096) = 28 getrandom("\x06\xc9\xfb\xec\xba\x67\xa9\x45", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555592c31d00 brk(0x555592c52d00) = 0x555592c52d00 brk(0x555592c53000) = 0x555592c53000 mprotect(0x7f45f3728000, 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 executing program write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f45eb200000 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(0x7f45eb200000, 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 [ 76.037909][ T5824] loop0: detected capacity change from 0 to 32768 [ 76.080277][ T5824] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz-executor307 (5824) [ 76.114203][ T5824] BTRFS info (device loop0): first mount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2 [ 76.124735][ T5824] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 76.134506][ T5824] BTRFS info (device loop0): disk space caching is enabled [ 76.142501][ T5824] 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 [ 76.262581][ T5824] BTRFS info (device loop0): rebuilding free space tree [ 76.284455][ T5824] BTRFS info (device loop0): disabling free space tree [ 76.291532][ T5824] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 76.301655][ T5824] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 76.376906][ T5824] BTRFS info (device loop0): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 [ 76.393816][ T5824] ------------[ cut here ]------------ [ 76.399595][ T5824] BTRFS: Transaction aborted (error -28) [ 76.405828][ T5824] WARNING: CPU: 0 PID: 5824 at fs/btrfs/block-group.c:2752 btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.417457][ T5824] Modules linked in: [ 76.421604][ T5824] CPU: 0 UID: 0 PID: 5824 Comm: syz-executor307 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 [ 76.432913][ T5824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 76.443140][ T5824] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.451385][ T5824] Code: c0 fd 4c 89 f7 be 03 00 00 00 e8 c2 db db 00 e9 86 f9 ff ff e8 68 e2 c0 fd 90 48 c7 c7 a0 92 4d 8c 44 89 f6 e8 d8 85 81 fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 49 e2 c0 fd 90 48 c7 c7 a0 92 4d 8c [ 76.471480][ T5824] RSP: 0018:ffffc900037ef6a0 EFLAGS: 00010246 [ 76.477618][ T5824] RAX: 267f5cffafd44e00 RBX: ffff88807aac4001 RCX: ffff88802fb33c00 [ 76.486022][ T5824] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 76.494427][ T5824] RBP: ffffc900037ef960 R08: ffffffff816019a2 R09: 1ffff920006fde70 [ 76.502839][ T5824] R10: dffffc0000000000 R11: fffff520006fde71 R12: 0000000000000000 [ 76.511096][ T5824] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff8880282e89c0 [ 76.519177][ T5824] FS: 0000555592c31380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 76.528392][ T5824] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 76.535035][ T5824] CR2: 000055dbb6edd000 CR3: 000000006f01c000 CR4: 00000000003526f0 [ 76.543144][ T5824] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 76.551310][ T5824] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 76.559388][ T5824] Call Trace: [ 76.562713][ T5824] [ 76.565684][ T5824] ? __warn+0x165/0x4d0 [ 76.570101][ T5824] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.576820][ T5824] ? report_bug+0x2b3/0x500 [ 76.581409][ T5824] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.588180][ T5824] ? handle_bug+0x60/0x90 [ 76.592524][ T5824] ? exc_invalid_op+0x1a/0x50 [ 76.597205][ T5824] ? asm_exc_invalid_op+0x1a/0x20 [ 76.602324][ T5824] ? __warn_printk+0x292/0x360 [ 76.607134][ T5824] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.613957][ T5824] ? btrfs_inc_block_group_ro+0x640/0x700 [ 76.619748][ T5824] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10 [ 76.626618][ T5824] ? btrfs_block_rsv_add+0xd0/0xf0 [ 76.631837][ T5824] ? __pfx_lock_release+0x10/0x10 [ 76.636893][ T5824] ? do_raw_spin_lock+0x14f/0x370 [ 76.641999][ T5824] ? __mutex_unlock_slowpath+0x21e/0x790 [ 76.647677][ T5824] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 76.653782][ T5824] ? btrfs_trans_release_metadata+0x233/0x330 [ 76.659963][ T5824] __btrfs_end_transaction+0x150/0x630 [ 76.665444][ T5824] btrfs_inc_block_group_ro+0x648/0x700 [ 76.671174][ T5824] btrfs_relocate_block_group+0x440/0xd90 [ 76.676955][ T5824] btrfs_relocate_chunk+0x12c/0x3b0 [ 76.682296][ T5824] __btrfs_balance+0x1b0f/0x26b0 [ 76.687320][ T5824] ? describe_balance_start_or_resume+0x44c/0x490 [ 76.693874][ T5824] ? __pfx___btrfs_balance+0x10/0x10 [ 76.699251][ T5824] ? __wait_for_common+0x630/0x6e0 [ 76.704450][ T5824] btrfs_balance+0xbdc/0x10c0 [ 76.709255][ T5824] btrfs_ioctl_balance+0x493/0x7c0 [ 76.714418][ T5824] ? __pfx_btrfs_ioctl+0x10/0x10 [ 76.719460][ T5824] __se_sys_ioctl+0xf5/0x170 [ 76.724090][ T5824] do_syscall_64+0xf3/0x230 [ 76.728695][ T5824] ? clear_bhb_loop+0x35/0x90 [ 76.733427][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.739406][ T5824] RIP: 0033:0x7f45f36b09c9 [ 76.743867][ T5824] 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 [ 76.763667][ T5824] RSP: 002b:00007ffe35812cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 76.772190][ T5824] RAX: ffffffffffffffda RBX: 00007ffe35812ea8 RCX: 00007f45f36b09c9 [ 76.780262][ T5824] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 [ 76.788478][ T5824] RBP: 00007f45f3728610 R08: 00000000000051a5 R09: 00007ffe35812ea8 [ 76.796479][ T5824] R10: 00007ffe35812b90 R11: 0000000000000246 R12: 0000000000000001 [ 76.804631][ T5824] R13: 00007ffe35812e98 R14: 0000000000000001 R15: 0000000000000001 [ 76.812786][ T5824] [ 76.815824][ T5824] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 76.823126][ T5824] CPU: 0 UID: 0 PID: 5824 Comm: syz-executor307 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 [ 76.834346][ T5824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 76.844587][ T5824] Call Trace: [ 76.847879][ T5824] [ 76.850820][ T5824] dump_stack_lvl+0x241/0x360 [ 76.855733][ T5824] ? __pfx_dump_stack_lvl+0x10/0x10 [ 76.860950][ T5824] ? __pfx__printk+0x10/0x10 [ 76.865553][ T5824] ? _printk+0xd5/0x120 [ 76.869726][ T5824] ? __init_begin+0x41000/0x41000 [ 76.874768][ T5824] ? vscnprintf+0x5d/0x90 [ 76.879121][ T5824] panic+0x349/0x880 [ 76.883058][ T5824] ? __warn+0x174/0x4d0 [ 76.887236][ T5824] ? __pfx_panic+0x10/0x10 [ 76.891710][ T5824] __warn+0x344/0x4d0 [ 76.895731][ T5824] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.902426][ T5824] report_bug+0x2b3/0x500 [ 76.906783][ T5824] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.913492][ T5824] handle_bug+0x60/0x90 [ 76.917664][ T5824] exc_invalid_op+0x1a/0x50 [ 76.922206][ T5824] asm_exc_invalid_op+0x1a/0x20 [ 76.927105][ T5824] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 [ 76.934425][ T5824] Code: c0 fd 4c 89 f7 be 03 00 00 00 e8 c2 db db 00 e9 86 f9 ff ff e8 68 e2 c0 fd 90 48 c7 c7 a0 92 4d 8c 44 89 f6 e8 d8 85 81 fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 49 e2 c0 fd 90 48 c7 c7 a0 92 4d 8c [ 76.954050][ T5824] RSP: 0018:ffffc900037ef6a0 EFLAGS: 00010246 [ 76.960158][ T5824] RAX: 267f5cffafd44e00 RBX: ffff88807aac4001 RCX: ffff88802fb33c00 [ 76.968144][ T5824] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 76.976126][ T5824] RBP: ffffc900037ef960 R08: ffffffff816019a2 R09: 1ffff920006fde70 [ 76.984116][ T5824] R10: dffffc0000000000 R11: fffff520006fde71 R12: 0000000000000000 [ 76.992121][ T5824] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff8880282e89c0 [ 77.000136][ T5824] ? __warn_printk+0x292/0x360 [ 77.004954][ T5824] ? btrfs_inc_block_group_ro+0x640/0x700 [ 77.010696][ T5824] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10 [ 77.017569][ T5824] ? btrfs_block_rsv_add+0xd0/0xf0 [ 77.022708][ T5824] ? __pfx_lock_release+0x10/0x10 [ 77.027746][ T5824] ? do_raw_spin_lock+0x14f/0x370 [ 77.032801][ T5824] ? __mutex_unlock_slowpath+0x21e/0x790 [ 77.038463][ T5824] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 77.044472][ T5824] ? btrfs_trans_release_metadata+0x233/0x330 [ 77.050618][ T5824] __btrfs_end_transaction+0x150/0x630 [ 77.056103][ T5824] btrfs_inc_block_group_ro+0x648/0x700 [ 77.061670][ T5824] btrfs_relocate_block_group+0x440/0xd90 [ 77.067422][ T5824] btrfs_relocate_chunk+0x12c/0x3b0 [ 77.072735][ T5824] __btrfs_balance+0x1b0f/0x26b0 [ 77.077711][ T5824] ? describe_balance_start_or_resume+0x44c/0x490 [ 77.084164][ T5824] ? __pfx___btrfs_balance+0x10/0x10 [ 77.089484][ T5824] ? __wait_for_common+0x630/0x6e0 [ 77.094627][ T5824] btrfs_balance+0xbdc/0x10c0 [ 77.099339][ T5824] btrfs_ioctl_balance+0x493/0x7c0 [ 77.104473][ T5824] ? __pfx_btrfs_ioctl+0x10/0x10 [ 77.109442][ T5824] __se_sys_ioctl+0xf5/0x170 [ 77.114082][ T5824] do_syscall_64+0xf3/0x230 [ 77.118633][ T5824] ? clear_bhb_loop+0x35/0x90 [ 77.123341][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.129266][ T5824] RIP: 0033:0x7f45f36b09c9 [ 77.133697][ T5824] 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 [ 77.153415][ T5824] RSP: 002b:00007ffe35812cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 77.161888][ T5824] RAX: ffffffffffffffda RBX: 00007ffe35812ea8 RCX: 00007f45f36b09c9 [ 77.169876][ T5824] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 [ 77.177887][ T5824] RBP: 00007f45f3728610 R08: 00000000000051a5 R09: 00007ffe35812ea8 [ 77.185910][ T5824] R10: 00007ffe35812b90 R11: 0000000000000246 R12: 0000000000000001 [ 77.193902][ T5824] R13: 00007ffe35812e98 R14: 0000000000000001 R15: 0000000000000001 [ 77.201912][ T5824] [ 77.205079][ T5824] Kernel Offset: disabled [ 77.209462][ T5824] Rebooting in 86400 seconds..