./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2250440052 <...> Warning: Permanently added '10.128.0.171' (ED25519) to the list of known hosts. execve("./syz-executor2250440052", ["./syz-executor2250440052"], 0x7ffcf73436b0 /* 10 vars */) = 0 brk(NULL) = 0x55555667d000 brk(0x55555667dd00) = 0x55555667dd00 arch_prctl(ARCH_SET_FS, 0x55555667d380) = 0 set_tid_address(0x55555667d650) = 5057 set_robust_list(0x55555667d660, 24) = 0 rseq(0x55555667dca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2250440052", 4096) = 28 getrandom("\x19\x0b\x49\xc5\x8d\xa2\x30\xdb", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555667dd00 brk(0x55555669ed00) = 0x55555669ed00 brk(0x55555669f000) = 0x55555669f000 mprotect(0x7f2f7918b000, 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) = 0x7f2f70cd5000 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(0x7f2f70cd5000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 71.358321][ T5057] loop0: detected capacity change from 0 to 32768 [ 71.382496][ T5057] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 scanned by syz-executor225 (5057) [ 71.402453][ T5057] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 71.411926][ T5057] BTRFS info (device loop0): force clearing of disk cache [ 71.419191][ T5057] BTRFS info (device loop0): setting nodatasum [ 71.425408][ T5057] BTRFS info (device loop0): allowing degraded mounts [ 71.432318][ T5057] BTRFS info (device loop0): enabling disk space caching [ 71.439401][ T5057] BTRFS info (device loop0): disk space caching is enabled [ 71.466501][ T5057] BTRFS info (device loop0): enabling ssd optimizations [ 71.473559][ T5057] BTRFS info (device loop0): auto enabling async discard [ 71.482701][ T5057] BTRFS info (device loop0): rebuilding free space tree mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 71.511291][ T5057] BTRFS info (device loop0): disabling free space tree [ 71.518381][ T5057] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 71.528430][ T5057] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [ 71.544446][ T5057] BTRFS info (device loop0): checking UUID tree open("./file0", O_RDONLY) = 4 ioctl(4, BTRFS_IOC_QUOTA_CTL, {cmd=BTRFS_QUOTA_CTL_ENABLE}) = 0 openat(AT_FDCWD, "blkio.bfq.time_recursive", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 ioctl(5, BTRFS_IOC_QGROUP_CREATE, {create=1, qgroupid=256}) = 0 openat(AT_FDCWD, ".", O_RDONLY) = 6 [ 71.656700][ T1053] BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) [ 71.673917][ T5057] ------------[ cut here ]------------ [ 71.679890][ T5057] BTRFS: Transaction aborted (error -17) [ 71.687095][ T5057] WARNING: CPU: 0 PID: 5057 at fs/btrfs/transaction.c:1778 create_pending_snapshot+0x25f4/0x2b70 [ 71.697713][ T5057] Modules linked in: [ 71.701646][ T5057] CPU: 0 PID: 5057 Comm: syz-executor225 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0 [ 71.711880][ T5057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 71.722031][ T5057] RIP: 0010:create_pending_snapshot+0x25f4/0x2b70 [ 71.728589][ T5057] Code: f8 fd 48 c7 c7 00 43 ab 8b 89 de e8 76 4b be fd 0f 0b e9 30 f3 ff ff e8 7a 8d f8 fd 48 c7 c7 00 43 ab 8b 89 de e8 5c 4b be fd <0f> 0b e9 f8 f6 ff ff e8 60 8d f8 fd 48 c7 c7 00 43 ab 8b 89 de e8 [ 71.748299][ T5057] RSP: 0018:ffffc90003abf580 EFLAGS: 00010246 [ 71.754424][ T5057] RAX: 10fb7cf24e10ea00 RBX: 00000000ffffffef RCX: ffff888023ea9dc0 [ 71.762547][ T5057] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 71.770612][ T5057] RBP: ffffc90003abf870 R08: ffffffff81547c82 R09: 1ffff11017305172 [ 71.778697][ T5057] R10: dffffc0000000000 R11: ffffed1017305173 R12: ffff888078ae2878 [ 71.786716][ T5057] R13: 00000000ffffffef R14: 0000000000000000 R15: ffff888078ae2818 [ 71.794829][ T5057] FS: 000055555667d380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 71.803840][ T5057] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.810492][ T5057] CR2: 00007f6ff7bf2304 CR3: 0000000079f17000 CR4: 00000000003506f0 [ 71.818538][ T5057] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.826603][ T5057] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 71.834657][ T5057] Call Trace: [ 71.838061][ T5057] [ 71.841031][ T5057] ? __warn+0x162/0x4a0 [ 71.845218][ T5057] ? create_pending_snapshot+0x25f4/0x2b70 [ 71.851105][ T5057] ? report_bug+0x2b3/0x500 [ 71.855655][ T5057] ? create_pending_snapshot+0x25f4/0x2b70 [ 71.861538][ T5057] ? handle_bug+0x3d/0x70 [ 71.865897][ T5057] ? exc_invalid_op+0x1a/0x50 [ 71.870642][ T5057] ? asm_exc_invalid_op+0x1a/0x20 [ 71.875706][ T5057] ? __warn_printk+0x292/0x360 [ 71.880549][ T5057] ? create_pending_snapshot+0x25f4/0x2b70 [ 71.886417][ T5057] ? trace_btrfs_space_reservation+0x220/0x220 [ 71.892642][ T5057] ? __mutex_trylock_common+0x7f/0x2e0 [ 71.898254][ T5057] ? lockdep_hardirqs_on_prepare+0x43c/0x7a0 [ 71.904255][ T5057] ? rcu_is_watching+0x15/0xb0 [ 71.909083][ T5057] ? trace_contention_end+0x3c/0xf0 [ 71.914310][ T5057] ? __mutex_lock+0x2ee/0xd60 [ 71.919055][ T5057] ? btrfs_commit_transaction+0x17b/0x3730 [ 71.924916][ T5057] ? mutex_lock_nested+0x20/0x20 [ 71.929963][ T5057] create_pending_snapshots+0x195/0x1d0 [ 71.935562][ T5057] ? btrfs_commit_transaction+0x17b/0x3730 [ 71.941480][ T5057] btrfs_commit_transaction+0xf1c/0x3730 [ 71.947195][ T5057] ? btrfs_commit_transaction+0x17b/0x3730 [ 71.953036][ T5057] ? btrfs_commit_transaction_async+0x480/0x480 [ 71.959362][ T5057] ? lockdep_init_map_type+0xa1/0x910 [ 71.964799][ T5057] ? lockdep_softirqs_off+0x420/0x420 [ 71.970240][ T5057] ? do_raw_spin_unlock+0x13b/0x8b0 [ 71.975460][ T5057] ? join_transaction+0x401/0xce0 [ 71.980598][ T5057] ? btrfs_record_root_in_trans+0x12d/0x180 [ 71.986528][ T5057] ? start_transaction+0x3dc/0x1780 [ 71.991827][ T5057] create_snapshot+0x4a5/0x7e0 [ 71.996637][ T5057] btrfs_mksubvol+0x5d0/0x750 [ 72.001417][ T5057] ? __btrfs_ioctl_snap_create+0x460/0x460 [ 72.007306][ T5057] ? __might_fault+0xa5/0x120 [ 72.011992][ T5057] ? mnt_get_write_access+0x68/0x2a0 [ 72.017349][ T5057] btrfs_mksnapshot+0xb5/0xf0 [ 72.022087][ T5057] __btrfs_ioctl_snap_create+0x344/0x460 [ 72.027813][ T5057] btrfs_ioctl_snap_create+0x13c/0x190 [ 72.033316][ T5057] btrfs_ioctl+0xbbf/0xd40 [ 72.037875][ T5057] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 72.044387][ T5057] __se_sys_ioctl+0xf8/0x170 [ 72.049094][ T5057] do_syscall_64+0x44/0x110 [ 72.053670][ T5057] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 72.059664][ T5057] RIP: 0033:0x7f2f791127b9 [ 72.064117][ T5057] 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 [ 72.083821][ T5057] RSP: 002b:00007ffc5dc597b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 72.092355][ T5057] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f2f791127b9 [ 72.100444][ T5057] RDX: 0000000020000a80 RSI: 0000000050009401 RDI: 0000000000000004 [ 72.108510][ T5057] RBP: 00007f2f7918b610 R08: 00007ffc5dc59988 R09: 00007ffc5dc59988 [ 72.116527][ T5057] R10: 00007ffc5dc59988 R11: 0000000000000246 R12: 0000000000000001 [ 72.124610][ T5057] R13: 00007ffc5dc59978 R14: 0000000000000001 R15: 0000000000000001 [ 72.132667][ T5057] [ 72.135696][ T5057] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 72.142977][ T5057] CPU: 0 PID: 5057 Comm: syz-executor225 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0 [ 72.153042][ T5057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 72.163098][ T5057] Call Trace: [ 72.166377][ T5057] [ 72.169398][ T5057] dump_stack_lvl+0x1e7/0x2d0 [ 72.174087][ T5057] ? nf_tcp_handle_invalid+0x650/0x650 [ 72.179553][ T5057] ? panic+0x850/0x850 [ 72.183637][ T5057] ? vscnprintf+0x5d/0x80 [ 72.187977][ T5057] panic+0x349/0x850 [ 72.191885][ T5057] ? __warn+0x171/0x4a0 [ 72.196041][ T5057] ? __memcpy_flushcache+0x2b0/0x2b0 [ 72.201354][ T5057] __warn+0x314/0x4a0 [ 72.205340][ T5057] ? create_pending_snapshot+0x25f4/0x2b70 [ 72.211155][ T5057] report_bug+0x2b3/0x500 [ 72.215493][ T5057] ? create_pending_snapshot+0x25f4/0x2b70 [ 72.221309][ T5057] handle_bug+0x3d/0x70 [ 72.225472][ T5057] exc_invalid_op+0x1a/0x50 [ 72.229979][ T5057] asm_exc_invalid_op+0x1a/0x20 [ 72.234833][ T5057] RIP: 0010:create_pending_snapshot+0x25f4/0x2b70 [ 72.241274][ T5057] Code: f8 fd 48 c7 c7 00 43 ab 8b 89 de e8 76 4b be fd 0f 0b e9 30 f3 ff ff e8 7a 8d f8 fd 48 c7 c7 00 43 ab 8b 89 de e8 5c 4b be fd <0f> 0b e9 f8 f6 ff ff e8 60 8d f8 fd 48 c7 c7 00 43 ab 8b 89 de e8 [ 72.260911][ T5057] RSP: 0018:ffffc90003abf580 EFLAGS: 00010246 [ 72.266997][ T5057] RAX: 10fb7cf24e10ea00 RBX: 00000000ffffffef RCX: ffff888023ea9dc0 [ 72.274982][ T5057] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 72.282969][ T5057] RBP: ffffc90003abf870 R08: ffffffff81547c82 R09: 1ffff11017305172 [ 72.290951][ T5057] R10: dffffc0000000000 R11: ffffed1017305173 R12: ffff888078ae2878 [ 72.298941][ T5057] R13: 00000000ffffffef R14: 0000000000000000 R15: ffff888078ae2818 [ 72.306931][ T5057] ? __warn_printk+0x292/0x360 [ 72.311784][ T5057] ? trace_btrfs_space_reservation+0x220/0x220 [ 72.317957][ T5057] ? __mutex_trylock_common+0x7f/0x2e0 [ 72.323423][ T5057] ? lockdep_hardirqs_on_prepare+0x43c/0x7a0 [ 72.329419][ T5057] ? rcu_is_watching+0x15/0xb0 [ 72.334199][ T5057] ? trace_contention_end+0x3c/0xf0 [ 72.339413][ T5057] ? __mutex_lock+0x2ee/0xd60 [ 72.344104][ T5057] ? btrfs_commit_transaction+0x17b/0x3730 [ 72.349939][ T5057] ? mutex_lock_nested+0x20/0x20 [ 72.354898][ T5057] create_pending_snapshots+0x195/0x1d0 [ 72.360477][ T5057] ? btrfs_commit_transaction+0x17b/0x3730 [ 72.366295][ T5057] btrfs_commit_transaction+0xf1c/0x3730 [ 72.371949][ T5057] ? btrfs_commit_transaction+0x17b/0x3730 [ 72.377788][ T5057] ? btrfs_commit_transaction_async+0x480/0x480 [ 72.384039][ T5057] ? lockdep_init_map_type+0xa1/0x910 [ 72.389426][ T5057] ? lockdep_softirqs_off+0x420/0x420 [ 72.394812][ T5057] ? do_raw_spin_unlock+0x13b/0x8b0 [ 72.400034][ T5057] ? join_transaction+0x401/0xce0 [ 72.405077][ T5057] ? btrfs_record_root_in_trans+0x12d/0x180 [ 72.410992][ T5057] ? start_transaction+0x3dc/0x1780 [ 72.416220][ T5057] create_snapshot+0x4a5/0x7e0 [ 72.421015][ T5057] btrfs_mksubvol+0x5d0/0x750 [ 72.425717][ T5057] ? __btrfs_ioctl_snap_create+0x460/0x460 [ 72.431793][ T5057] ? __might_fault+0xa5/0x120 [ 72.436483][ T5057] ? mnt_get_write_access+0x68/0x2a0 [ 72.441792][ T5057] btrfs_mksnapshot+0xb5/0xf0 [ 72.446492][ T5057] __btrfs_ioctl_snap_create+0x344/0x460 [ 72.452154][ T5057] btrfs_ioctl_snap_create+0x13c/0x190 [ 72.457638][ T5057] btrfs_ioctl+0xbbf/0xd40 [ 72.462071][ T5057] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 72.468508][ T5057] __se_sys_ioctl+0xf8/0x170 [ 72.473114][ T5057] do_syscall_64+0x44/0x110 [ 72.477642][ T5057] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 72.483551][ T5057] RIP: 0033:0x7f2f791127b9 [ 72.487977][ T5057] 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 [ 72.507593][ T5057] RSP: 002b:00007ffc5dc597b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 72.516020][ T5057] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f2f791127b9 [ 72.524001][ T5057] RDX: 0000000020000a80 RSI: 0000000050009401 RDI: 0000000000000004 [ 72.531981][ T5057] RBP: 00007f2f7918b610 R08: 00007ffc5dc59988 R09: 00007ffc5dc59988 [ 72.539970][ T5057] R10: 00007ffc5dc59988 R11: 0000000000000246 R12: 0000000000000001 [ 72.547955][ T5057] R13: 00007ffc5dc59978 R14: 0000000000000001 R15: 0000000000000001 [ 72.555956][ T5057] [ 72.559278][ T5057] Kernel Offset: disabled [ 72.563689][ T5057] Rebooting in 86400 seconds..