DUID 00:04:cd:7d:74:7d:04:96:3f:c0:f2:1a:da:5a:49:b1:9f:fb forked to background, child pid 4653 [ 31.169569][ T4654] 8021q: adding VLAN 0 to HW filter on device bond0 [ 31.180219][ T4654] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.136' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 56.093844][ T5072] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5072 'syz-executor220' [ 56.231151][ T5072] loop0: detected capacity change from 0 to 32768 [ 56.241234][ T5072] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 scanned by syz-executor220 (5072) [ 56.260458][ T5072] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 56.269911][ T5072] BTRFS info (device loop0): force clearing of disk cache [ 56.277403][ T5072] BTRFS info (device loop0): setting nodatasum [ 56.283741][ T5072] BTRFS info (device loop0): allowing degraded mounts [ 56.290510][ T5072] BTRFS info (device loop0): enabling disk space caching [ 56.297774][ T5072] BTRFS info (device loop0): disk space caching is enabled [ 56.318219][ T5072] BTRFS info (device loop0): enabling ssd optimizations [ 56.325237][ T5072] BTRFS info (device loop0): auto enabling async discard [ 56.333605][ T5072] BTRFS info (device loop0): clearing free space tree [ 56.340624][ T5072] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 56.350749][ T5072] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [ 56.371939][ T5072] BTRFS info (device loop0): checking UUID tree [ 56.405111][ T27] audit: type=1800 audit(1674391971.452:2): pid=5072 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor220" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 56.455814][ T46] BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) [ 56.474468][ T27] audit: type=1804 audit(1674391971.522:3): pid=5072 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=invalid_pcr cause=open_writers comm="syz-executor220" name="/root/file0/bus" dev="loop0" ino=263 res=1 errno=0 [ 56.547882][ T5092] BTRFS info (device loop0): balance: start -d -m -s [ 56.568399][ T5092] BTRFS info (device loop0): relocating block group 6881280 flags data|metadata [ 56.652561][ T5092] BTRFS info (device loop0): relocating block group 5242880 flags data|metadata [ 56.662897][ T5092] ------------[ cut here ]------------ [ 56.669179][ T5092] WARNING: CPU: 0 PID: 5092 at fs/btrfs/extent-tree.c:3067 __btrfs_free_extent+0xd12/0x1370 [ 56.679439][ T5092] Modules linked in: [ 56.683404][ T5092] CPU: 0 PID: 5092 Comm: syz-executor220 Not tainted 6.2.0-rc4-next-20230120-syzkaller #0 [ 56.693420][ T5092] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 56.703541][ T5092] RIP: 0010:__btrfs_free_extent+0xd12/0x1370 [ 56.709562][ T5092] Code: e8 23 ed 23 fe 44 3b a4 24 40 01 00 00 0f 85 22 03 00 00 e8 e0 f0 23 fe 4c 8b ac 24 88 00 00 00 e9 af fb ff ff e8 ce f0 23 fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 [ 56.729288][ T5092] RSP: 0018:ffffc90003d6f280 EFLAGS: 00010293 [ 56.735465][ T5092] RAX: 0000000000000000 RBX: ffff88801d378580 RCX: 0000000000000000 [ 56.743782][ T5092] RDX: ffff888023f49d40 RSI: ffffffff835e0912 RDI: 0000000000000005 [ 56.744089][ T5072] syz-executor220 (5072) used greatest stack depth: 20984 bytes left [ 56.751765][ T5092] RBP: ffff88807eb2ba50 R08: 0000000000000005 R09: 00000000fffffffe [ 56.768072][ T5092] R10: 00000000fffffffe R11: 0000000000000000 R12: 0000000000000345 [ 56.776078][ T5092] R13: 00000000fffffffe R14: 0000000000504000 R15: 0000000000000000 [ 56.784133][ T5092] FS: 00007f4ce9ee2700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 56.793125][ T5092] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.799734][ T5092] CR2: 00007f5331dd3300 CR3: 0000000022a01000 CR4: 00000000003506f0 [ 56.807853][ T5092] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 56.815875][ T5092] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 56.823913][ T5092] Call Trace: [ 56.827204][ T5092] [ 56.830143][ T5092] ? lookup_extent_backref+0x110/0x110 [ 56.835640][ T5092] ? __btrfs_run_delayed_refs+0x577/0x39f0 [ 56.841462][ T5092] ? lock_downgrade+0x6e0/0x6e0 [ 56.846422][ T5092] __btrfs_run_delayed_refs+0x82b/0x39f0 [ 56.852091][ T5092] ? check_ref_cleanup+0x3e0/0x3e0 [ 56.857271][ T5092] ? lock_sync+0x190/0x190 [ 56.861702][ T5092] ? btrfs_commit_transaction+0x136/0x3780 [ 56.867557][ T5092] ? rcu_read_lock_sched_held+0x3e/0x70 [ 56.873140][ T5092] btrfs_run_delayed_refs+0x19a/0x490 [ 56.878511][ T5092] btrfs_commit_transaction+0x1f22/0x3780 [ 56.884303][ T5092] ? trace_lock_acquire+0x1f1/0x290 [ 56.889517][ T5092] ? join_transaction+0x3e0/0x10e0 [ 56.894706][ T5092] ? lock_acquire+0x32/0xc0 [ 56.899223][ T5092] ? join_transaction+0x3e0/0x10e0 [ 56.904474][ T5092] ? join_transaction+0x43e/0x10e0 [ 56.909608][ T5092] ? create_pending_snapshots+0x2c0/0x2c0 [ 56.915748][ T5092] ? start_transaction+0x2aa/0x1450 [ 56.921000][ T5092] prepare_to_relocate+0x41d/0x6b0 [ 56.926227][ T5092] relocate_block_group+0x123/0xd60 [ 56.931463][ T5092] ? btrfs_relocate_block_group+0x512/0xda0 [ 56.937418][ T5092] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 56.943029][ T5092] ? relocate_data_extent+0x4b0/0x4b0 [ 56.948394][ T5092] ? btrfs_wait_ordered_extents+0xe20/0xe20 [ 56.954358][ T5092] btrfs_relocate_block_group+0x51a/0xda0 [ 56.960104][ T5092] btrfs_relocate_chunk+0x14a/0x350 [ 56.965366][ T5092] btrfs_balance+0x1caf/0x3b50 [ 56.970155][ T5092] ? btrfs_ioctl+0x4eda/0x5950 [ 56.974983][ T5092] ? btrfs_relocate_chunk+0x350/0x350 [ 56.980391][ T5092] btrfs_ioctl+0xfda/0x5950 [ 56.984960][ T5092] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 56.990791][ T5092] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 56.997243][ T5092] ? __sanitizer_cov_trace_switch+0x54/0x90 [ 57.003205][ T5092] ? do_vfs_ioctl+0x132/0x1600 [ 57.007963][ T5092] ? vfs_fileattr_set+0xc40/0xc40 [ 57.013075][ T5092] ? trace_lock_acquire+0x1f1/0x290 [ 57.018292][ T5092] ? do_one_initcall+0x402/0x7d0 [ 57.023318][ T5092] ? receive_fd+0x110/0x110 [ 57.027839][ T5092] ? __fget_files+0x26a/0x480 [ 57.032574][ T5092] ? bpf_lsm_file_ioctl+0x9/0x10 [ 57.037532][ T5092] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 57.044030][ T5092] __x64_sys_ioctl+0x197/0x210 [ 57.048825][ T5092] do_syscall_64+0x39/0xb0 [ 57.053329][ T5092] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.059252][ T5092] RIP: 0033:0x7f4cf1360299 [ 57.063776][ T5092] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 18 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 [ 57.083431][ T5092] RSP: 002b:00007f4ce9ee2208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.091834][ T5092] RAX: ffffffffffffffda RBX: 00007f4cf13e3718 RCX: 00007f4cf1360299 [ 57.099849][ T5092] RDX: 0000000020022300 RSI: 00000000c4009420 RDI: 0000000000000008 [ 57.107856][ T5092] RBP: 00007f4cf13e3710 R08: 0000000000000000 R09: 0000000000000000 [ 57.115872][ T5092] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4cf13e371c [ 57.123884][ T5092] R13: 00007ffffb64da6f R14: 00007f4ce9ee2300 R15: 0000000000022000 [ 57.131855][ T5092] [ 57.134928][ T5092] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 57.142209][ T5092] CPU: 0 PID: 5092 Comm: syz-executor220 Not tainted 6.2.0-rc4-next-20230120-syzkaller #0 [ 57.152103][ T5092] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 57.162140][ T5092] Call Trace: [ 57.165403][ T5092] [ 57.168331][ T5092] dump_stack_lvl+0xd1/0x138 [ 57.172914][ T5092] panic+0x2cc/0x626 [ 57.176798][ T5092] ? panic_print_sys_info.part.0+0x110/0x110 [ 57.182775][ T5092] ? __btrfs_free_extent+0xd12/0x1370 [ 57.188136][ T5092] check_panic_on_warn.cold+0x19/0x35 [ 57.193501][ T5092] __warn+0xf2/0x1a0 [ 57.197399][ T5092] ? __btrfs_free_extent+0xd12/0x1370 [ 57.202773][ T5092] report_bug+0x1c0/0x210 [ 57.207108][ T5092] handle_bug+0x3c/0x70 [ 57.211267][ T5092] exc_invalid_op+0x18/0x50 [ 57.215776][ T5092] asm_exc_invalid_op+0x1a/0x20 [ 57.220627][ T5092] RIP: 0010:__btrfs_free_extent+0xd12/0x1370 [ 57.226608][ T5092] Code: e8 23 ed 23 fe 44 3b a4 24 40 01 00 00 0f 85 22 03 00 00 e8 e0 f0 23 fe 4c 8b ac 24 88 00 00 00 e9 af fb ff ff e8 ce f0 23 fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 [ 57.246215][ T5092] RSP: 0018:ffffc90003d6f280 EFLAGS: 00010293 [ 57.252281][ T5092] RAX: 0000000000000000 RBX: ffff88801d378580 RCX: 0000000000000000 [ 57.260249][ T5092] RDX: ffff888023f49d40 RSI: ffffffff835e0912 RDI: 0000000000000005 [ 57.268216][ T5092] RBP: ffff88807eb2ba50 R08: 0000000000000005 R09: 00000000fffffffe [ 57.276185][ T5092] R10: 00000000fffffffe R11: 0000000000000000 R12: 0000000000000345 [ 57.284150][ T5092] R13: 00000000fffffffe R14: 0000000000504000 R15: 0000000000000000 [ 57.292130][ T5092] ? __btrfs_free_extent+0xd12/0x1370 [ 57.297521][ T5092] ? lookup_extent_backref+0x110/0x110 [ 57.302978][ T5092] ? __btrfs_run_delayed_refs+0x577/0x39f0 [ 57.308788][ T5092] ? lock_downgrade+0x6e0/0x6e0 [ 57.313653][ T5092] __btrfs_run_delayed_refs+0x82b/0x39f0 [ 57.319316][ T5092] ? check_ref_cleanup+0x3e0/0x3e0 [ 57.324442][ T5092] ? lock_sync+0x190/0x190 [ 57.328873][ T5092] ? btrfs_commit_transaction+0x136/0x3780 [ 57.334698][ T5092] ? rcu_read_lock_sched_held+0x3e/0x70 [ 57.340268][ T5092] btrfs_run_delayed_refs+0x19a/0x490 [ 57.345660][ T5092] btrfs_commit_transaction+0x1f22/0x3780 [ 57.351381][ T5092] ? trace_lock_acquire+0x1f1/0x290 [ 57.356587][ T5092] ? join_transaction+0x3e0/0x10e0 [ 57.361711][ T5092] ? lock_acquire+0x32/0xc0 [ 57.366219][ T5092] ? join_transaction+0x3e0/0x10e0 [ 57.371365][ T5092] ? join_transaction+0x43e/0x10e0 [ 57.376499][ T5092] ? create_pending_snapshots+0x2c0/0x2c0 [ 57.382232][ T5092] ? start_transaction+0x2aa/0x1450 [ 57.387447][ T5092] prepare_to_relocate+0x41d/0x6b0 [ 57.392582][ T5092] relocate_block_group+0x123/0xd60 [ 57.397794][ T5092] ? btrfs_relocate_block_group+0x512/0xda0 [ 57.403704][ T5092] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 57.409255][ T5092] ? relocate_data_extent+0x4b0/0x4b0 [ 57.414635][ T5092] ? btrfs_wait_ordered_extents+0xe20/0xe20 [ 57.420549][ T5092] btrfs_relocate_block_group+0x51a/0xda0 [ 57.426282][ T5092] btrfs_relocate_chunk+0x14a/0x350 [ 57.431484][ T5092] btrfs_balance+0x1caf/0x3b50 [ 57.436264][ T5092] ? btrfs_ioctl+0x4eda/0x5950 [ 57.441066][ T5092] ? btrfs_relocate_chunk+0x350/0x350 [ 57.446483][ T5092] btrfs_ioctl+0xfda/0x5950 [ 57.451025][ T5092] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 57.456850][ T5092] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 57.463278][ T5092] ? __sanitizer_cov_trace_switch+0x54/0x90 [ 57.469185][ T5092] ? do_vfs_ioctl+0x132/0x1600 [ 57.473955][ T5092] ? vfs_fileattr_set+0xc40/0xc40 [ 57.478992][ T5092] ? trace_lock_acquire+0x1f1/0x290 [ 57.484196][ T5092] ? do_one_initcall+0x402/0x7d0 [ 57.489138][ T5092] ? receive_fd+0x110/0x110 [ 57.493647][ T5092] ? __fget_files+0x26a/0x480 [ 57.498329][ T5092] ? bpf_lsm_file_ioctl+0x9/0x10 [ 57.503272][ T5092] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 57.509693][ T5092] __x64_sys_ioctl+0x197/0x210 [ 57.514464][ T5092] do_syscall_64+0x39/0xb0 [ 57.518887][ T5092] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.524780][ T5092] RIP: 0033:0x7f4cf1360299 [ 57.529193][ T5092] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 18 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 [ 57.548814][ T5092] RSP: 002b:00007f4ce9ee2208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.557235][ T5092] RAX: ffffffffffffffda RBX: 00007f4cf13e3718 RCX: 00007f4cf1360299 [ 57.565204][ T5092] RDX: 0000000020022300 RSI: 00000000c4009420 RDI: 0000000000000008 [ 57.573170][ T5092] RBP: 00007f4cf13e3710 R08: 0000000000000000 R09: 0000000000000000 [ 57.581139][ T5092] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4cf13e371c [ 57.589108][ T5092] R13: 00007ffffb64da6f R14: 00007f4ce9ee2300 R15: 0000000000022000 [ 57.597098][ T5092] [ 57.600154][ T5092] Kernel Offset: disabled [ 57.604561][ T5092] Rebooting in 86400 seconds..