Warning: Permanently added '10.128.1.21' (ECDSA) to the list of known hosts. executing program [ 182.772268][ T3644] loop0: detected capacity change from 0 to 32768 [ 182.781991][ T3644] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 scanned by syz-executor395 (3644) [ 182.801161][ T3644] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 182.810551][ T3644] BTRFS info (device loop0): force clearing of disk cache [ 182.817696][ T3644] BTRFS info (device loop0): setting nodatasum [ 182.824058][ T3644] BTRFS info (device loop0): allowing degraded mounts [ 182.831019][ T3644] BTRFS info (device loop0): enabling disk space caching [ 182.838030][ T3644] BTRFS info (device loop0): disk space caching is enabled [ 182.860012][ T3644] BTRFS info (device loop0): enabling ssd optimizations [ 182.868782][ T3644] BTRFS info (device loop0): clearing free space tree [ 182.876149][ T3644] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 182.886050][ T3644] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [ 182.907464][ T3644] BTRFS info (device loop0): checking UUID tree [ 182.924498][ T27] audit: type=1800 audit(1670036841.032:2): pid=3644 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor395" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 182.972676][ T11] BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) [ 182.985322][ T27] audit: type=1804 audit(1670036841.102:3): pid=3644 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=invalid_pcr cause=open_writers comm="syz-executor395" name="/root/syzkaller.V646YA/0/file0/bus" dev="loop0" ino=263 res=1 errno=0 [ 183.075551][ T3665] BTRFS info (device loop0): balance: start -d -m -s [ 183.114598][ T3665] BTRFS info (device loop0): relocating block group 6881280 flags data|metadata [ 183.209692][ T3665] BTRFS info (device loop0): relocating block group 5242880 flags data|metadata [ 183.220972][ T3665] ------------[ cut here ]------------ [ 183.226827][ T3665] WARNING: CPU: 0 PID: 3665 at fs/btrfs/extent-tree.c:3058 __btrfs_free_extent+0x2021/0x2870 [ 183.237359][ T3665] Modules linked in: [ 183.241869][ T3665] CPU: 0 PID: 3665 Comm: syz-executor395 Not tainted 6.1.0-rc7-syzkaller-00123-ga4412fdd49dc #0 [ 183.252677][ T3665] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 183.263372][ T3665] RIP: 0010:__btrfs_free_extent+0x2021/0x2870 [ 183.269512][ T3665] Code: e8 36 7b 0d 07 e9 36 f6 ff ff e8 3a c0 07 fe 45 31 ed 45 0f b6 c5 48 89 df 48 c7 c6 20 6b 38 8b ba ed 0b 00 00 e9 58 e7 ff ff <0f> 0b 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 07 dc [ 183.289917][ T3665] RSP: 0018:ffffc90003c9ef80 EFLAGS: 00010246 [ 183.296446][ T3665] RAX: 0000000000000003 RBX: 0000000000000107 RCX: 0000000000000000 [ 183.304829][ T3665] RDX: 0000000000000002 RSI: ffffffff8d649770 RDI: 00000000fffffffe [ 183.313136][ T3665] RBP: ffffc90003c9f100 R08: 0000000000000005 R09: ffffffff8382badf [ 183.319373][ T3644] syz-executor395 (3644) used greatest stack depth: 15224 bytes left [ 183.321614][ T3665] R10: 0000000000000002 R11: ffff8880770b8000 R12: dffffc0000000000 [ 183.337557][ T3665] R13: dffffc0000000000 R14: 00000000fffffffe R15: ffff8880774c0c60 [ 183.346269][ T3665] FS: 00007f54db09b700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 183.355352][ T3665] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 183.361991][ T3665] CR2: 00005649822fb0e8 CR3: 0000000079d83000 CR4: 00000000003506e0 [ 183.369963][ T3665] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 183.378001][ T3665] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 183.386005][ T3665] Call Trace: [ 183.389278][ T3665] [ 183.392377][ T3665] ? __btrfs_inc_extent_ref+0x5e0/0x5e0 [ 183.397976][ T3665] ? rcu_read_lock_sched_held+0x87/0x110 [ 183.403649][ T3665] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 183.409648][ T3665] ? do_raw_spin_unlock+0x134/0x8a0 [ 183.414926][ T3665] btrfs_run_delayed_refs_for_head+0xafd/0x1df0 [ 183.421228][ T3665] ? __lock_acquire+0x1292/0x1f60 [ 183.426287][ T3665] ? btrfs_issue_discard+0x700/0x700 [ 183.431673][ T3665] ? lock_downgrade+0x8d0/0x8d0 [ 183.436543][ T3665] ? __btrfs_run_delayed_refs+0x1d5/0x490 [ 183.442341][ T3665] ? btrfs_merge_delayed_refs+0x5d4/0x650 [ 183.448087][ T3665] ? do_raw_spin_unlock+0x134/0x8a0 [ 183.453656][ T3665] __btrfs_run_delayed_refs+0x25f/0x490 [ 183.459360][ T3665] ? btrfs_run_delayed_refs+0x490/0x490 [ 183.464993][ T3665] ? mark_lock+0x9a/0x350 [ 183.469337][ T3665] btrfs_run_delayed_refs+0x13b/0x490 [ 183.474842][ T3665] btrfs_commit_transaction+0x3a9/0x3760 [ 183.480550][ T3665] ? read_lock_is_recursive+0x10/0x10 [ 183.485920][ T3665] ? join_transaction+0xbf8/0xe60 [ 183.491008][ T3665] ? do_raw_spin_lock+0x148/0x360 [ 183.496058][ T3665] ? __lock_acquire+0x1f60/0x1f60 [ 183.501135][ T3665] ? btrfs_commit_transaction_async+0x440/0x440 [ 183.507399][ T3665] ? join_transaction+0xc45/0xe60 [ 183.512486][ T3665] ? join_transaction+0xc1f/0xe60 [ 183.517537][ T3665] ? btrfs_record_root_in_trans+0x8e/0x180 [ 183.523437][ T3665] ? start_transaction+0x3da/0x1180 [ 183.528679][ T3665] prepare_to_relocate+0x3a8/0x4b0 [ 183.533871][ T3665] relocate_block_group+0x15d/0xce0 [ 183.539094][ T3665] ? btrfs_wait_ordered_roots+0x895/0x8f0 [ 183.544881][ T3665] ? btrfs_relocate_block_group+0x7b0/0xd70 [ 183.550867][ T3665] ? describe_relocation+0x130/0x130 [ 183.556155][ T3665] ? btrfs_run_ordered_extent_work+0x30/0x30 [ 183.562181][ T3665] ? btrfs_relocate_block_group+0x496/0xd70 [ 183.568106][ T3665] btrfs_relocate_block_group+0x7b8/0xd70 [ 183.573929][ T3665] btrfs_relocate_chunk+0x125/0x350 [ 183.579172][ T3665] __btrfs_balance+0x1dbf/0x2960 [ 183.584329][ T3665] ? describe_balance_start_or_resume+0x490/0x490 [ 183.590809][ T3665] ? do_wait_for_common+0x540/0x560 [ 183.596020][ T3665] btrfs_balance+0xbfc/0x1140 [ 183.600779][ T3665] btrfs_ioctl_balance+0x478/0x780 [ 183.605910][ T3665] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 183.612386][ T3665] __se_sys_ioctl+0xfb/0x170 [ 183.616996][ T3665] do_syscall_64+0x3d/0xb0 [ 183.621452][ T3665] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 183.627356][ T3665] RIP: 0033:0x7f54db110b49 [ 183.631827][ T3665] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 [ 183.651566][ T3665] RSP: 002b:00007f54db09b2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 183.660011][ T3665] RAX: ffffffffffffffda RBX: 00007f54db19b7f0 RCX: 00007f54db110b49 [ 183.668066][ T3665] RDX: 0000000020022300 RSI: 00000000c4009420 RDI: 0000000000000008 [ 183.676084][ T3665] RBP: 00007f54db16826c R08: 0000000000000000 R09: 0000000000000000 [ 183.684194][ T3665] R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e [ 183.692318][ T3665] R13: 00007f54db167270 R14: 61635f7261656c63 R15: 00007f54db19b7f8 [ 183.700807][ T3665] [ 183.703886][ T3665] Kernel panic - not syncing: panic_on_warn set ... [ 183.710481][ T3665] CPU: 0 PID: 3665 Comm: syz-executor395 Not tainted 6.1.0-rc7-syzkaller-00123-ga4412fdd49dc #0 [ 183.720876][ T3665] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 183.730918][ T3665] Call Trace: [ 183.734184][ T3665] [ 183.737116][ T3665] dump_stack_lvl+0x1b1/0x28e [ 183.741784][ T3665] ? nf_tcp_handle_invalid+0x62e/0x62e [ 183.747227][ T3665] ? panic+0x710/0x710 [ 183.751290][ T3665] ? vscnprintf+0x59/0x80 [ 183.755605][ T3665] ? __btrfs_free_extent+0x1f50/0x2870 [ 183.761052][ T3665] panic+0x2d6/0x710 [ 183.764936][ T3665] ? __warn+0x131/0x220 [ 183.769109][ T3665] ? memcpy_page_flushcache+0xfc/0xfc [ 183.774567][ T3665] ? __btrfs_free_extent+0x2021/0x2870 [ 183.780022][ T3665] __warn+0x1fa/0x220 [ 183.784012][ T3665] ? __btrfs_free_extent+0x2021/0x2870 [ 183.789464][ T3665] report_bug+0x1b3/0x2d0 [ 183.793784][ T3665] handle_bug+0x3d/0x70 [ 183.797929][ T3665] exc_invalid_op+0x16/0x40 [ 183.802416][ T3665] asm_exc_invalid_op+0x16/0x20 [ 183.807251][ T3665] RIP: 0010:__btrfs_free_extent+0x2021/0x2870 [ 183.813307][ T3665] Code: e8 36 7b 0d 07 e9 36 f6 ff ff e8 3a c0 07 fe 45 31 ed 45 0f b6 c5 48 89 df 48 c7 c6 20 6b 38 8b ba ed 0b 00 00 e9 58 e7 ff ff <0f> 0b 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 07 dc [ 183.833027][ T3665] RSP: 0018:ffffc90003c9ef80 EFLAGS: 00010246 [ 183.839080][ T3665] RAX: 0000000000000003 RBX: 0000000000000107 RCX: 0000000000000000 [ 183.847038][ T3665] RDX: 0000000000000002 RSI: ffffffff8d649770 RDI: 00000000fffffffe [ 183.854999][ T3665] RBP: ffffc90003c9f100 R08: 0000000000000005 R09: ffffffff8382badf [ 183.863042][ T3665] R10: 0000000000000002 R11: ffff8880770b8000 R12: dffffc0000000000 [ 183.870999][ T3665] R13: dffffc0000000000 R14: 00000000fffffffe R15: ffff8880774c0c60 [ 183.878965][ T3665] ? __btrfs_free_extent+0x32f/0x2870 [ 183.884346][ T3665] ? __btrfs_inc_extent_ref+0x5e0/0x5e0 [ 183.889881][ T3665] ? rcu_read_lock_sched_held+0x87/0x110 [ 183.895500][ T3665] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 183.901474][ T3665] ? do_raw_spin_unlock+0x134/0x8a0 [ 183.906666][ T3665] btrfs_run_delayed_refs_for_head+0xafd/0x1df0 [ 183.912905][ T3665] ? __lock_acquire+0x1292/0x1f60 [ 183.917930][ T3665] ? btrfs_issue_discard+0x700/0x700 [ 183.923317][ T3665] ? lock_downgrade+0x8d0/0x8d0 [ 183.928151][ T3665] ? __btrfs_run_delayed_refs+0x1d5/0x490 [ 183.933867][ T3665] ? btrfs_merge_delayed_refs+0x5d4/0x650 [ 183.939571][ T3665] ? do_raw_spin_unlock+0x134/0x8a0 [ 183.944764][ T3665] __btrfs_run_delayed_refs+0x25f/0x490 [ 183.950306][ T3665] ? btrfs_run_delayed_refs+0x490/0x490 [ 183.955844][ T3665] ? mark_lock+0x9a/0x350 [ 183.960163][ T3665] btrfs_run_delayed_refs+0x13b/0x490 [ 183.965529][ T3665] btrfs_commit_transaction+0x3a9/0x3760 [ 183.971161][ T3665] ? read_lock_is_recursive+0x10/0x10 [ 183.976530][ T3665] ? join_transaction+0xbf8/0xe60 [ 183.981544][ T3665] ? do_raw_spin_lock+0x148/0x360 [ 183.986555][ T3665] ? __lock_acquire+0x1f60/0x1f60 [ 183.991571][ T3665] ? btrfs_commit_transaction_async+0x440/0x440 [ 183.997808][ T3665] ? join_transaction+0xc45/0xe60 [ 184.002843][ T3665] ? join_transaction+0xc1f/0xe60 [ 184.007861][ T3665] ? btrfs_record_root_in_trans+0x8e/0x180 [ 184.013658][ T3665] ? start_transaction+0x3da/0x1180 [ 184.018858][ T3665] prepare_to_relocate+0x3a8/0x4b0 [ 184.023967][ T3665] relocate_block_group+0x15d/0xce0 [ 184.029159][ T3665] ? btrfs_wait_ordered_roots+0x895/0x8f0 [ 184.034865][ T3665] ? btrfs_relocate_block_group+0x7b0/0xd70 [ 184.040747][ T3665] ? describe_relocation+0x130/0x130 [ 184.046019][ T3665] ? btrfs_run_ordered_extent_work+0x30/0x30 [ 184.051986][ T3665] ? btrfs_relocate_block_group+0x496/0xd70 [ 184.057872][ T3665] btrfs_relocate_block_group+0x7b8/0xd70 [ 184.063677][ T3665] btrfs_relocate_chunk+0x125/0x350 [ 184.068869][ T3665] __btrfs_balance+0x1dbf/0x2960 [ 184.073827][ T3665] ? describe_balance_start_or_resume+0x490/0x490 [ 184.080236][ T3665] ? do_wait_for_common+0x540/0x560 [ 184.085448][ T3665] btrfs_balance+0xbfc/0x1140 [ 184.090149][ T3665] btrfs_ioctl_balance+0x478/0x780 [ 184.095257][ T3665] ? btrfs_ioctl_get_supported_features+0x40/0x40 [ 184.101744][ T3665] __se_sys_ioctl+0xfb/0x170 [ 184.106326][ T3665] do_syscall_64+0x3d/0xb0 [ 184.110737][ T3665] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 184.116620][ T3665] RIP: 0033:0x7f54db110b49 [ 184.121052][ T3665] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 [ 184.140645][ T3665] RSP: 002b:00007f54db09b2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 184.149053][ T3665] RAX: ffffffffffffffda RBX: 00007f54db19b7f0 RCX: 00007f54db110b49 [ 184.157010][ T3665] RDX: 0000000020022300 RSI: 00000000c4009420 RDI: 0000000000000008 [ 184.164970][ T3665] RBP: 00007f54db16826c R08: 0000000000000000 R09: 0000000000000000 [ 184.172931][ T3665] R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e [ 184.180888][ T3665] R13: 00007f54db167270 R14: 61635f7261656c63 R15: 00007f54db19b7f8 [ 184.188862][ T3665] [ 184.192038][ T3665] Kernel Offset: disabled [ 184.196465][ T3665] Rebooting in 86400 seconds..