./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2611560375 <...> Warning: Permanently added '10.128.0.127' (ED25519) to the list of known hosts. execve("./syz-executor2611560375", ["./syz-executor2611560375"], 0x7fff7df45d90 /* 10 vars */) = 0 brk(NULL) = 0x55557fadc000 brk(0x55557fadcd00) = 0x55557fadcd00 arch_prctl(ARCH_SET_FS, 0x55557fadc380) = 0 set_tid_address(0x55557fadc650) = 5225 set_robust_list(0x55557fadc660, 24) = 0 rseq(0x55557fadcca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2611560375", 4096) = 28 getrandom("\xd0\x86\xb7\xb1\xa2\x78\x39\x76", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557fadcd00 brk(0x55557fafdd00) = 0x55557fafdd00 brk(0x55557fafe000) = 0x55557fafe000 mprotect(0x7efc5a019000, 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./strace-static-x86_64: Process 5226 attached , child_tidptr=0x55557fadc650) = 5226 [pid 5226] set_robust_list(0x55557fadc660, 24) = 0 [pid 5226] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5226] setpgid(0, 0) = 0 [pid 5226] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5226] write(3, "1000", 4) = 4 [pid 5226] close(3) = 0 [pid 5226] write(1, "executing program\n", 18executing program ) = 18 [pid 5226] memfd_create("syzkaller", 0) = 3 [pid 5226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc51a00000 [pid 5226] 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 5226] munmap(0x7efc51a00000, 138412032) = 0 [pid 5226] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5226] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5226] close(3) = 0 [pid 5226] close(4) = 0 [pid 5226] mkdir("./file1", 0777) = 0 [ 74.840608][ T5226] loop0: detected capacity change from 0 to 32768 [ 74.866377][ T5226] BTRFS: device fsid a6a605fc-d5f1-4e66-8595-3726e2b761d6 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz-executor261 (5226) [ 74.891353][ T5226] BTRFS info (device loop0): first mount of filesystem a6a605fc-d5f1-4e66-8595-3726e2b761d6 [ 74.902533][ T5226] BTRFS info (device loop0): using blake2b (blake2b-256-generic) checksum algorithm [ 74.919645][ T5226] BTRFS info (device loop0): using free-space-tree [ 74.926410][ T5226] workqueue: max_active 2097158 requested for btrfs-worker is out of range, clamping between 1 and 512 [ 74.939644][ T5226] workqueue: max_active 2097158 requested for btrfs-delalloc is out of range, clamping between 1 and 512 [ 74.967344][ T5226] workqueue: max_active 2097158 requested for btrfs-endio is out of range, clamping between 1 and 512 [ 74.980768][ T5226] workqueue: max_active 2097158 requested for btrfs-endio-meta is out of range, clamping between 1 and 512 [ 74.993665][ T5226] workqueue: max_active 2097158 requested for btrfs-rmw is out of range, clamping between 1 and 512 [ 75.006224][ T5226] workqueue: max_active 2097158 requested for btrfs-endio-write is out of range, clamping between 1 and 512 [ 75.019572][ T5226] workqueue: max_active 2097158 requested for btrfs-compressed-write is out of range, clamping between 1 and 512 [pid 5226] mount("/dev/loop0", "./file1", "btrfs", MS_RDONLY|MS_NODEV|MS_REC|MS_SILENT|MS_POSIXACL, "skip_balance,thread_pool=0x0000000000200006,autodefrag,enospc_debug,rescue=ibadroots,rescue=idatacsu"...) = 0 [pid 5226] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5226] chdir("./file1") = 0 [pid 5226] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5226] ioctl(4, LOOP_CLR_FD) = 0 [pid 5226] close(4) = 0 [ 75.044527][ T2515] BTRFS warning (device loop0 state C): checksum verify failed on logical 5287936 mirror 1 wanted 0x31987782e3a542b4b1826f4a60605b79838e23bf27075900db4b92202c72b2fd found 0xceda3bc49047826ec4468b88ec74a14d6cd3232f25b2c41331ed48993507590e level 0 [ 75.099962][ T5226] BTRFS info (device loop0 state MC): resize thread pool 2097158 -> 4 [ 75.110385][ T5226] assertion failed: fs_root, in fs/btrfs/relocation.c:4375 [ 75.118332][ T5226] ------------[ cut here ]------------ [ 75.123826][ T5226] kernel BUG at fs/btrfs/relocation.c:4375! [ 75.130229][ T5226] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 75.137196][ T5226] CPU: 1 UID: 0 PID: 5226 Comm: syz-executor261 Not tainted 6.11.0-rc7-syzkaller-00151-gd42f7708e27c #0 [ 75.148317][ T5226] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 75.158479][ T5226] RIP: 0010:btrfs_recover_relocation+0x1b6f/0x1ba0 [ 75.165044][ T5226] Code: 40 d1 fd eb 05 e8 c1 40 d1 fd 48 c7 c7 60 51 2d 8c 48 c7 c6 e0 52 2d 8c 48 c7 c2 e0 51 2d 8c b9 17 11 00 00 e8 02 ce eb 07 90 <0f> 0b e8 9a 40 d1 fd 48 c7 c7 60 51 2d 8c 48 c7 c6 00 52 2d 8c 48 [ 75.184663][ T5226] RSP: 0018:ffffc900033e76a0 EFLAGS: 00010246 [ 75.190743][ T5226] RAX: 0000000000000038 RBX: ffff88802918c048 RCX: 8c13e04592c8c800 [ 75.198717][ T5226] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 75.206682][ T5226] RBP: ffffc900033e7830 R08: ffffffff8174016c R09: fffffbfff1cba0e0 [ 75.214649][ T5226] R10: dffffc0000000000 R11: fffffbfff1cba0e0 R12: dffffc0000000000 [ 75.222613][ T5226] R13: 0000000000000000 R14: ffffc900033e77a0 R15: ffff888027a8d160 [ 75.230582][ T5226] FS: 000055557fadc380(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 [ 75.239513][ T5226] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.246098][ T5226] CR2: 00000000200011c8 CR3: 00000000693e0000 CR4: 00000000003506f0 [ 75.254081][ T5226] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 75.262056][ T5226] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 75.270031][ T5226] Call Trace: [ 75.273321][ T5226] [ 75.276258][ T5226] ? __die_body+0x88/0xe0 [ 75.280617][ T5226] ? die+0xcf/0x110 [ 75.284436][ T5226] ? do_trap+0x15a/0x3a0 [ 75.288687][ T5226] ? btrfs_recover_relocation+0x1b6f/0x1ba0 [ 75.294588][ T5226] ? do_error_trap+0x1dc/0x2c0 [ 75.299355][ T5226] ? btrfs_recover_relocation+0x1b6f/0x1ba0 [ 75.305252][ T5226] ? __pfx_do_error_trap+0x10/0x10 [ 75.310366][ T5226] ? report_bug+0x3e8/0x500 [ 75.314879][ T5226] ? handle_invalid_op+0x34/0x40 [ 75.319827][ T5226] ? btrfs_recover_relocation+0x1b6f/0x1ba0 [ 75.325720][ T5226] ? exc_invalid_op+0x38/0x50 [ 75.330392][ T5226] ? asm_exc_invalid_op+0x1a/0x20 [ 75.335417][ T5226] ? __wake_up_klogd+0xcc/0x110 [ 75.340274][ T5226] ? btrfs_recover_relocation+0x1b6f/0x1ba0 [ 75.346173][ T5226] ? btrfs_start_pre_rw_mount+0xdf7/0x1300 [ 75.351980][ T5226] ? __pfx_btrfs_recover_relocation+0x10/0x10 [ 75.358053][ T5226] ? __pfx___mutex_lock+0x10/0x10 [ 75.363080][ T5226] ? __up_read+0x2c2/0x6b0 [ 75.367528][ T5226] ? down_write_trylock+0x320/0x3b0 [ 75.372729][ T5226] ? do_raw_spin_unlock+0x13c/0x8b0 [ 75.377940][ T5226] btrfs_start_pre_rw_mount+0xe15/0x1300 [ 75.383616][ T5226] ? __pfx_btrfs_start_pre_rw_mount+0x10/0x10 [ 75.389699][ T5226] ? _raw_read_unlock+0x28/0x50 [ 75.394553][ T5226] ? btrfs_check_rw_degradable+0x477/0x550 [ 75.400374][ T5226] btrfs_reconfigure+0xae6/0x2d40 [ 75.405427][ T5226] ? __pfx_btrfs_reconfigure+0x10/0x10 [ 75.410888][ T5226] ? down_write+0x18c/0x220 [ 75.415400][ T5226] ? __pfx_down_write+0x10/0x10 [ 75.420269][ T5226] ? vfs_create_mount+0x399/0x3f0 [ 75.425308][ T5226] ? btrfs_get_tree+0x6cd/0x1920 [ 75.430245][ T5226] btrfs_get_tree+0x918/0x1920 [ 75.435014][ T5226] ? vfs_parse_fs_string+0x190/0x230 [ 75.440330][ T5226] ? kfree+0x4e/0x360 [ 75.444329][ T5226] ? __pfx_btrfs_get_tree+0x10/0x10 [ 75.449533][ T5226] ? vfs_parse_fs_string+0x190/0x230 [ 75.454910][ T5226] ? __pfx_generic_parse_monolithic+0x10/0x10 [ 75.461001][ T5226] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 75.466647][ T5226] ? btrfs_init_fs_context+0x329/0x5b0 [ 75.472102][ T5226] ? cap_capable+0x1b4/0x250 [ 75.476704][ T5226] ? bpf_lsm_capable+0x9/0x10 [ 75.481401][ T5226] vfs_get_tree+0x90/0x2b0 [ 75.485834][ T5226] do_new_mount+0x2be/0xb40 [ 75.490352][ T5226] ? __pfx_do_new_mount+0x10/0x10 [ 75.495507][ T5226] __se_sys_mount+0x2d6/0x3c0 [ 75.500215][ T5226] ? __pfx___se_sys_mount+0x10/0x10 [ 75.505421][ T5226] ? exc_page_fault+0x590/0x8c0 [ 75.510276][ T5226] ? __x64_sys_mount+0x20/0xc0 [ 75.515059][ T5226] do_syscall_64+0xf3/0x230 [ 75.519572][ T5226] ? clear_bhb_loop+0x35/0x90 [ 75.524265][ T5226] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.530179][ T5226] RIP: 0033:0x7efc59f9fed9 [ 75.534605][ T5226] 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 [ 75.554218][ T5226] RSP: 002b:00007fff486e20c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 75.562647][ T5226] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efc59f9fed9 [ 75.570619][ T5226] RDX: 0000000020001240 RSI: 0000000020001200 RDI: 00000000200011c0 [ 75.578583][ T5226] RBP: 00007efc5a0195f0 R08: 0000000000000000 R09: 000055557fadd4c0 [ 75.586546][ T5226] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff486e20f0 [ 75.594508][ T5226] R13: 00007fff486e2318 R14: 431bde82d7b634db R15: 00007efc59fe903b [ 75.602483][ T5226] [ 75.605512][ T5226] Modules linked in: [ 75.610927][ T5226] ---[ end trace 0000000000000000 ]--- [ 75.616414][ T5226] RIP: 0010:btrfs_recover_relocation+0x1b6f/0x1ba0 [ 75.624205][ T5226] Code: 40 d1 fd eb 05 e8 c1 40 d1 fd 48 c7 c7 60 51 2d 8c 48 c7 c6 e0 52 2d 8c 48 c7 c2 e0 51 2d 8c b9 17 11 00 00 e8 02 ce eb 07 90 <0f> 0b e8 9a 40 d1 fd 48 c7 c7 60 51 2d 8c 48 c7 c6 00 52 2d 8c 48 [ 75.644860][ T5226] RSP: 0018:ffffc900033e76a0 EFLAGS: 00010246 [ 75.652560][ T5226] RAX: 0000000000000038 RBX: ffff88802918c048 RCX: 8c13e04592c8c800 [ 75.660810][ T5226] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 75.669021][ T5226] RBP: ffffc900033e7830 R08: ffffffff8174016c R09: fffffbfff1cba0e0 [ 75.677232][ T5226] R10: dffffc0000000000 R11: fffffbfff1cba0e0 R12: dffffc0000000000 [ 75.685228][ T5226] R13: 0000000000000000 R14: ffffc900033e77a0 R15: ffff888027a8d160 [ 75.693265][ T5226] FS: 000055557fadc380(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 [ 75.702264][ T5226] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.708921][ T5226] CR2: 0000556f055030d8 CR3: 00000000693e0000 CR4: 00000000003506f0 [ 75.716941][ T5226] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 75.724918][ T5226] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 75.733028][ T5226] Kernel panic - not syncing: Fatal exception [ 75.739411][ T5226] Kernel Offset: disabled [ 75.743736][ T5226] Rebooting in 86400 seconds..