./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2076511475 <...> Warning: Permanently added '10.128.0.110' (ED25519) to the list of known hosts. execve("./syz-executor2076511475", ["./syz-executor2076511475"], 0x7ffde6e5a130 /* 10 vars */) = 0 brk(NULL) = 0x5555555dc000 brk(0x5555555dcd00) = 0x5555555dcd00 arch_prctl(ARCH_SET_FS, 0x5555555dc380) = 0 set_tid_address(0x5555555dc650) = 5031 set_robust_list(0x5555555dc660, 24) = 0 rseq(0x5555555dcca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2076511475", 4096) = 28 getrandom("\x8b\x72\x80\xe9\x89\x34\x46\x02", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555555dcd00 brk(0x5555555fdd00) = 0x5555555fdd00 brk(0x5555555fe000) = 0x5555555fe000 mprotect(0x7f02b8527000, 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) = 0x7f02b0072000 [ 58.027273][ T5031] syz-executor207[5031]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set 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(0x7f02b0072000, 16777216) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 58.179535][ T5031] loop0: detected capacity change from 0 to 32768 [ 58.192484][ T5031] BTRFS: device fsid 395ef67a-297e-477c-816d-cd80a5b93e5d devid 1 transid 8 /dev/loop0 scanned by syz-executor207 (5031) [ 58.212908][ T5031] BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm [ 58.221713][ T5031] BTRFS info (device loop0): using free space tree mount("/dev/loop0", "./file0", "btrfs", MS_NODIRATIME, "") = 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 dup(3) = 4 [ 58.241959][ T5031] BTRFS info (device loop0): enabling ssd optimizations [ 58.248913][ T5031] BTRFS info (device loop0): auto enabling async discard [ 58.303707][ T5031] ------------[ cut here ]------------ [ 58.309202][ T5031] WARNING: CPU: 0 PID: 5031 at fs/read_write.c:504 __kernel_write_iter+0x69b/0x7c0 [ 58.318649][ T5031] Modules linked in: [ 58.322599][ T5031] CPU: 0 PID: 5031 Comm: syz-executor207 Not tainted 6.6.0-rc3-syzkaller #0 [ 58.331285][ T5031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 [ 58.341393][ T5031] RIP: 0010:__kernel_write_iter+0x69b/0x7c0 [ 58.347352][ T5031] Code: 25 28 00 00 00 48 3b 84 24 e0 00 00 00 0f 85 2c 01 00 00 4c 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 d5 1c 96 ff <0f> 0b 49 c7 c6 f7 ff ff ff eb a5 e8 c5 1c 96 ff 4c 8b 74 24 18 eb [ 58.367029][ T5031] RSP: 0018:ffffc90003a7f700 EFLAGS: 00010293 [ 58.373160][ T5031] RAX: ffffffff81f7ed9b RBX: 00000000000a801d RCX: ffff88807cb4d940 [ 58.381145][ T5031] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 58.389197][ T5031] RBP: ffffc90003a7f830 R08: ffffffff81f7e7dc R09: 0000000000000000 [ 58.397237][ T5031] R10: ffffc90003a7f8a0 R11: fffff5200074ff19 R12: 1ffff9200074feec [ 58.405553][ T5031] R13: 1ffff1100336628a R14: ffff888019b31400 R15: dffffc0000000000 [ 58.413733][ T5031] FS: 00005555555dc380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 58.422753][ T5031] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.429350][ T5031] CR2: 00007ffd30ae9dc8 CR3: 0000000072f3e000 CR4: 00000000003506f0 [ 58.437380][ T5031] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 58.445533][ T5031] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 58.453532][ T5031] Call Trace: [ 58.456800][ T5031] [ 58.459717][ T5031] ? __warn+0x162/0x4a0 [ 58.463909][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.469217][ T5031] ? report_bug+0x2b3/0x500 [ 58.473762][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.479061][ T5031] ? handle_bug+0x3d/0x70 [ 58.483448][ T5031] ? exc_invalid_op+0x1a/0x50 [ 58.488134][ T5031] ? asm_exc_invalid_op+0x1a/0x20 [ 58.493236][ T5031] ? __kernel_write_iter+0xdc/0x7c0 [ 58.498462][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.503830][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.509143][ T5031] ? verify_lock_unused+0x140/0x140 [ 58.514373][ T5031] ? vfs_read+0xb00/0xb00 [ 58.518721][ T5031] ? iov_iter_kvec+0x4e/0x1e0 [ 58.523462][ T5031] kernel_write+0x1d8/0x350 [ 58.527990][ T5031] ? __kernel_write+0x170/0x170 [ 58.532884][ T5031] ? btrfs_wait_ordered_extents+0xdbc/0xe20 [ 58.538790][ T5031] ? send_subvol+0x11c/0x49b0 [ 58.543529][ T5031] send_subvol+0x1ab/0x49b0 [ 58.548042][ T5031] ? __mutex_unlock_slowpath+0x21c/0x750 [ 58.553702][ T5031] ? btrfs_wait_ordered_extents+0xc34/0xe20 [ 58.559606][ T5031] ? mutex_unlock+0x10/0x10 [ 58.564143][ T5031] ? do_raw_spin_unlock+0x13b/0x8b0 [ 58.569353][ T5031] ? ensure_commit_roots_uptodate+0x280/0x280 [ 58.575463][ T5031] ? btrfs_mod_outstanding_extents+0x390/0x390 [ 58.581677][ T5031] ? sort+0xdb/0x110 [ 58.585561][ T5031] ? sort_r+0x13f0/0x1430 [ 58.589870][ T5031] ? rcu_is_watching+0x15/0xb0 [ 58.594658][ T5031] ? btrfs_grab_root+0x320/0x320 [ 58.599602][ T5031] ? ensure_commit_roots_uptodate+0x26b/0x280 [ 58.605922][ T5031] btrfs_ioctl_send+0x2113/0x2750 [ 58.610970][ T5031] _btrfs_ioctl_send+0x2ff/0x430 [ 58.615987][ T5031] ? smack_file_ioctl+0x2a1/0x3a0 [ 58.621017][ T5031] ? btrfs_ioctl_set_received_subvol_32+0xb90/0xb90 [ 58.627646][ T5031] ? smack_file_alloc_security+0xe0/0xe0 [ 58.633309][ T5031] ? do_notify_parent+0x1100/0x1100 [ 58.638502][ T5031] btrfs_ioctl+0x90a/0xd40 [ 58.642950][ T5031] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 58.649372][ T5031] __se_sys_ioctl+0xf8/0x170 [ 58.654015][ T5031] do_syscall_64+0x41/0xc0 [ 58.658447][ T5031] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.664388][ T5031] RIP: 0033:0x7f02b84af649 [ 58.668816][ T5031] 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 [ 58.688534][ T5031] RSP: 002b:00007ffd75107298 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 58.696974][ T5031] RAX: ffffffffffffffda RBX: 00007ffd75107468 RCX: 00007f02b84af649 [ 58.704971][ T5031] RDX: 0000000020000140 RSI: 0000000040489426 RDI: 0000000000000004 [ 58.712967][ T5031] RBP: 00007f02b8527610 R08: 00007ffd75107468 R09: 00007ffd75107468 [ 58.720925][ T5031] R10: 00007ffd75107468 R11: 0000000000000246 R12: 0000000000000001 [ 58.728945][ T5031] R13: 00007ffd75107458 R14: 0000000000000001 R15: 0000000000000001 [ 58.736946][ T5031] [ 58.739952][ T5031] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 58.747211][ T5031] CPU: 0 PID: 5031 Comm: syz-executor207 Not tainted 6.6.0-rc3-syzkaller #0 [ 58.755862][ T5031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 [ 58.765899][ T5031] Call Trace: [ 58.769161][ T5031] [ 58.772075][ T5031] dump_stack_lvl+0x1e7/0x2d0 [ 58.776737][ T5031] ? nf_tcp_handle_invalid+0x650/0x650 [ 58.782196][ T5031] ? panic+0x770/0x770 [ 58.786254][ T5031] ? vscnprintf+0x5d/0x80 [ 58.790568][ T5031] panic+0x30f/0x770 [ 58.794455][ T5031] ? __warn+0x171/0x4a0 [ 58.798605][ T5031] ? __memcpy_flushcache+0x2b0/0x2b0 [ 58.803896][ T5031] __warn+0x314/0x4a0 [ 58.807867][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.813149][ T5031] report_bug+0x2b3/0x500 [ 58.817476][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.822762][ T5031] handle_bug+0x3d/0x70 [ 58.826908][ T5031] exc_invalid_op+0x1a/0x50 [ 58.831401][ T5031] asm_exc_invalid_op+0x1a/0x20 [ 58.836246][ T5031] RIP: 0010:__kernel_write_iter+0x69b/0x7c0 [ 58.842158][ T5031] Code: 25 28 00 00 00 48 3b 84 24 e0 00 00 00 0f 85 2c 01 00 00 4c 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 d5 1c 96 ff <0f> 0b 49 c7 c6 f7 ff ff ff eb a5 e8 c5 1c 96 ff 4c 8b 74 24 18 eb [ 58.861757][ T5031] RSP: 0018:ffffc90003a7f700 EFLAGS: 00010293 [ 58.867821][ T5031] RAX: ffffffff81f7ed9b RBX: 00000000000a801d RCX: ffff88807cb4d940 [ 58.875786][ T5031] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 58.883749][ T5031] RBP: ffffc90003a7f830 R08: ffffffff81f7e7dc R09: 0000000000000000 [ 58.891713][ T5031] R10: ffffc90003a7f8a0 R11: fffff5200074ff19 R12: 1ffff9200074feec [ 58.899675][ T5031] R13: 1ffff1100336628a R14: ffff888019b31400 R15: dffffc0000000000 [ 58.907642][ T5031] ? __kernel_write_iter+0xdc/0x7c0 [ 58.912840][ T5031] ? __kernel_write_iter+0x69b/0x7c0 [ 58.918129][ T5031] ? verify_lock_unused+0x140/0x140 [ 58.923319][ T5031] ? vfs_read+0xb00/0xb00 [ 58.927648][ T5031] ? iov_iter_kvec+0x4e/0x1e0 [ 58.932319][ T5031] kernel_write+0x1d8/0x350 [ 58.936821][ T5031] ? __kernel_write+0x170/0x170 [ 58.941671][ T5031] ? btrfs_wait_ordered_extents+0xdbc/0xe20 [ 58.947567][ T5031] ? send_subvol+0x11c/0x49b0 [ 58.952248][ T5031] send_subvol+0x1ab/0x49b0 [ 58.956765][ T5031] ? __mutex_unlock_slowpath+0x21c/0x750 [ 58.962390][ T5031] ? btrfs_wait_ordered_extents+0xc34/0xe20 [ 58.968289][ T5031] ? mutex_unlock+0x10/0x10 [ 58.972797][ T5031] ? do_raw_spin_unlock+0x13b/0x8b0 [ 58.977998][ T5031] ? ensure_commit_roots_uptodate+0x280/0x280 [ 58.984069][ T5031] ? btrfs_mod_outstanding_extents+0x390/0x390 [ 58.990249][ T5031] ? sort+0xdb/0x110 [ 58.994138][ T5031] ? sort_r+0x13f0/0x1430 [ 58.998465][ T5031] ? rcu_is_watching+0x15/0xb0 [ 59.003244][ T5031] ? btrfs_grab_root+0x320/0x320 [ 59.008172][ T5031] ? ensure_commit_roots_uptodate+0x26b/0x280 [ 59.014277][ T5031] btrfs_ioctl_send+0x2113/0x2750 [ 59.019306][ T5031] _btrfs_ioctl_send+0x2ff/0x430 [ 59.024243][ T5031] ? smack_file_ioctl+0x2a1/0x3a0 [ 59.029258][ T5031] ? btrfs_ioctl_set_received_subvol_32+0xb90/0xb90 [ 59.035841][ T5031] ? smack_file_alloc_security+0xe0/0xe0 [ 59.041468][ T5031] ? do_notify_parent+0x1100/0x1100 [ 59.046668][ T5031] btrfs_ioctl+0x90a/0xd40 [ 59.051078][ T5031] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 59.057485][ T5031] __se_sys_ioctl+0xf8/0x170 [ 59.062071][ T5031] do_syscall_64+0x41/0xc0 [ 59.066476][ T5031] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.072359][ T5031] RIP: 0033:0x7f02b84af649 [ 59.076762][ T5031] 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 [ 59.096356][ T5031] RSP: 002b:00007ffd75107298 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 59.104764][ T5031] RAX: ffffffffffffffda RBX: 00007ffd75107468 RCX: 00007f02b84af649 [ 59.112727][ T5031] RDX: 0000000020000140 RSI: 0000000040489426 RDI: 0000000000000004 [ 59.120686][ T5031] RBP: 00007f02b8527610 R08: 00007ffd75107468 R09: 00007ffd75107468 [ 59.128648][ T5031] R10: 00007ffd75107468 R11: 0000000000000246 R12: 0000000000000001 [ 59.136609][ T5031] R13: 00007ffd75107458 R14: 0000000000000001 R15: 0000000000000001 [ 59.144577][ T5031] [ 59.147775][ T5031] Kernel Offset: disabled [ 59.152146][ T5031] Rebooting in 86400 seconds..