./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1825271796
<...>
forked to background, child pid 4641
no interfaces have a carrier
[ 28.409999][ T4642] 8021q: adding VLAN 0 to HW filter on device bond0
[ 28.419398][ T4642] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.1.159' (ECDSA) to the list of known hosts.
execve("./syz-executor1825271796", ["./syz-executor1825271796"], 0x7ffefeb0bc40 /* 10 vars */) = 0
brk(NULL) = 0x555555b68000
brk(0x555555b68c40) = 0x555555b68c40
arch_prctl(ARCH_SET_FS, 0x555555b68300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor1825271796", 4096) = 28
brk(0x555555b89c40) = 0x555555b89c40
brk(0x555555b8a000) = 0x555555b8a000
mprotect(0x7eff4b944000, 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
memfd_create("syzkaller", 0) = 3
mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff43486000
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(0x7eff43486000, 16777216) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
mkdir("./file0", 0777) = 0
syzkaller login: [ 52.332673][ T5063] loop0: detected capacity change from 0 to 32768
[ 52.343782][ T5063] BTRFS: device fsid a830dcec-d20e-42dc-8160-bf13f3286f97 devid 1 transid 8 /dev/loop0 scanned by syz-executor182 (5063)
[ 52.361058][ T5063] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm
[ 52.370438][ T5063] BTRFS info (device loop0): using free space tree
mount("/dev/loop0", "./file0", "btrfs", 0, "") = 0
openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
chdir("./file0") = 0
ioctl(4, LOOP_CLR_FD) = 0
close(4) = 0
openat(AT_FDCWD, "./file2", O_RDONLY) = 4
[ 52.389774][ T5063] BTRFS info (device loop0): enabling ssd optimizations
[ 52.397039][ T5063] BTRFS info (device loop0): auto enabling async discard
[ 52.442301][ T5063] BTRFS info (device loop0): balance: start -d -m
[ 52.451536][ T5063] BTRFS info (device loop0): relocating block group 6881280 flags data|metadata
[ 52.467174][ T994] ------------[ cut here ]------------
[ 52.474205][ T994] BTRFS: Transaction aborted (error -28)
[ 52.480737][ T994] WARNING: CPU: 0 PID: 994 at fs/btrfs/block-group.c:3609 btrfs_chunk_alloc.cold+0x2c0/0x2e1
[ 52.491330][ T994] Modules linked in:
[ 52.495368][ T994] CPU: 0 PID: 994 Comm: kworker/u4:5 Not tainted 6.1.0-syzkaller-13409-g2f26e424552e #0
[ 52.505613][ T994] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 52.516469][ T994] Workqueue: events_unbound btrfs_async_reclaim_metadata_space
[ 52.524427][ T994] RIP: 0010:btrfs_chunk_alloc.cold+0x2c0/0x2e1
[ 52.530943][ T994] Code: f7 89 de 48 c7 c7 20 17 77 8a e8 dc 7f f2 ff 0f 0b e9 bc fd ff ff e8 90 1f c1 f7 44 89 f6 48 c7 c7 20 17 77 8a e8 c1 7f f2 ff <0f> 0b e9 42 fe ff ff e8 75 1f c1 f7 89 de 48 c7 c7 20 17 77 8a e8
[ 52.551317][ T994] RSP: 0018:ffffc90004a1fa68 EFLAGS: 00010286
[ 52.557432][ T994] RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000
[ 52.565499][ T994] RDX: ffff88801e6cd7c0 RSI: ffffffff8166721c RDI: fffff52000943f3f
[ 52.573934][ T994] RBP: ffff8880292a8800 R08: 0000000000000005 R09: 0000000000000000
[ 52.581991][ T994] R10: 0000000080000000 R11: 0000000000000000 R12: ffff88807dfbb000
[ 52.590027][ T994] R13: ffff88802284c890 R14: ffffffffffffffe4 R15: 000000007dfbb001
[ 52.598317][ T994] FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
[ 52.607288][ T994] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 52.614112][ T994] CR2: 00007f5134bc3670 CR3: 0000000028cfc000 CR4: 0000000000350ef0
[ 52.622301][ T994] Call Trace:
[ 52.625572][ T994]
[ 52.628588][ T994] ? btrfs_get_alloc_profile+0x2f4/0x7c0
[ 52.634273][ T994] flush_space+0x9ce/0xe90
[ 52.638775][ T994] ? find_held_lock+0x2d/0x110
[ 52.643574][ T994] ? trace_btrfs_trigger_flush+0x340/0x340
[ 52.649524][ T994] ? lock_downgrade+0x6e0/0x6e0
[ 52.654433][ T994] ? _raw_spin_unlock+0x28/0x40
[ 52.659446][ T994] btrfs_async_reclaim_metadata_space+0x541/0xc10
[ 52.665900][ T994] process_one_work+0x9bf/0x1710
[ 52.670946][ T994] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 52.676362][ T994] ? rwlock_bug.part.0+0x90/0x90
[ 52.681706][ T994] ? _raw_spin_lock_irq+0x45/0x50
[ 52.686745][ T994] worker_thread+0x669/0x1090
[ 52.691532][ T994] ? __kthread_parkme+0x163/0x220
[ 52.696674][ T994] ? process_one_work+0x1710/0x1710
[ 52.701937][ T994] kthread+0x2e8/0x3a0
[ 52.706026][ T994] ? kthread_complete_and_exit+0x40/0x40
[ 52.711756][ T994] ret_from_fork+0x1f/0x30
[ 52.716221][ T994]
[ 52.719386][ T994] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 52.726702][ T994] CPU: 0 PID: 994 Comm: kworker/u4:5 Not tainted 6.1.0-syzkaller-13409-g2f26e424552e #0
[ 52.736428][ T994] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 52.746490][ T994] Workqueue: events_unbound btrfs_async_reclaim_metadata_space
[ 52.754065][ T994] Call Trace:
[ 52.757333][ T994]
[ 52.760251][ T994] dump_stack_lvl+0xd1/0x138
[ 52.764926][ T994] panic+0x2cc/0x626
[ 52.768808][ T994] ? panic_print_sys_info.part.0+0x110/0x110
[ 52.774783][ T994] ? btrfs_chunk_alloc.cold+0x2c0/0x2e1
[ 52.780346][ T994] check_panic_on_warn.cold+0x19/0x35
[ 52.785810][ T994] __warn+0xf2/0x1a0
[ 52.789704][ T994] ? btrfs_chunk_alloc.cold+0x2c0/0x2e1
[ 52.795247][ T994] report_bug+0x1c0/0x210
[ 52.799753][ T994] handle_bug+0x3c/0x70
[ 52.803913][ T994] exc_invalid_op+0x18/0x50
[ 52.808406][ T994] asm_exc_invalid_op+0x1a/0x20
[ 52.813251][ T994] RIP: 0010:btrfs_chunk_alloc.cold+0x2c0/0x2e1
[ 52.819403][ T994] Code: f7 89 de 48 c7 c7 20 17 77 8a e8 dc 7f f2 ff 0f 0b e9 bc fd ff ff e8 90 1f c1 f7 44 89 f6 48 c7 c7 20 17 77 8a e8 c1 7f f2 ff <0f> 0b e9 42 fe ff ff e8 75 1f c1 f7 89 de 48 c7 c7 20 17 77 8a e8
[ 52.839014][ T994] RSP: 0018:ffffc90004a1fa68 EFLAGS: 00010286
[ 52.845167][ T994] RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000
[ 52.853130][ T994] RDX: ffff88801e6cd7c0 RSI: ffffffff8166721c RDI: fffff52000943f3f
[ 52.861093][ T994] RBP: ffff8880292a8800 R08: 0000000000000005 R09: 0000000000000000
[ 52.869054][ T994] R10: 0000000080000000 R11: 0000000000000000 R12: ffff88807dfbb000
[ 52.877014][ T994] R13: ffff88802284c890 R14: ffffffffffffffe4 R15: 000000007dfbb001
[ 52.885012][ T994] ? vprintk+0x8c/0xa0
[ 52.889083][ T994] ? btrfs_chunk_alloc.cold+0x2c0/0x2e1
[ 52.894628][ T994] ? btrfs_get_alloc_profile+0x2f4/0x7c0
[ 52.900263][ T994] flush_space+0x9ce/0xe90
[ 52.904681][ T994] ? find_held_lock+0x2d/0x110
[ 52.909450][ T994] ? trace_btrfs_trigger_flush+0x340/0x340
[ 52.915248][ T994] ? lock_downgrade+0x6e0/0x6e0
[ 52.920090][ T994] ? _raw_spin_unlock+0x28/0x40
[ 52.924948][ T994] btrfs_async_reclaim_metadata_space+0x541/0xc10
[ 52.931374][ T994] process_one_work+0x9bf/0x1710
[ 52.936334][ T994] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 52.941723][ T994] ? rwlock_bug.part.0+0x90/0x90
[ 52.946653][ T994] ? _raw_spin_lock_irq+0x45/0x50
[ 52.951682][ T994] worker_thread+0x669/0x1090
[ 52.956364][ T994] ? __kthread_parkme+0x163/0x220
[ 52.961381][ T994] ? process_one_work+0x1710/0x1710
[ 52.966578][ T994] kthread+0x2e8/0x3a0
[ 52.970709][ T994] ? kthread_complete_and_exit+0x40/0x40
[ 52.976340][ T994] ret_from_fork+0x1f/0x30
[ 52.980772][ T994]
[ 52.984522][ T994] Kernel Offset: disabled
[ 52.988915][ T994] Rebooting in 86400 seconds..