./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor917422255 <...> Warning: Permanently added '10.128.1.42' (ED25519) to the list of known hosts. execve("./syz-executor917422255", ["./syz-executor917422255"], 0x7ffcb4e6af90 /* 10 vars */) = 0 brk(NULL) = 0x555565e04000 brk(0x555565e04d00) = 0x555565e04d00 arch_prctl(ARCH_SET_FS, 0x555565e04380) = 0 set_tid_address(0x555565e04650) = 5826 set_robust_list(0x555565e04660, 24) = 0 rseq(0x555565e04ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor917422255", 4096) = 27 getrandom("\xe1\x41\x6b\xdb\xbe\xd5\xb4\xe7", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555565e04d00 brk(0x555565e25d00) = 0x555565e25d00 brk(0x555565e26000) = 0x555565e26000 mprotect(0x7f8416d95000, 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) = 0x7f840e800000 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(0x7f840e800000, 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 [ 58.514033][ T5826] loop0: detected capacity change from 0 to 32768 [ 58.557076][ T5826] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz-executor917 (5826) [ 58.581701][ T5826] BTRFS info (device loop0): first mount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2 [ 58.592682][ T5826] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 58.603373][ T5826] BTRFS info (device loop0): disk space caching is enabled [ 58.610732][ T5826] 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 [ 58.699415][ T5826] BTRFS info (device loop0): rebuilding free space tree [ 58.717188][ T5826] BTRFS info (device loop0): disabling free space tree [ 58.724370][ T5826] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 58.734147][ T5826] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [ 58.762848][ T5826] BTRFS info (device loop0): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 [ 58.780560][ T5826] ------------[ cut here ]------------ [ 58.786374][ T5826] BTRFS: Transaction aborted (error -28) [ 58.792540][ T5826] WARNING: CPU: 0 PID: 5826 at fs/btrfs/block-group.c:2752 btrfs_create_pending_block_groups+0x14f9/0x1710 [ 58.804109][ T5826] Modules linked in: [ 58.808055][ T5826] CPU: 0 UID: 0 PID: 5826 Comm: syz-executor917 Not tainted 6.12.0-syzkaller #0 [ 58.817239][ T5826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 58.827413][ T5826] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 [ 58.834809][ T5826] Code: bb fd 4c 89 f7 be 03 00 00 00 e8 12 22 dc 00 e9 86 f9 ff ff e8 e8 d2 bb fd 90 48 c7 c7 c0 ac 4e 8c 44 89 f6 e8 b8 c8 7c fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 c9 d2 bb fd 90 48 c7 c7 c0 ac 4e 8c [ 58.854515][ T5826] RSP: 0018:ffffc9000254f6a0 EFLAGS: 00010246 [ 58.860621][ T5826] RAX: a4a274dcadce5e00 RBX: ffff88807aaac001 RCX: ffff88807bb79e00 [ 58.868697][ T5826] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 58.876746][ T5826] RBP: ffffc9000254f960 R08: ffffffff8155e222 R09: 1ffff920004a9e70 [ 58.884804][ T5826] R10: dffffc0000000000 R11: fffff520004a9e71 R12: 0000000000000000 [ 58.892806][ T5826] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff8880273059c0 [ 58.900881][ T5826] FS: 0000555565e04380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 58.909889][ T5826] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.916565][ T5826] CR2: 00007ffcb4e68ff8 CR3: 0000000074dfe000 CR4: 00000000003526f0 [ 58.924704][ T5826] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 58.932705][ T5826] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 58.940774][ T5826] Call Trace: [ 58.944110][ T5826] [ 58.947056][ T5826] ? __warn+0x168/0x4e0 [ 58.951206][ T5826] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 58.957942][ T5826] ? report_bug+0x2b3/0x500 [ 58.962472][ T5826] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 58.969226][ T5826] ? handle_bug+0x60/0x90 [ 58.973638][ T5826] ? exc_invalid_op+0x1a/0x50 [ 58.978353][ T5826] ? asm_exc_invalid_op+0x1a/0x20 [ 58.983431][ T5826] ? __warn_printk+0x292/0x360 [ 58.988241][ T5826] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 58.995031][ T5826] ? btrfs_inc_block_group_ro+0x640/0x700 [ 59.000777][ T5826] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10 [ 59.007688][ T5826] ? btrfs_block_rsv_add+0xd0/0xf0 [ 59.012833][ T5826] ? __pfx_lock_release+0x10/0x10 [ 59.017937][ T5826] ? do_raw_spin_lock+0x14f/0x370 [ 59.022984][ T5826] ? __mutex_unlock_slowpath+0x21d/0x750 [ 59.028691][ T5826] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 59.034720][ T5826] ? btrfs_trans_release_metadata+0x233/0x330 [ 59.040781][ T5826] __btrfs_end_transaction+0x150/0x630 [ 59.046286][ T5826] btrfs_inc_block_group_ro+0x648/0x700 [ 59.051858][ T5826] btrfs_relocate_block_group+0x440/0xd90 [ 59.057649][ T5826] btrfs_relocate_chunk+0x12c/0x3b0 [ 59.062866][ T5826] __btrfs_balance+0x1b0f/0x26b0 [ 59.067869][ T5826] ? describe_balance_start_or_resume+0x44c/0x490 [ 59.074339][ T5826] ? __pfx___btrfs_balance+0x10/0x10 [ 59.079617][ T5826] ? __wait_for_common+0x6b0/0x6e0 [ 59.084785][ T5826] btrfs_balance+0xbdc/0x10c0 [ 59.089491][ T5826] btrfs_ioctl_balance+0x493/0x7c0 [ 59.094665][ T5826] ? __pfx_btrfs_ioctl+0x10/0x10 [ 59.099622][ T5826] __se_sys_ioctl+0xf9/0x170 [ 59.104274][ T5826] do_syscall_64+0xf3/0x230 [ 59.108817][ T5826] ? clear_bhb_loop+0x35/0x90 [ 59.113568][ T5826] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.119489][ T5826] RIP: 0033:0x7f8416d1d9c9 [ 59.124013][ T5826] 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 [ 59.143676][ T5826] RSP: 002b:00007ffeef42d2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 59.152104][ T5826] RAX: ffffffffffffffda RBX: 00007ffeef42d4b8 RCX: 00007f8416d1d9c9 [ 59.160130][ T5826] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 [ 59.168149][ T5826] RBP: 00007f8416d95610 R08: 00000000000051a5 R09: 00007ffeef42d4b8 [ 59.176157][ T5826] R10: 00007ffeef42d1a0 R11: 0000000000000246 R12: 0000000000000001 [ 59.184183][ T5826] R13: 00007ffeef42d4a8 R14: 0000000000000001 R15: 0000000000000001 [ 59.192164][ T5826] [ 59.195231][ T5826] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 59.202519][ T5826] CPU: 0 UID: 0 PID: 5826 Comm: syz-executor917 Not tainted 6.12.0-syzkaller #0 [ 59.211526][ T5826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 59.221573][ T5826] Call Trace: [ 59.224843][ T5826] [ 59.227764][ T5826] dump_stack_lvl+0x241/0x360 [ 59.232458][ T5826] ? __pfx_dump_stack_lvl+0x10/0x10 [ 59.237646][ T5826] ? __pfx__printk+0x10/0x10 [ 59.242229][ T5826] ? vscnprintf+0x5d/0x90 [ 59.246549][ T5826] panic+0x349/0x880 [ 59.250433][ T5826] ? __warn+0x177/0x4e0 [ 59.254583][ T5826] ? __pfx_panic+0x10/0x10 [ 59.259035][ T5826] __warn+0x34b/0x4e0 [ 59.263012][ T5826] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 59.269689][ T5826] report_bug+0x2b3/0x500 [ 59.274016][ T5826] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 59.280690][ T5826] handle_bug+0x60/0x90 [ 59.284843][ T5826] exc_invalid_op+0x1a/0x50 [ 59.289342][ T5826] asm_exc_invalid_op+0x1a/0x20 [ 59.294539][ T5826] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 [ 59.301817][ T5826] Code: bb fd 4c 89 f7 be 03 00 00 00 e8 12 22 dc 00 e9 86 f9 ff ff e8 e8 d2 bb fd 90 48 c7 c7 c0 ac 4e 8c 44 89 f6 e8 b8 c8 7c fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 c9 d2 bb fd 90 48 c7 c7 c0 ac 4e 8c [ 59.321422][ T5826] RSP: 0018:ffffc9000254f6a0 EFLAGS: 00010246 [ 59.327490][ T5826] RAX: a4a274dcadce5e00 RBX: ffff88807aaac001 RCX: ffff88807bb79e00 [ 59.335456][ T5826] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 59.343425][ T5826] RBP: ffffc9000254f960 R08: ffffffff8155e222 R09: 1ffff920004a9e70 [ 59.351388][ T5826] R10: dffffc0000000000 R11: fffff520004a9e71 R12: 0000000000000000 [ 59.359355][ T5826] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff8880273059c0 [ 59.367327][ T5826] ? __warn_printk+0x292/0x360 [ 59.372124][ T5826] ? btrfs_inc_block_group_ro+0x640/0x700 [ 59.377845][ T5826] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10 [ 59.384700][ T5826] ? btrfs_block_rsv_add+0xd0/0xf0 [ 59.389816][ T5826] ? __pfx_lock_release+0x10/0x10 [ 59.394838][ T5826] ? do_raw_spin_lock+0x14f/0x370 [ 59.399862][ T5826] ? __mutex_unlock_slowpath+0x21d/0x750 [ 59.405500][ T5826] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 59.411483][ T5826] ? btrfs_trans_release_metadata+0x233/0x330 [ 59.417559][ T5826] __btrfs_end_transaction+0x150/0x630 [ 59.423030][ T5826] btrfs_inc_block_group_ro+0x648/0x700 [ 59.428586][ T5826] btrfs_relocate_block_group+0x440/0xd90 [ 59.434317][ T5826] btrfs_relocate_chunk+0x12c/0x3b0 [ 59.439513][ T5826] __btrfs_balance+0x1b0f/0x26b0 [ 59.444460][ T5826] ? describe_balance_start_or_resume+0x44c/0x490 [ 59.450881][ T5826] ? __pfx___btrfs_balance+0x10/0x10 [ 59.456165][ T5826] ? __wait_for_common+0x6b0/0x6e0 [ 59.461287][ T5826] btrfs_balance+0xbdc/0x10c0 [ 59.465993][ T5826] btrfs_ioctl_balance+0x493/0x7c0 [ 59.471099][ T5826] ? __pfx_btrfs_ioctl+0x10/0x10 [ 59.476034][ T5826] __se_sys_ioctl+0xf9/0x170 [ 59.480624][ T5826] do_syscall_64+0xf3/0x230 [ 59.485128][ T5826] ? clear_bhb_loop+0x35/0x90 [ 59.489805][ T5826] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.495694][ T5826] RIP: 0033:0x7f8416d1d9c9 [ 59.500106][ T5826] 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 [ 59.519710][ T5826] RSP: 002b:00007ffeef42d2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 59.528122][ T5826] RAX: ffffffffffffffda RBX: 00007ffeef42d4b8 RCX: 00007f8416d1d9c9 [ 59.536087][ T5826] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 [ 59.544053][ T5826] RBP: 00007f8416d95610 R08: 00000000000051a5 R09: 00007ffeef42d4b8 [ 59.552019][ T5826] R10: 00007ffeef42d1a0 R11: 0000000000000246 R12: 0000000000000001 [ 59.559980][ T5826] R13: 00007ffeef42d4a8 R14: 0000000000000001 R15: 0000000000000001 [ 59.567956][ T5826] [ 59.571217][ T5826] Kernel Offset: disabled [ 59.575577][ T5826] Rebooting in 86400 seconds..