./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1565101585 <...> DUID 00:04:f8:b5:8a:47:ae:09:95:3a:43:2d:d7:42:86:31:94:89 forked to background, child pid 3209 [ 30.001715][ T3210] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.011300][ T3210] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.170' (ECDSA) to the list of known hosts. execve("./syz-executor1565101585", ["./syz-executor1565101585"], 0x7fff6e3e9a60 /* 10 vars */) = 0 brk(NULL) = 0x55555598b000 brk(0x55555598bc40) = 0x55555598bc40 arch_prctl(ARCH_SET_FS, 0x55555598b300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1565101585", 4096) = 28 brk(0x5555559acc40) = 0x5555559acc40 brk(0x5555559ad000) = 0x5555559ad000 mprotect(0x7f3c39472000, 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) = 0x7f3c30e00000 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(0x7f3c30e00000, 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: [ 53.540514][ T3631] loop0: detected capacity change from 0 to 32768 [ 53.551985][ T3631] BTRFS: device fsid 5ac8a51e-da3a-4998-8e66-e1df06b87bc8 devid 1 transid 8 /dev/loop0 scanned by syz-executor156 (3631) [ 53.569813][ T3631] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 53.579382][ 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.598596][ T3631] BTRFS info (device loop0): enabling ssd optimizations [ 53.607823][ T3631] BTRFS info (device loop0): checking UUID tree [ 53.635754][ T3631] ------------[ cut here ]------------ [ 53.641365][ T3631] WARNING: CPU: 0 PID: 3631 at fs/read_write.c:504 __kernel_write_iter+0x639/0x740 [ 53.650799][ T3631] Modules linked in: [ 53.654892][ T3631] CPU: 0 PID: 3631 Comm: syz-executor156 Not tainted 6.1.0-rc6-syzkaller-00375-gcf562a45a0d5 #0 [ 53.665536][ T3631] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 53.675773][ T3631] RIP: 0010:__kernel_write_iter+0x639/0x740 [ 53.681711][ 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 [ 53.701457][ T3631] RSP: 0018:ffffc90003aff740 EFLAGS: 00010293 [ 53.707659][ T3631] RAX: ffffffff81ed1709 RBX: 00000000000a801d RCX: ffff88801f7fba80 [ 53.715798][ T3631] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 53.723847][ T3631] RBP: ffffc90003aff870 R08: ffffffff81ed117d R09: fffffbfff1cebdfe [ 53.731852][ T3631] R10: fffffbfff1cebdfe R11: 1ffffffff1cebdfd R12: 1ffff9200075fef4 [ 53.739961][ T3631] R13: 1ffff1100e7a468f R14: ffff888073d23400 R15: dffffc0000000000 [ 53.748138][ T3631] FS: 000055555598b300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 53.757207][ T3631] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.764296][ T3631] CR2: 00007fff6e3e7f98 CR3: 0000000072746000 CR4: 00000000003506f0 [ 53.772297][ T3631] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 53.780404][ T3631] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 53.788465][ T3631] Call Trace: [ 53.791770][ T3631] [ 53.794808][ T3631] ? rcu_read_lock_sched_held+0x87/0x110 [ 53.800461][ T3631] ? vfs_read+0xbf0/0xbf0 [ 53.804874][ T3631] ? lockdep_unlock+0x144/0x2e0 [ 53.809754][ T3631] ? apparmor_file_permission+0x2da/0x310 [ 53.815578][ T3631] ? bpf_lsm_file_permission+0x5/0x10 [ 53.820956][ T3631] ? security_file_permission+0xe0/0x5c0 [ 53.826637][ T3631] ? iov_iter_kvec+0x4a/0x1a0 [ 53.831320][ T3631] kernel_write+0x1c5/0x340 [ 53.835956][ T3631] ? __kernel_write+0x170/0x170 [ 53.840817][ T3631] ? __lock_acquire+0x1f60/0x1f60 [ 53.845917][ T3631] ? btrfs_wait_ordered_extents+0xc85/0xe70 [ 53.851820][ T3631] ? trace_lock_release+0x95/0x220 [ 53.857257][ T3631] ? send_subvol+0x118/0x4b60 [ 53.861956][ T3631] send_subvol+0x1a7/0x4b60 [ 53.866504][ T3631] ? mutex_unlock+0x10/0x10 [ 53.871015][ T3631] ? do_raw_spin_unlock+0x134/0x8a0 [ 53.876279][ T3631] ? ensure_commit_roots_uptodate+0x2a0/0x2a0 [ 53.882360][ T3631] ? trace_btrfs_ordered_extent_remove+0x2f0/0x2f0 [ 53.888905][ T3631] ? sort+0xd7/0x110 [ 53.892898][ T3631] ? sort_r+0x1360/0x1420 [ 53.897223][ T3631] ? kvmalloc_node+0x6e/0x180 [ 53.901887][ T3631] ? btrfs_grab_root+0x310/0x310 [ 53.906930][ T3631] ? ensure_commit_roots_uptodate+0x28c/0x2a0 [ 53.913096][ T3631] btrfs_ioctl_send+0x1e34/0x2340 [ 53.918156][ T3631] _btrfs_ioctl_send+0x2e8/0x420 [ 53.923141][ T3631] ? btrfs_ioctl_set_received_subvol_32+0xb60/0xb60 [ 53.929742][ T3631] ? do_notify_parent+0xe00/0xe00 [ 53.934838][ T3631] btrfs_ioctl+0x5eb/0xc10 [ 53.939260][ T3631] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 53.945769][ T3631] __se_sys_ioctl+0xfb/0x170 [ 53.950381][ T3631] do_syscall_64+0x3d/0xb0 [ 53.954918][ T3631] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.960823][ T3631] RIP: 0033:0x7f3c39400b49 [ 53.965301][ 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 [ 53.985020][ T3631] RSP: 002b:00007ffeb9860728 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 53.993517][ T3631] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3c39400b49 [ 54.001505][ T3631] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 54.009573][ T3631] RBP: 00007f3c393c0410 R08: 0000000000000000 R09: 0000000000000000 [ 54.017608][ T3631] R10: 00000000000051af R11: 0000000000000246 R12: 00007f3c393c04a0 [ 54.025643][ T3631] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.033668][ T3631] [ 54.036678][ T3631] Kernel panic - not syncing: panic_on_warn set ... [ 54.043246][ T3631] CPU: 0 PID: 3631 Comm: syz-executor156 Not tainted 6.1.0-rc6-syzkaller-00375-gcf562a45a0d5 #0 [ 54.053635][ T3631] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.063670][ T3631] Call Trace: [ 54.066934][ T3631] [ 54.069852][ T3631] dump_stack_lvl+0x1b1/0x28e [ 54.074529][ T3631] ? nf_tcp_handle_invalid+0x62e/0x62e [ 54.080058][ T3631] ? panic+0x710/0x710 [ 54.084117][ T3631] ? vscnprintf+0x59/0x80 [ 54.088432][ T3631] ? __kernel_write_iter+0x630/0x740 [ 54.093707][ T3631] panic+0x2d6/0x710 [ 54.097593][ T3631] ? __warn+0x131/0x220 [ 54.101737][ T3631] ? memcpy_page_flushcache+0xfc/0xfc [ 54.107114][ T3631] ? __kernel_write_iter+0x639/0x740 [ 54.112409][ T3631] __warn+0x1fa/0x220 [ 54.116400][ T3631] ? __kernel_write_iter+0x639/0x740 [ 54.121690][ T3631] report_bug+0x1b3/0x2d0 [ 54.126028][ T3631] handle_bug+0x3d/0x70 [ 54.130180][ T3631] exc_invalid_op+0x16/0x40 [ 54.134697][ T3631] asm_exc_invalid_op+0x16/0x20 [ 54.139551][ T3631] RIP: 0010:__kernel_write_iter+0x639/0x740 [ 54.145451][ 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 [ 54.165065][ T3631] RSP: 0018:ffffc90003aff740 EFLAGS: 00010293 [ 54.171135][ T3631] RAX: ffffffff81ed1709 RBX: 00000000000a801d RCX: ffff88801f7fba80 [ 54.179109][ T3631] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 54.187077][ T3631] RBP: ffffc90003aff870 R08: ffffffff81ed117d R09: fffffbfff1cebdfe [ 54.195054][ T3631] R10: fffffbfff1cebdfe R11: 1ffffffff1cebdfd R12: 1ffff9200075fef4 [ 54.203029][ T3631] R13: 1ffff1100e7a468f R14: ffff888073d23400 R15: dffffc0000000000 [ 54.211005][ T3631] ? __kernel_write_iter+0xad/0x740 [ 54.216296][ T3631] ? __kernel_write_iter+0x639/0x740 [ 54.221603][ T3631] ? rcu_read_lock_sched_held+0x87/0x110 [ 54.227245][ T3631] ? vfs_read+0xbf0/0xbf0 [ 54.231600][ T3631] ? lockdep_unlock+0x144/0x2e0 [ 54.236458][ T3631] ? apparmor_file_permission+0x2da/0x310 [ 54.242181][ T3631] ? bpf_lsm_file_permission+0x5/0x10 [ 54.247552][ T3631] ? security_file_permission+0xe0/0x5c0 [ 54.253186][ T3631] ? iov_iter_kvec+0x4a/0x1a0 [ 54.257876][ T3631] kernel_write+0x1c5/0x340 [ 54.262387][ T3631] ? __kernel_write+0x170/0x170 [ 54.267242][ T3631] ? __lock_acquire+0x1f60/0x1f60 [ 54.272277][ T3631] ? btrfs_wait_ordered_extents+0xc85/0xe70 [ 54.278169][ T3631] ? trace_lock_release+0x95/0x220 [ 54.283278][ T3631] ? send_subvol+0x118/0x4b60 [ 54.287961][ T3631] send_subvol+0x1a7/0x4b60 [ 54.292470][ T3631] ? mutex_unlock+0x10/0x10 [ 54.296978][ T3631] ? do_raw_spin_unlock+0x134/0x8a0 [ 54.302188][ T3631] ? ensure_commit_roots_uptodate+0x2a0/0x2a0 [ 54.308266][ T3631] ? trace_btrfs_ordered_extent_remove+0x2f0/0x2f0 [ 54.314768][ T3631] ? sort+0xd7/0x110 [ 54.318663][ T3631] ? sort_r+0x1360/0x1420 [ 54.323074][ T3631] ? kvmalloc_node+0x6e/0x180 [ 54.327749][ T3631] ? btrfs_grab_root+0x310/0x310 [ 54.332689][ T3631] ? ensure_commit_roots_uptodate+0x28c/0x2a0 [ 54.338763][ T3631] btrfs_ioctl_send+0x1e34/0x2340 [ 54.343800][ T3631] _btrfs_ioctl_send+0x2e8/0x420 [ 54.349870][ T3631] ? btrfs_ioctl_set_received_subvol_32+0xb60/0xb60 [ 54.356463][ T3631] ? do_notify_parent+0xe00/0xe00 [ 54.361486][ T3631] btrfs_ioctl+0x5eb/0xc10 [ 54.365904][ T3631] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 54.372314][ T3631] __se_sys_ioctl+0xfb/0x170 [ 54.376905][ T3631] do_syscall_64+0x3d/0xb0 [ 54.381315][ T3631] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.387204][ T3631] RIP: 0033:0x7f3c39400b49 [ 54.391636][ 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.411245][ T3631] RSP: 002b:00007ffeb9860728 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 54.419751][ T3631] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3c39400b49 [ 54.427724][ T3631] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 54.435695][ T3631] RBP: 00007f3c393c0410 R08: 0000000000000000 R09: 0000000000000000 [ 54.443666][ T3631] R10: 00000000000051af R11: 0000000000000246 R12: 00007f3c393c04a0 [ 54.451631][ T3631] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.459612][ T3631] [ 54.462787][ T3631] Kernel Offset: disabled [ 54.467168][ T3631] Rebooting in 86400 seconds..