./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor732327119 <...> Warning: Permanently added '10.128.1.14' (ECDSA) to the list of known hosts. execve("./syz-executor732327119", ["./syz-executor732327119"], 0x7ffd1d0d67b0 /* 10 vars */) = 0 brk(NULL) = 0x555557021000 brk(0x555557021c40) = 0x555557021c40 arch_prctl(ARCH_SET_FS, 0x555557021300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor732327119", 4096) = 27 brk(0x555557042c40) = 0x555557042c40 brk(0x555557043000) = 0x555557043000 mprotect(0x7f3f00cc4000, 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) = 0x7f3ef8800000 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(0x7f3ef8800000, 16777216) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 53.845614][ T3631] loop0: detected capacity change from 0 to 32768 [ 53.857696][ T3631] BTRFS: device fsid 5ac8a51e-da3a-4998-8e66-e1df06b87bc8 devid 1 transid 8 /dev/loop0 scanned by syz-executor732 (3631) [ 53.875268][ T3631] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 53.884687][ T3631] BTRFS info (device loop0): using free space tree mount("/dev/loop0", "./file0", "btrfs", 0, "noflushoncommit,rescan_uuid_tree,noacl,noautodefrag,datacow,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 ioctl(3, BTRFS_IOC_SUBVOL_SETFLAGS, BTRFS_SUBVOL_RDONLY) = 0 [ 53.905316][ T3631] BTRFS info (device loop0): enabling ssd optimizations [ 53.914124][ T3631] BTRFS info (device loop0): checking UUID tree [ 53.954273][ T3631] ------------[ cut here ]------------ [ 53.959783][ T3631] WARNING: CPU: 1 PID: 3631 at fs/read_write.c:504 __kernel_write_iter+0x639/0x740 [ 53.969895][ T3631] Modules linked in: [ 53.974165][ T3631] CPU: 1 PID: 3631 Comm: syz-executor732 Not tainted 6.1.0-rc6-syzkaller-00315-gfaf68e3523c2 #0 [ 53.985369][ T3631] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 53.995904][ T3631] RIP: 0010:__kernel_write_iter+0x639/0x740 [ 54.002112][ T3631] Code: 25 28 00 00 00 48 3b 84 24 e0 00 00 00 0f 85 17 01 00 00 4c 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c7 81 9d ff <0f> 0b 49 c7 c6 f7 ff ff ff eb a5 e8 b7 81 9d ff 4c 8b 74 24 18 eb [ 54.022470][ T3631] RSP: 0018:ffffc90003bff740 EFLAGS: 00010293 [ 54.028577][ T3631] RAX: ffffffff81ed15e9 RBX: 00000000000a801d RCX: ffff88801cb41d40 [ 54.036988][ T3631] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 54.045334][ T3631] RBP: ffffc90003bff870 R08: ffffffff81ed105d R09: fffffbfff1cebe1e [ 54.053698][ T3631] R10: fffffbfff1cebe1e R11: 1ffffffff1cebe1d R12: 1ffff9200077fef4 [ 54.061974][ T3631] R13: 1ffff1100f48f6df R14: ffff88807a47b680 R15: dffffc0000000000 [ 54.069971][ T3631] FS: 0000555557021300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 54.079447][ T3631] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.086400][ T3631] CR2: 00007ffd1d0d4d78 CR3: 000000001e84f000 CR4: 00000000003506e0 [ 54.094669][ T3631] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.102887][ T3631] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.110945][ T3631] Call Trace: [ 54.114231][ T3631] [ 54.117171][ T3631] ? rcu_read_lock_sched_held+0x87/0x110 [ 54.122849][ T3631] ? vfs_read+0xbf0/0xbf0 [ 54.127362][ T3631] ? lockdep_unlock+0x144/0x2e0 [ 54.132489][ T3631] ? apparmor_file_permission+0x2da/0x310 [ 54.138230][ T3631] ? bpf_lsm_file_permission+0x5/0x10 [ 54.143661][ T3631] ? security_file_permission+0xe0/0x5c0 [ 54.149320][ T3631] ? iov_iter_kvec+0x4a/0x1a0 [ 54.154139][ T3631] kernel_write+0x1c5/0x340 [ 54.158694][ T3631] ? __kernel_write+0x170/0x170 [ 54.163636][ T3631] ? __lock_acquire+0x1f60/0x1f60 [ 54.168690][ T3631] ? btrfs_wait_ordered_extents+0xc85/0xe70 [ 54.174926][ T3631] ? trace_lock_release+0x95/0x220 [ 54.180078][ T3631] ? send_subvol+0x118/0x4b60 [ 54.184901][ T3631] send_subvol+0x1a7/0x4b60 [ 54.189428][ T3631] ? mutex_unlock+0x10/0x10 [ 54.194023][ T3631] ? do_raw_spin_unlock+0x134/0x8a0 [ 54.199242][ T3631] ? ensure_commit_roots_uptodate+0x2a0/0x2a0 [ 54.205572][ T3631] ? trace_btrfs_ordered_extent_remove+0x2f0/0x2f0 [ 54.212135][ T3631] ? sort+0xd7/0x110 [ 54.216025][ T3631] ? sort_r+0x13c0/0x1420 [ 54.220377][ T3631] ? kvmalloc_node+0x6e/0x180 [ 54.225065][ T3631] ? btrfs_grab_root+0x310/0x310 [ 54.229992][ T3631] ? ensure_commit_roots_uptodate+0x28c/0x2a0 [ 54.236110][ T3631] btrfs_ioctl_send+0x1e34/0x2340 [ 54.241362][ T3631] _btrfs_ioctl_send+0x2e8/0x420 [ 54.246386][ T3631] ? btrfs_ioctl_set_received_subvol_32+0xb60/0xb60 [ 54.253123][ T3631] ? do_notify_parent+0xe00/0xe00 [ 54.258191][ T3631] btrfs_ioctl+0x5eb/0xc10 [ 54.262860][ T3631] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 54.269290][ T3631] __se_sys_ioctl+0xfb/0x170 [ 54.273945][ T3631] do_syscall_64+0x3d/0xb0 [ 54.278367][ T3631] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.284300][ T3631] RIP: 0033:0x7f3f00c52b49 [ 54.288726][ T3631] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 54.308406][ T3631] RSP: 002b:00007ffd897be148 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 54.316902][ T3631] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3f00c52b49 [ 54.325048][ T3631] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 54.333122][ T3631] RBP: 00007f3f00c12410 R08: 0000000000000000 R09: 0000000000000000 [ 54.341232][ T3631] R10: 00000000000051af R11: 0000000000000246 R12: 00007f3f00c124a0 [ 54.349234][ T3631] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.357402][ T3631] [ 54.360462][ T3631] Kernel panic - not syncing: panic_on_warn set ... [ 54.367118][ T3631] CPU: 1 PID: 3631 Comm: syz-executor732 Not tainted 6.1.0-rc6-syzkaller-00315-gfaf68e3523c2 #0 [ 54.377534][ T3631] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.387608][ T3631] Call Trace: [ 54.390890][ T3631] [ 54.393824][ T3631] dump_stack_lvl+0x1b1/0x28e [ 54.398507][ T3631] ? nf_tcp_handle_invalid+0x62e/0x62e [ 54.403962][ T3631] ? panic+0x710/0x710 [ 54.408031][ T3631] ? vscnprintf+0x59/0x80 [ 54.412355][ T3631] ? __kernel_write_iter+0x550/0x740 [ 54.417640][ T3631] panic+0x2d6/0x710 [ 54.421532][ T3631] ? __warn+0x131/0x220 [ 54.425683][ T3631] ? memcpy_page_flushcache+0xfc/0xfc [ 54.431093][ T3631] ? __kernel_write_iter+0x639/0x740 [ 54.436379][ T3631] __warn+0x1fa/0x220 [ 54.440358][ T3631] ? __kernel_write_iter+0x639/0x740 [ 54.445641][ T3631] report_bug+0x1b3/0x2d0 [ 54.449973][ T3631] handle_bug+0x3d/0x70 [ 54.454123][ T3631] exc_invalid_op+0x16/0x40 [ 54.458621][ T3631] asm_exc_invalid_op+0x16/0x20 [ 54.463467][ T3631] RIP: 0010:__kernel_write_iter+0x639/0x740 [ 54.469537][ T3631] Code: 25 28 00 00 00 48 3b 84 24 e0 00 00 00 0f 85 17 01 00 00 4c 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c7 81 9d ff <0f> 0b 49 c7 c6 f7 ff ff ff eb a5 e8 b7 81 9d ff 4c 8b 74 24 18 eb [ 54.489229][ T3631] RSP: 0018:ffffc90003bff740 EFLAGS: 00010293 [ 54.495326][ T3631] RAX: ffffffff81ed15e9 RBX: 00000000000a801d RCX: ffff88801cb41d40 [ 54.503328][ T3631] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 54.511306][ T3631] RBP: ffffc90003bff870 R08: ffffffff81ed105d R09: fffffbfff1cebe1e [ 54.519311][ T3631] R10: fffffbfff1cebe1e R11: 1ffffffff1cebe1d R12: 1ffff9200077fef4 [ 54.527281][ T3631] R13: 1ffff1100f48f6df R14: ffff88807a47b680 R15: dffffc0000000000 [ 54.535257][ T3631] ? __kernel_write_iter+0xad/0x740 [ 54.540486][ T3631] ? __kernel_write_iter+0x639/0x740 [ 54.545785][ T3631] ? rcu_read_lock_sched_held+0x87/0x110 [ 54.551418][ T3631] ? vfs_read+0xbf0/0xbf0 [ 54.555751][ T3631] ? lockdep_unlock+0x144/0x2e0 [ 54.560629][ T3631] ? apparmor_file_permission+0x2da/0x310 [ 54.566361][ T3631] ? bpf_lsm_file_permission+0x5/0x10 [ 54.571752][ T3631] ? security_file_permission+0xe0/0x5c0 [ 54.577422][ T3631] ? iov_iter_kvec+0x4a/0x1a0 [ 54.582108][ T3631] kernel_write+0x1c5/0x340 [ 54.586616][ T3631] ? __kernel_write+0x170/0x170 [ 54.591496][ T3631] ? __lock_acquire+0x1f60/0x1f60 [ 54.596576][ T3631] ? btrfs_wait_ordered_extents+0xc85/0xe70 [ 54.602466][ T3631] ? trace_lock_release+0x95/0x220 [ 54.607576][ T3631] ? send_subvol+0x118/0x4b60 [ 54.612258][ T3631] send_subvol+0x1a7/0x4b60 [ 54.616766][ T3631] ? mutex_unlock+0x10/0x10 [ 54.621274][ T3631] ? do_raw_spin_unlock+0x134/0x8a0 [ 54.626498][ T3631] ? ensure_commit_roots_uptodate+0x2a0/0x2a0 [ 54.632577][ T3631] ? trace_btrfs_ordered_extent_remove+0x2f0/0x2f0 [ 54.639084][ T3631] ? sort+0xd7/0x110 [ 54.642978][ T3631] ? sort_r+0x13c0/0x1420 [ 54.647308][ T3631] ? kvmalloc_node+0x6e/0x180 [ 54.651993][ T3631] ? btrfs_grab_root+0x310/0x310 [ 54.656930][ T3631] ? ensure_commit_roots_uptodate+0x28c/0x2a0 [ 54.663033][ T3631] btrfs_ioctl_send+0x1e34/0x2340 [ 54.668097][ T3631] _btrfs_ioctl_send+0x2e8/0x420 [ 54.673224][ T3631] ? btrfs_ioctl_set_received_subvol_32+0xb60/0xb60 [ 54.679935][ T3631] ? do_notify_parent+0xe00/0xe00 [ 54.685071][ T3631] btrfs_ioctl+0x5eb/0xc10 [ 54.689543][ T3631] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 54.695978][ T3631] __se_sys_ioctl+0xfb/0x170 [ 54.700593][ T3631] do_syscall_64+0x3d/0xb0 [ 54.705025][ T3631] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.711022][ T3631] RIP: 0033:0x7f3f00c52b49 [ 54.715529][ T3631] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 54.735180][ T3631] RSP: 002b:00007ffd897be148 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 54.743604][ T3631] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3f00c52b49 [ 54.751590][ T3631] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 54.759589][ T3631] RBP: 00007f3f00c12410 R08: 0000000000000000 R09: 0000000000000000 [ 54.767571][ T3631] R10: 00000000000051af R11: 0000000000000246 R12: 00007f3f00c124a0 [ 54.775541][ T3631] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.783521][ T3631] [ 54.786708][ T3631] Kernel Offset: disabled [ 54.791083][ T3631] Rebooting in 86400 seconds..