Warning: Permanently added '10.128.0.84' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 52.221737][ T4987] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4987 'syz-executor744' [ 52.352230][ T4987] loop0: detected capacity change from 0 to 32768 [ 52.362688][ T4987] BTRFS: device fsid d552757d-9c39-40e3-95f0-16d819589928 devid 1 transid 8 /dev/loop0 scanned by syz-executor744 (4987) [ 52.385046][ T4987] BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm [ 52.393969][ T4987] BTRFS info (device loop0): using free space tree [ 52.412840][ T4987] BTRFS info (device loop0): enabling ssd optimizations [ 52.419960][ T4987] BTRFS info (device loop0): auto enabling async discard [ 52.445426][ T26] audit: type=1800 audit(1686985477.879:2): pid=4987 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="syz-executor744" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 52.471219][ T26] audit: type=1800 audit(1686985477.889:3): pid=4987 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="syz-executor744" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 52.531774][ T5005] BTRFS info (device loop0): balance: start [ 52.539521][ T4987] ------------[ cut here ]------------ [ 52.545168][ T4987] BTRFS: Transaction aborted (error -28) [ 52.551678][ T5005] BTRFS info (device loop0: state A): balance: ended with status: 0 [ 52.560297][ T4987] WARNING: CPU: 0 PID: 4987 at fs/btrfs/extent-tree.c:3053 __btrfs_free_extent+0x2325/0x2e50 [ 52.570760][ T4987] Modules linked in: [ 52.574682][ T4987] CPU: 0 PID: 4987 Comm: syz-executor744 Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 [ 52.585163][ T4987] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 52.595281][ T4987] RIP: 0010:__btrfs_free_extent+0x2325/0x2e50 [ 52.601418][ T4987] Code: 2a 07 48 bb 00 00 00 00 00 fc ff df 4c 8b 74 24 08 e9 1b fb ff ff e8 8a 86 07 fe 48 c7 c7 00 95 29 8b 44 89 e6 e8 8b 05 cf fd <0f> 0b e9 40 e4 ff ff 4d 89 e5 e8 6c 86 07 fe 45 31 c0 45 84 f6 41 [ 52.621099][ T4987] RSP: 0018:ffffc90003a1eb80 EFLAGS: 00010246 [ 52.627191][ T4987] RAX: 2fb23a2828ef9f00 RBX: ffff888079708001 RCX: ffff888016ea5940 [ 52.635245][ T4987] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 52.643276][ T4987] RBP: ffffc90003a1ed00 R08: ffffffff81530142 R09: fffff52000743ce9 [ 52.651323][ T4987] R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffffe4 [ 52.659335][ T4987] R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000001000 [ 52.667319][ T4987] FS: 00007f84bdfd8700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 52.676330][ T4987] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.682959][ T4987] CR2: 00007ffe62b90598 CR3: 000000002b464000 CR4: 00000000003506f0 [ 52.691005][ T4987] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 52.699020][ T4987] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 52.707006][ T4987] Call Trace: [ 52.710331][ T4987] [ 52.713270][ T4987] ? __warn+0x162/0x4a0 [ 52.717422][ T4987] ? __btrfs_free_extent+0x2325/0x2e50 [ 52.722932][ T4987] ? report_bug+0x2b3/0x500 [ 52.727431][ T4987] ? __btrfs_free_extent+0x2325/0x2e50 [ 52.732943][ T4987] ? handle_bug+0x3d/0x70 [ 52.737259][ T4987] ? exc_invalid_op+0x1a/0x50 [ 52.741962][ T4987] ? asm_exc_invalid_op+0x1a/0x20 [ 52.746995][ T4987] ? __warn_printk+0x292/0x360 [ 52.751799][ T4987] ? __btrfs_free_extent+0x2325/0x2e50 [ 52.757275][ T4987] ? read_lock_is_recursive+0x20/0x20 [ 52.762682][ T4987] ? __btrfs_inc_extent_ref+0x5f0/0x5f0 [ 52.768293][ T4987] ? _raw_read_unlock+0x28/0x40 [ 52.773173][ T4987] ? do_raw_spin_unlock+0x13b/0x8b0 [ 52.778429][ T4987] __btrfs_run_delayed_refs+0xef9/0x3fc0 [ 52.784092][ T4987] ? btrfs_run_delayed_refs+0x480/0x480 [ 52.789678][ T4987] ? stack_trace_snprint+0xf0/0xf0 [ 52.794807][ T4987] ? read_lock_is_recursive+0x20/0x20 [ 52.800220][ T4987] btrfs_run_delayed_refs+0x140/0x480 [ 52.805609][ T4987] btrfs_commit_transaction+0x427/0x3370 [ 52.811291][ T4987] ? join_transaction+0xbfd/0xe80 [ 52.816322][ T4987] ? do_raw_spin_lock+0x14d/0x3a0 [ 52.821390][ T4987] ? btrfs_commit_transaction_async+0x450/0x450 [ 52.827659][ T4987] ? slab_post_alloc_hook+0x83/0x3a0 [ 52.832934][ T4987] ? join_transaction+0xc52/0xe80 [ 52.837980][ T4987] ? join_transaction+0xc28/0xe80 [ 52.843012][ T4987] ? btrfs_record_root_in_trans+0x12d/0x180 [ 52.848939][ T4987] ? start_transaction+0x3de/0x1080 [ 52.854154][ T4987] btrfs_sync_file+0xcb3/0x10e0 [ 52.859046][ T4987] ? btrfs_release_file+0x130/0x130 [ 52.864247][ T4987] ? do_raw_spin_lock+0x14d/0x3a0 [ 52.869312][ T4987] ? do_raw_spin_unlock+0x13b/0x8b0 [ 52.874522][ T4987] btrfs_do_write_iter+0xccd/0x1270 [ 52.879794][ T4987] ? btrfs_check_nocow_unlock+0x40/0x40 [ 52.885367][ T4987] do_iter_write+0x7b1/0xcb0 [ 52.890031][ T4987] ? vfs_iter_write+0xa0/0xa0 [ 52.894742][ T4987] ? vfs_iter_write+0x6d/0xa0 [ 52.899468][ T4987] iter_file_splice_write+0x843/0xfe0 [ 52.904842][ T4987] ? btrfs_inode_lock+0x58/0xd0 [ 52.909751][ T4987] ? splice_from_pipe+0x230/0x230 [ 52.914782][ T4987] ? direct_splice_read+0xa10/0xa10 [ 52.920020][ T4987] ? splice_from_pipe+0x230/0x230 [ 52.925048][ T4987] direct_splice_actor+0xe7/0x1c0 [ 52.930103][ T4987] splice_direct_to_actor+0x4c4/0xbd0 [ 52.935487][ T4987] ? do_splice_direct+0x3d0/0x3d0 [ 52.940542][ T4987] ? pipe_to_sendpage+0x350/0x350 [ 52.945569][ T4987] ? fsnotify_perm+0x67/0x590 [ 52.950283][ T4987] ? bpf_lsm_file_permission+0x9/0x10 [ 52.955660][ T4987] do_splice_direct+0x283/0x3d0 [ 52.960544][ T4987] ? splice_direct_to_actor+0xbd0/0xbd0 [ 52.966088][ T4987] ? rcu_read_lock_any_held+0xb7/0x160 [ 52.971597][ T4987] do_sendfile+0x620/0xff0 [ 52.976027][ T4987] ? do_pwritev+0x360/0x360 [ 52.980571][ T4987] ? restore_fpregs_from_fpstate+0x100/0x250 [ 52.986558][ T4987] ? lockdep_hardirqs_on_prepare+0x43c/0x7a0 [ 52.992574][ T4987] __se_sys_sendfile64+0x17c/0x1e0 [ 52.997825][ T4987] ? __x64_sys_sendfile64+0xb0/0xb0 [ 53.003024][ T4987] ? syscall_enter_from_user_mode+0x32/0x230 [ 53.009036][ T4987] ? lockdep_hardirqs_on+0x98/0x140 [ 53.014262][ T4987] ? syscall_enter_from_user_mode+0x32/0x230 [ 53.020291][ T4987] do_syscall_64+0x41/0xc0 [ 53.024714][ T4987] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.030643][ T4987] RIP: 0033:0x7f84be02b7f9 [ 53.035062][ T4987] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 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 b8 ff ff ff f7 d8 64 89 01 48 [ 53.054700][ T4987] RSP: 002b:00007f84bdfd82f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 53.063152][ T4987] RAX: ffffffffffffffda RBX: 00007f84be0b56e0 RCX: 00007f84be02b7f9 [ 53.071249][ T4987] RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 [ 53.079253][ T4987] RBP: 00007f84be08260c R08: 0000000000000000 R09: 0000000000000000 [ 53.087216][ T4987] R10: 000000000880000c R11: 0000000000000246 R12: 0000000020000600 [ 53.095213][ T4987] R13: 0030656c69662f2e R14: 0000000000000000 R15: 00007f84be0b56e8 [ 53.103230][ T4987] [ 53.106240][ T4987] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 53.113514][ T4987] CPU: 0 PID: 4987 Comm: syz-executor744 Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 [ 53.123950][ T4987] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 53.134021][ T4987] Call Trace: [ 53.137316][ T4987] [ 53.140244][ T4987] dump_stack_lvl+0x1e7/0x2d0 [ 53.144921][ T4987] ? nf_tcp_handle_invalid+0x650/0x650 [ 53.150391][ T4987] ? panic+0x770/0x770 [ 53.154472][ T4987] ? vscnprintf+0x5d/0x80 [ 53.158817][ T4987] panic+0x30f/0x770 [ 53.162716][ T4987] ? __warn+0x171/0x4a0 [ 53.166870][ T4987] ? __memcpy_flushcache+0x2b0/0x2b0 [ 53.172170][ T4987] __warn+0x314/0x4a0 [ 53.176157][ T4987] ? __btrfs_free_extent+0x2325/0x2e50 [ 53.181624][ T4987] report_bug+0x2b3/0x500 [ 53.185954][ T4987] ? __btrfs_free_extent+0x2325/0x2e50 [ 53.191414][ T4987] handle_bug+0x3d/0x70 [ 53.195561][ T4987] exc_invalid_op+0x1a/0x50 [ 53.200058][ T4987] asm_exc_invalid_op+0x1a/0x20 [ 53.204902][ T4987] RIP: 0010:__btrfs_free_extent+0x2325/0x2e50 [ 53.210968][ T4987] Code: 2a 07 48 bb 00 00 00 00 00 fc ff df 4c 8b 74 24 08 e9 1b fb ff ff e8 8a 86 07 fe 48 c7 c7 00 95 29 8b 44 89 e6 e8 8b 05 cf fd <0f> 0b e9 40 e4 ff ff 4d 89 e5 e8 6c 86 07 fe 45 31 c0 45 84 f6 41 [ 53.230658][ T4987] RSP: 0018:ffffc90003a1eb80 EFLAGS: 00010246 [ 53.236719][ T4987] RAX: 2fb23a2828ef9f00 RBX: ffff888079708001 RCX: ffff888016ea5940 [ 53.244714][ T4987] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 53.252692][ T4987] RBP: ffffc90003a1ed00 R08: ffffffff81530142 R09: fffff52000743ce9 [ 53.260661][ T4987] R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffffe4 [ 53.268626][ T4987] R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000001000 [ 53.276600][ T4987] ? __warn_printk+0x292/0x360 [ 53.281405][ T4987] ? read_lock_is_recursive+0x20/0x20 [ 53.286810][ T4987] ? __btrfs_inc_extent_ref+0x5f0/0x5f0 [ 53.292367][ T4987] ? _raw_read_unlock+0x28/0x40 [ 53.297220][ T4987] ? do_raw_spin_unlock+0x13b/0x8b0 [ 53.302449][ T4987] __btrfs_run_delayed_refs+0xef9/0x3fc0 [ 53.308151][ T4987] ? btrfs_run_delayed_refs+0x480/0x480 [ 53.313716][ T4987] ? stack_trace_snprint+0xf0/0xf0 [ 53.318845][ T4987] ? read_lock_is_recursive+0x20/0x20 [ 53.324227][ T4987] btrfs_run_delayed_refs+0x140/0x480 [ 53.329605][ T4987] btrfs_commit_transaction+0x427/0x3370 [ 53.335245][ T4987] ? join_transaction+0xbfd/0xe80 [ 53.340262][ T4987] ? do_raw_spin_lock+0x14d/0x3a0 [ 53.345290][ T4987] ? btrfs_commit_transaction_async+0x450/0x450 [ 53.351527][ T4987] ? slab_post_alloc_hook+0x83/0x3a0 [ 53.356805][ T4987] ? join_transaction+0xc52/0xe80 [ 53.361820][ T4987] ? join_transaction+0xc28/0xe80 [ 53.366838][ T4987] ? btrfs_record_root_in_trans+0x12d/0x180 [ 53.372725][ T4987] ? start_transaction+0x3de/0x1080 [ 53.377946][ T4987] btrfs_sync_file+0xcb3/0x10e0 [ 53.382818][ T4987] ? btrfs_release_file+0x130/0x130 [ 53.388010][ T4987] ? do_raw_spin_lock+0x14d/0x3a0 [ 53.393056][ T4987] ? do_raw_spin_unlock+0x13b/0x8b0 [ 53.398270][ T4987] btrfs_do_write_iter+0xccd/0x1270 [ 53.403481][ T4987] ? btrfs_check_nocow_unlock+0x40/0x40 [ 53.409036][ T4987] do_iter_write+0x7b1/0xcb0 [ 53.413640][ T4987] ? vfs_iter_write+0xa0/0xa0 [ 53.418322][ T4987] ? vfs_iter_write+0x6d/0xa0 [ 53.423017][ T4987] iter_file_splice_write+0x843/0xfe0 [ 53.428396][ T4987] ? btrfs_inode_lock+0x58/0xd0 [ 53.433278][ T4987] ? splice_from_pipe+0x230/0x230 [ 53.438322][ T4987] ? direct_splice_read+0xa10/0xa10 [ 53.443530][ T4987] ? splice_from_pipe+0x230/0x230 [ 53.448551][ T4987] direct_splice_actor+0xe7/0x1c0 [ 53.453585][ T4987] splice_direct_to_actor+0x4c4/0xbd0 [ 53.458964][ T4987] ? do_splice_direct+0x3d0/0x3d0 [ 53.463981][ T4987] ? pipe_to_sendpage+0x350/0x350 [ 53.468998][ T4987] ? fsnotify_perm+0x67/0x590 [ 53.473665][ T4987] ? bpf_lsm_file_permission+0x9/0x10 [ 53.479203][ T4987] do_splice_direct+0x283/0x3d0 [ 53.484046][ T4987] ? splice_direct_to_actor+0xbd0/0xbd0 [ 53.489591][ T4987] ? rcu_read_lock_any_held+0xb7/0x160 [ 53.495052][ T4987] do_sendfile+0x620/0xff0 [ 53.499479][ T4987] ? do_pwritev+0x360/0x360 [ 53.503975][ T4987] ? restore_fpregs_from_fpstate+0x100/0x250 [ 53.509952][ T4987] ? lockdep_hardirqs_on_prepare+0x43c/0x7a0 [ 53.515952][ T4987] __se_sys_sendfile64+0x17c/0x1e0 [ 53.521075][ T4987] ? __x64_sys_sendfile64+0xb0/0xb0 [ 53.526269][ T4987] ? syscall_enter_from_user_mode+0x32/0x230 [ 53.532247][ T4987] ? lockdep_hardirqs_on+0x98/0x140 [ 53.537468][ T4987] ? syscall_enter_from_user_mode+0x32/0x230 [ 53.543455][ T4987] do_syscall_64+0x41/0xc0 [ 53.547863][ T4987] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.553749][ T4987] RIP: 0033:0x7f84be02b7f9 [ 53.558159][ T4987] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 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 b8 ff ff ff f7 d8 64 89 01 48 [ 53.577759][ T4987] RSP: 002b:00007f84bdfd82f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 53.586164][ T4987] RAX: ffffffffffffffda RBX: 00007f84be0b56e0 RCX: 00007f84be02b7f9 [ 53.594125][ T4987] RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 [ 53.602083][ T4987] RBP: 00007f84be08260c R08: 0000000000000000 R09: 0000000000000000 [ 53.610043][ T4987] R10: 000000000880000c R11: 0000000000000246 R12: 0000000020000600 [ 53.618004][ T4987] R13: 0030656c69662f2e R14: 0000000000000000 R15: 00007f84be0b56e8 [ 53.625979][ T4987] [ 53.629143][ T4987] Kernel Offset: disabled [ 53.633566][ T4987] Rebooting in 86400 seconds..