./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2829018089 <...> Warning: Permanently added '10.128.0.93' (ECDSA) to the list of known hosts. execve("./syz-executor2829018089", ["./syz-executor2829018089"], 0x7fffbe4c8380 /* 10 vars */) = 0 brk(NULL) = 0x555555956000 brk(0x555555956c40) = 0x555555956c40 arch_prctl(ARCH_SET_FS, 0x555555956300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2829018089", 4096) = 28 brk(0x555555977c40) = 0x555555977c40 brk(0x555555978000) = 0x555555978000 mprotect(0x7f5b958e6000, 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) = 0x7f5b8d400000 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(0x7f5b8d400000, 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: [ 56.250813][ T3631] loop0: detected capacity change from 0 to 32768 [ 56.264175][ T3631] BTRFS: device fsid 5ac8a51e-da3a-4998-8e66-e1df06b87bc8 devid 1 transid 8 /dev/loop0 scanned by syz-executor282 (3631) [ 56.283017][ T3631] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 56.294339][ 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 [ 56.316313][ T3631] BTRFS info (device loop0): enabling ssd optimizations [ 56.325765][ T3631] BTRFS info (device loop0): checking UUID tree ioctl(3, BTRFS_IOC_SUBVOL_SETFLAGS, BTRFS_SUBVOL_RDONLY) = 0 [ 56.379167][ T3631] ------------[ cut here ]------------ [ 56.385201][ T3631] WARNING: CPU: 1 PID: 3631 at fs/read_write.c:504 __kernel_write_iter+0x639/0x740 [ 56.395442][ T3631] Modules linked in: [ 56.399789][ T3631] CPU: 1 PID: 3631 Comm: syz-executor282 Not tainted 6.1.0-rc6-syzkaller-00375-gcf562a45a0d5 #0 [ 56.411094][ T3631] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 56.421777][ T3631] RIP: 0010:__kernel_write_iter+0x639/0x740 [ 56.428313][ 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 e7 80 9d ff <0f> 0b 49 c7 c6 f7 ff ff ff eb a5 e8 d7 80 9d ff 4c 8b 74 24 18 eb [ 56.450812][ T3631] RSP: 0018:ffffc90003c2f740 EFLAGS: 00010293 [ 56.457018][ T3631] RAX: ffffffff81ed1709 RBX: 00000000000a801d RCX: ffff888020743a80 [ 56.465580][ T3631] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 56.474195][ T3631] RBP: ffffc90003c2f870 R08: ffffffff81ed117d R09: fffffbfff1cebdfe [ 56.482957][ T3631] R10: fffffbfff1cebdfe R11: 1ffffffff1cebdfd R12: 1ffff92000785ef4 [ 56.492015][ T3631] R13: 1ffff1100ef7f32f R14: ffff888077bf9900 R15: dffffc0000000000 [ 56.500829][ T3631] FS: 0000555555956300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 56.510990][ T3631] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.518814][ T3631] CR2: 000000000061ba0c CR3: 0000000079246000 CR4: 00000000003506e0 [ 56.527393][ T3631] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 56.535417][ T3631] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 56.543897][ T3631] Call Trace: [ 56.548243][ T3631] [ 56.551284][ T3631] ? rcu_read_lock_sched_held+0x87/0x110 [ 56.556929][ T3631] ? vfs_read+0xbf0/0xbf0 [ 56.561434][ T3631] ? lockdep_unlock+0x144/0x2e0 [ 56.566334][ T3631] ? apparmor_file_permission+0x2da/0x310 [ 56.572222][ T3631] ? bpf_lsm_file_permission+0x5/0x10 [ 56.577733][ T3631] ? security_file_permission+0xe0/0x5c0 [ 56.583571][ T3631] ? iov_iter_kvec+0x4a/0x1a0 [ 56.588820][ T3631] kernel_write+0x1c5/0x340 [ 56.597020][ T3631] ? __kernel_write+0x170/0x170 [ 56.602600][ T3631] ? __lock_acquire+0x1f60/0x1f60 [ 56.608717][ T3631] ? btrfs_wait_ordered_extents+0xc85/0xe70 [ 56.615263][ T3631] ? trace_lock_release+0x95/0x220 [ 56.621231][ T3631] ? send_subvol+0x118/0x4b60 [ 56.626059][ T3631] send_subvol+0x1a7/0x4b60 [ 56.631037][ T3631] ? mutex_unlock+0x10/0x10 [ 56.636033][ T3631] ? do_raw_spin_unlock+0x134/0x8a0 [ 56.641772][ T3631] ? ensure_commit_roots_uptodate+0x2a0/0x2a0 [ 56.648953][ T3631] ? trace_btrfs_ordered_extent_remove+0x2f0/0x2f0 [ 56.655683][ T3631] ? sort+0xd7/0x110 [ 56.660109][ T3631] ? sort_r+0x1360/0x1420 [ 56.664633][ T3631] ? kvmalloc_node+0x6e/0x180 [ 56.670408][ T3631] ? btrfs_grab_root+0x310/0x310 [ 56.675390][ T3631] ? ensure_commit_roots_uptodate+0x28c/0x2a0 [ 56.681720][ T3631] btrfs_ioctl_send+0x1e34/0x2340 [ 56.686882][ T3631] _btrfs_ioctl_send+0x2e8/0x420 [ 56.692014][ T3631] ? btrfs_ioctl_set_received_subvol_32+0xb60/0xb60 [ 56.698833][ T3631] ? do_notify_parent+0xe00/0xe00 [ 56.703858][ T3631] btrfs_ioctl+0x5eb/0xc10 [ 56.708897][ T3631] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 56.715871][ T3631] __se_sys_ioctl+0xfb/0x170 [ 56.720702][ T3631] do_syscall_64+0x3d/0xb0 [ 56.725371][ T3631] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 56.731385][ T3631] RIP: 0033:0x7f5b95874b49 [ 56.735819][ 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 [ 56.755811][ T3631] RSP: 002b:00007ffc73f59eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 56.764557][ T3631] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5b95874b49 [ 56.772609][ T3631] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 56.780818][ T3631] RBP: 00007f5b95834410 R08: 0000000000000000 R09: 0000000000000000 [ 56.789358][ T3631] R10: 00000000000051af R11: 0000000000000246 R12: 00007f5b958344a0 [ 56.797490][ T3631] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 56.805584][ T3631] [ 56.809046][ T3631] Kernel panic - not syncing: panic_on_warn set ... [ 56.815814][ T3631] CPU: 0 PID: 3631 Comm: syz-executor282 Not tainted 6.1.0-rc6-syzkaller-00375-gcf562a45a0d5 #0 [ 56.827136][ T3631] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 56.837389][ T3631] Call Trace: [ 56.841020][ T3631] [ 56.843960][ T3631] dump_stack_lvl+0x1b1/0x28e [ 56.848743][ T3631] ? nf_tcp_handle_invalid+0x62e/0x62e [ 56.854262][ T3631] ? panic+0x710/0x710 [ 56.858444][ T3631] ? vscnprintf+0x59/0x80 [ 56.862765][ T3631] ? __kernel_write_iter+0x630/0x740 [ 56.868137][ T3631] panic+0x2d6/0x710 [ 56.872138][ T3631] ? __warn+0x131/0x220 [ 56.876481][ T3631] ? memcpy_page_flushcache+0xfc/0xfc [ 56.881874][ T3631] ? __kernel_write_iter+0x639/0x740 [ 56.887183][ T3631] __warn+0x1fa/0x220 [ 56.891173][ T3631] ? __kernel_write_iter+0x639/0x740 [ 56.896451][ T3631] report_bug+0x1b3/0x2d0 [ 56.900861][ T3631] handle_bug+0x3d/0x70 [ 56.905044][ T3631] exc_invalid_op+0x16/0x40 [ 56.909530][ T3631] asm_exc_invalid_op+0x16/0x20 [ 56.914364][ T3631] RIP: 0010:__kernel_write_iter+0x639/0x740 [ 56.920249][ 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 e7 80 9d ff <0f> 0b 49 c7 c6 f7 ff ff ff eb a5 e8 d7 80 9d ff 4c 8b 74 24 18 eb [ 56.940038][ T3631] RSP: 0018:ffffc90003c2f740 EFLAGS: 00010293 [ 56.946764][ T3631] RAX: ffffffff81ed1709 RBX: 00000000000a801d RCX: ffff888020743a80 [ 56.955239][ T3631] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 56.963468][ T3631] RBP: ffffc90003c2f870 R08: ffffffff81ed117d R09: fffffbfff1cebdfe [ 56.971626][ T3631] R10: fffffbfff1cebdfe R11: 1ffffffff1cebdfd R12: 1ffff92000785ef4 [ 56.979602][ T3631] R13: 1ffff1100ef7f32f R14: ffff888077bf9900 R15: dffffc0000000000 [ 56.987607][ T3631] ? __kernel_write_iter+0xad/0x740 [ 56.992815][ T3631] ? __kernel_write_iter+0x639/0x740 [ 56.998130][ T3631] ? rcu_read_lock_sched_held+0x87/0x110 [ 57.003963][ T3631] ? vfs_read+0xbf0/0xbf0 [ 57.008306][ T3631] ? lockdep_unlock+0x144/0x2e0 [ 57.013270][ T3631] ? apparmor_file_permission+0x2da/0x310 [ 57.019349][ T3631] ? bpf_lsm_file_permission+0x5/0x10 [ 57.024756][ T3631] ? security_file_permission+0xe0/0x5c0 [ 57.030500][ T3631] ? iov_iter_kvec+0x4a/0x1a0 [ 57.035365][ T3631] kernel_write+0x1c5/0x340 [ 57.040193][ T3631] ? __kernel_write+0x170/0x170 [ 57.045520][ T3631] ? __lock_acquire+0x1f60/0x1f60 [ 57.050838][ T3631] ? btrfs_wait_ordered_extents+0xc85/0xe70 [ 57.057019][ T3631] ? trace_lock_release+0x95/0x220 [ 57.062338][ T3631] ? send_subvol+0x118/0x4b60 [ 57.067133][ T3631] send_subvol+0x1a7/0x4b60 [ 57.071929][ T3631] ? mutex_unlock+0x10/0x10 [ 57.077191][ T3631] ? do_raw_spin_unlock+0x134/0x8a0 [ 57.082429][ T3631] ? ensure_commit_roots_uptodate+0x2a0/0x2a0 [ 57.089044][ T3631] ? trace_btrfs_ordered_extent_remove+0x2f0/0x2f0 [ 57.095721][ T3631] ? sort+0xd7/0x110 [ 57.099695][ T3631] ? sort_r+0x1360/0x1420 [ 57.104099][ T3631] ? kvmalloc_node+0x6e/0x180 [ 57.108851][ T3631] ? btrfs_grab_root+0x310/0x310 [ 57.114248][ T3631] ? ensure_commit_roots_uptodate+0x28c/0x2a0 [ 57.120531][ T3631] btrfs_ioctl_send+0x1e34/0x2340 [ 57.125670][ T3631] _btrfs_ioctl_send+0x2e8/0x420 [ 57.130604][ T3631] ? btrfs_ioctl_set_received_subvol_32+0xb60/0xb60 [ 57.137212][ T3631] ? do_notify_parent+0xe00/0xe00 [ 57.142238][ T3631] btrfs_ioctl+0x5eb/0xc10 [ 57.146797][ T3631] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 57.153224][ T3631] __se_sys_ioctl+0xfb/0x170 [ 57.157808][ T3631] do_syscall_64+0x3d/0xb0 [ 57.162234][ T3631] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.168140][ T3631] RIP: 0033:0x7f5b95874b49 [ 57.172569][ 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 [ 57.192775][ T3631] RSP: 002b:00007ffc73f59eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.201182][ T3631] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5b95874b49 [ 57.209314][ T3631] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 57.217560][ T3631] RBP: 00007f5b95834410 R08: 0000000000000000 R09: 0000000000000000 [ 57.225617][ T3631] R10: 00000000000051af R11: 0000000000000246 R12: 00007f5b958344a0 [ 57.233597][ T3631] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 57.241768][ T3631] [ 57.245098][ T3631] Kernel Offset: disabled [ 57.249571][ T3631] Rebooting in 86400 seconds..