./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3735935657 <...> Warning: Permanently added '10.128.0.167' (ED25519) to the list of known hosts. execve("./syz-executor3735935657", ["./syz-executor3735935657"], 0x7fffc9003d70 /* 10 vars */) = 0 brk(NULL) = 0x55556df7e000 brk(0x55556df7ed00) = 0x55556df7ed00 arch_prctl(ARCH_SET_FS, 0x55556df7e380) = 0 set_tid_address(0x55556df7e650) = 5832 set_robust_list(0x55556df7e660, 24) = 0 rseq(0x55556df7eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3735935657", 4096) = 28 getrandom("\x7c\x52\x6e\xe5\x1b\x63\x26\xe1", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556df7ed00 brk(0x55556df9fd00) = 0x55556df9fd00 brk(0x55556dfa0000) = 0x55556dfa0000 mprotect(0x7fc2176e0000, 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 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556df7e650) = 5833 ./strace-static-x86_64: Process 5833 attached [pid 5833] set_robust_list(0x55556df7e660, 24) = 0 [pid 5833] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5833] setpgid(0, 0) = 0 [pid 5833] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5833] write(3, "1000", 4) = 4 [pid 5833] close(3) = 0 [pid 5833] write(1, "executing program\n", 18executing program ) = 18 [pid 5833] memfd_create("syzkaller", 0) = 3 [pid 5833] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc20f200000 [pid 5833] 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 [pid 5833] munmap(0x7fc20f200000, 138412032) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5833] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5833] close(3) = 0 [pid 5833] close(4) = 0 [pid 5833] mkdir("./file0", 0777) = 0 [ 60.868015][ T5833] loop0: detected capacity change from 0 to 32768 [ 60.905026][ T5833] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz-executor373 (5833) [ 60.928128][ T5833] BTRFS info (device loop0): first mount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2 [ 60.938997][ T5833] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 60.955388][ T5833] BTRFS info (device loop0): disk space caching is enabled [ 60.963680][ T5833] BTRFS warning (device loop0): space cache v1 is being deprecated and will be removed in a future release, please use -o space_cache=v2 [pid 5833] 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 [pid 5833] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5833] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5833] ioctl(4, LOOP_CLR_FD) = 0 [pid 5833] close(4) = 0 [ 61.039440][ T5833] BTRFS info (device loop0): rebuilding free space tree [ 61.057386][ T5833] BTRFS info (device loop0): disabling free space tree [ 61.064305][ T5833] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 61.075579][ T5833] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [ 61.125903][ T5833] BTRFS info (device loop0): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 [ 61.142189][ T5833] ------------[ cut here ]------------ [ 61.147950][ T5833] BTRFS: Transaction aborted (error -28) [ 61.154386][ T5833] WARNING: CPU: 0 PID: 5833 at fs/btrfs/block-group.c:2752 btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.165887][ T5833] Modules linked in: [ 61.169907][ T5833] CPU: 0 UID: 0 PID: 5833 Comm: syz-executor373 Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0 [ 61.180842][ T5833] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 61.191087][ T5833] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.198454][ T5833] Code: bb fd 4c 89 f7 be 03 00 00 00 e8 d2 1c dc 00 e9 86 f9 ff ff e8 f8 4e bb fd 90 48 c7 c7 00 bb 4e 8c 44 89 f6 e8 68 3e 7c fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 d9 4e bb fd 90 48 c7 c7 00 bb 4e 8c [ 61.218178][ T5833] RSP: 0018:ffffc90003f076a0 EFLAGS: 00010246 [ 61.224286][ T5833] RAX: 9295adfba8ac9800 RBX: ffff88807d2a0001 RCX: ffff888078c81e00 [ 61.232321][ T5833] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 61.240359][ T5833] RBP: ffffc90003f07960 R08: ffffffff8155e222 R09: fffffbfff1cfa3f8 [ 61.248400][ T5833] R10: dffffc0000000000 R11: fffffbfff1cfa3f8 R12: 0000000000000000 [ 61.256401][ T5833] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff88807d4521c0 [ 61.264811][ T5833] FS: 000055556df7e380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 61.273816][ T5833] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.280479][ T5833] CR2: 00007fffc9001e10 CR3: 0000000077c3a000 CR4: 00000000003526f0 [ 61.288540][ T5833] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 61.296526][ T5833] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 61.304546][ T5833] Call Trace: [ 61.307858][ T5833] [ 61.310782][ T5833] ? __warn+0x168/0x4e0 [ 61.314927][ T5833] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.321645][ T5833] ? report_bug+0x2b3/0x500 [ 61.326181][ T5833] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.332926][ T5833] ? handle_bug+0x60/0x90 [ 61.337335][ T5833] ? exc_invalid_op+0x1a/0x50 [ 61.342028][ T5833] ? asm_exc_invalid_op+0x1a/0x20 [ 61.347073][ T5833] ? __warn_printk+0x292/0x360 [ 61.351913][ T5833] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.358646][ T5833] ? btrfs_inc_block_group_ro+0x640/0x700 [ 61.364381][ T5833] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10 [ 61.371276][ T5833] ? btrfs_block_rsv_add+0xd0/0xf0 [ 61.376420][ T5833] ? __pfx_lock_release+0x10/0x10 [ 61.381515][ T5833] ? do_raw_spin_lock+0x14f/0x370 [ 61.386576][ T5833] ? __mutex_unlock_slowpath+0x21d/0x750 [ 61.392306][ T5833] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 61.398339][ T5833] ? btrfs_trans_release_metadata+0x233/0x330 [ 61.404429][ T5833] __btrfs_end_transaction+0x150/0x630 [ 61.409950][ T5833] btrfs_inc_block_group_ro+0x648/0x700 [ 61.415560][ T5833] btrfs_relocate_block_group+0x440/0xd90 [ 61.421402][ T5833] btrfs_relocate_chunk+0x12c/0x3b0 [ 61.426621][ T5833] __btrfs_balance+0x1b0f/0x26b0 [ 61.431620][ T5833] ? describe_balance_start_or_resume+0x44c/0x490 [ 61.438080][ T5833] ? __pfx___btrfs_balance+0x10/0x10 [ 61.443368][ T5833] ? __wait_for_common+0x6b0/0x6e0 [ 61.448598][ T5833] btrfs_balance+0xbdc/0x10c0 [ 61.453325][ T5833] btrfs_ioctl_balance+0x493/0x7c0 [ 61.458483][ T5833] ? __pfx_btrfs_ioctl+0x10/0x10 [ 61.463441][ T5833] __se_sys_ioctl+0xf9/0x170 [ 61.468098][ T5833] do_syscall_64+0xf3/0x230 [ 61.472613][ T5833] ? clear_bhb_loop+0x35/0x90 [ 61.477343][ T5833] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.483255][ T5833] RIP: 0033:0x7fc217667da9 [ 61.487722][ T5833] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 61.507412][ T5833] RSP: 002b:00007ffdd7ce8058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 61.516319][ T5833] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc217667da9 [ 61.524347][ T5833] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 [ 61.532374][ T5833] RBP: 0000000000000000 R08: 0000000000000000 R09: 000055556df7f4c0 [ 61.540414][ T5833] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 61.548443][ T5833] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 61.556433][ T5833] [ 61.559502][ T5833] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 61.567053][ T5833] CPU: 0 UID: 0 PID: 5833 Comm: syz-executor373 Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0 [ 61.577802][ T5833] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 61.587851][ T5833] Call Trace: [ 61.591122][ T5833] [ 61.594072][ T5833] dump_stack_lvl+0x241/0x360 [ 61.598782][ T5833] ? __pfx_dump_stack_lvl+0x10/0x10 [ 61.603974][ T5833] ? __pfx__printk+0x10/0x10 [ 61.608572][ T5833] ? vscnprintf+0x5d/0x90 [ 61.612895][ T5833] panic+0x349/0x880 [ 61.616779][ T5833] ? __warn+0x177/0x4e0 [ 61.620923][ T5833] ? __pfx_panic+0x10/0x10 [ 61.625337][ T5833] __warn+0x34b/0x4e0 [ 61.629324][ T5833] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.635994][ T5833] report_bug+0x2b3/0x500 [ 61.640325][ T5833] ? btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.646993][ T5833] handle_bug+0x60/0x90 [ 61.651140][ T5833] exc_invalid_op+0x1a/0x50 [ 61.655630][ T5833] asm_exc_invalid_op+0x1a/0x20 [ 61.660480][ T5833] RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 [ 61.667771][ T5833] Code: bb fd 4c 89 f7 be 03 00 00 00 e8 d2 1c dc 00 e9 86 f9 ff ff e8 f8 4e bb fd 90 48 c7 c7 00 bb 4e 8c 44 89 f6 e8 68 3e 7c fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 d9 4e bb fd 90 48 c7 c7 00 bb 4e 8c [ 61.687384][ T5833] RSP: 0018:ffffc90003f076a0 EFLAGS: 00010246 [ 61.693455][ T5833] RAX: 9295adfba8ac9800 RBX: ffff88807d2a0001 RCX: ffff888078c81e00 [ 61.701423][ T5833] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 61.709391][ T5833] RBP: ffffc90003f07960 R08: ffffffff8155e222 R09: fffffbfff1cfa3f8 [ 61.717364][ T5833] R10: dffffc0000000000 R11: fffffbfff1cfa3f8 R12: 0000000000000000 [ 61.725326][ T5833] R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff88807d4521c0 [ 61.733315][ T5833] ? __warn_printk+0x292/0x360 [ 61.738116][ T5833] ? btrfs_inc_block_group_ro+0x640/0x700 [ 61.743836][ T5833] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10 [ 61.750688][ T5833] ? btrfs_block_rsv_add+0xd0/0xf0 [ 61.755805][ T5833] ? __pfx_lock_release+0x10/0x10 [ 61.760831][ T5833] ? do_raw_spin_lock+0x14f/0x370 [ 61.765861][ T5833] ? __mutex_unlock_slowpath+0x21d/0x750 [ 61.771498][ T5833] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 61.777481][ T5833] ? btrfs_trans_release_metadata+0x233/0x330 [ 61.783548][ T5833] __btrfs_end_transaction+0x150/0x630 [ 61.789036][ T5833] btrfs_inc_block_group_ro+0x648/0x700 [ 61.794597][ T5833] btrfs_relocate_block_group+0x440/0xd90 [ 61.800335][ T5833] btrfs_relocate_chunk+0x12c/0x3b0 [ 61.805561][ T5833] __btrfs_balance+0x1b0f/0x26b0 [ 61.811145][ T5833] ? describe_balance_start_or_resume+0x44c/0x490 [ 61.817584][ T5833] ? __pfx___btrfs_balance+0x10/0x10 [ 61.822874][ T5833] ? __wait_for_common+0x6b0/0x6e0 [ 61.827991][ T5833] btrfs_balance+0xbdc/0x10c0 [ 61.832679][ T5833] btrfs_ioctl_balance+0x493/0x7c0 [ 61.837794][ T5833] ? __pfx_btrfs_ioctl+0x10/0x10 [ 61.842728][ T5833] __se_sys_ioctl+0xf9/0x170 [ 61.847317][ T5833] do_syscall_64+0xf3/0x230 [ 61.851812][ T5833] ? clear_bhb_loop+0x35/0x90 [ 61.856504][ T5833] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.862398][ T5833] RIP: 0033:0x7fc217667da9 [ 61.866806][ T5833] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 61.886410][ T5833] RSP: 002b:00007ffdd7ce8058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 61.894829][ T5833] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc217667da9 [ 61.902798][ T5833] RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 [ 61.910769][ T5833] RBP: 0000000000000000 R08: 0000000000000000 R09: 000055556df7f4c0 [ 61.918737][ T5833] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 61.926697][ T5833] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 61.934700][ T5833] [ 61.937961][ T5833] Kernel Offset: disabled [ 61.942312][ T5833] Rebooting in 86400 seconds..