DUID 00:04:76:8b:f6:84:a4:3b:36:39:6c:68:e7:10:38:dd:b7:2c forked to background, child pid 3209 [ 30.025020][ T3210] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.039200][ T3210] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.10' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 53.363338][ T3625] loop0: detected capacity change from 0 to 32768 [ 53.374073][ T3625] BTRFS: device fsid d552757d-9c39-40e3-95f0-16d819589928 devid 1 transid 8 /dev/loop0 scanned by syz-executor242 (3625) [ 53.392944][ T3625] BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm [ 53.401720][ T3625] BTRFS info (device loop0): using free space tree [ 53.421725][ T3625] BTRFS info (device loop0): enabling ssd optimizations [ 53.444004][ T27] audit: type=1800 audit(1669381471.554:2): pid=3625 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor242" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 53.468425][ T27] audit: type=1800 audit(1669381471.584:3): pid=3625 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor242" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 53.538092][ T3625] ------------[ cut here ]------------ [ 53.543740][ T3625] kernel BUG at fs/btrfs/file.c:786! [ 53.549652][ T3625] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 53.555739][ T3625] CPU: 1 PID: 3625 Comm: syz-executor242 Not tainted 6.1.0-rc6-syzkaller-00015-gc3eb11fbb826 #0 [ 53.566157][ T3625] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 53.576219][ T3625] RIP: 0010:btrfs_drop_extents+0x3527/0x3550 [ 53.582236][ T3625] Code: 00 48 8b 7c 24 48 e8 e8 9c 52 fe e9 85 fb ff ff e8 2e 84 fe fd 0f 0b e8 27 84 fe fd 0f 0b e8 20 84 fe fd 0f 0b e8 19 84 fe fd <0f> 0b e8 12 84 fe fd 0f 0b e8 0b 84 fe fd 0f 0b e8 04 84 fe fd 0f [ 53.601857][ T3625] RSP: 0018:ffffc90003afe000 EFLAGS: 00010293 [ 53.607936][ T3625] RAX: ffffffff838c1457 RBX: 00000000fffffff4 RCX: ffff888077a657c0 [ 53.615911][ T3625] RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000 [ 53.623865][ T3625] RBP: ffffc90003afe390 R08: ffffffff838bfeb7 R09: ffffffff8381b3b2 [ 53.631819][ T3625] R10: 0000000000000002 R11: ffff888077a657c0 R12: dffffc0000000000 [ 53.639783][ T3625] R13: ffff888077829360 R14: 0000000000000000 R15: dffffc0000000000 [ 53.647746][ T3625] FS: 0000555556f703c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 53.656673][ T3625] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.663244][ T3625] CR2: 00007f199b878250 CR3: 0000000021698000 CR4: 00000000003506e0 [ 53.671211][ T3625] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 53.679164][ T3625] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 53.687118][ T3625] Call Trace: [ 53.690382][ T3625] [ 53.693397][ T3625] ? btrfs_dirty_pages+0x2f0/0x2f0 [ 53.698507][ T3625] ? join_transaction+0xc45/0xe60 [ 53.703512][ T3625] ? join_transaction+0xc1f/0xe60 [ 53.708521][ T3625] ? btrfs_record_root_in_trans+0x129/0x180 [ 53.714402][ T3625] ? start_transaction+0x3da/0x1180 [ 53.719587][ T3625] cow_file_range_inline+0x41b/0x920 [ 53.724858][ T3625] ? btrfs_do_encoded_write+0x1470/0x1470 [ 53.730559][ T3625] cow_file_range+0x391/0xfa0 [ 53.735221][ T3625] ? do_raw_spin_unlock+0x134/0x8a0 [ 53.740403][ T3625] ? run_delalloc_zoned+0x5e0/0x5e0 [ 53.745583][ T3625] ? _raw_spin_unlock+0x24/0x40 [ 53.750442][ T3625] ? count_range_bits+0x4e4/0x510 [ 53.755469][ T3625] fallback_to_cow+0x47a/0x530 [ 53.760244][ T3625] ? btrfs_dentry_delete+0x1a0/0x1a0 [ 53.765517][ T3625] ? btrfs_release_path+0x25b/0x280 [ 53.770701][ T3625] run_delalloc_nocow+0x1249/0x14a0 [ 53.775892][ T3625] ? btrfs_run_delalloc_range+0x11a0/0x11a0 [ 53.781772][ T3625] ? free_extent_state+0xc2/0xf0 [ 53.786691][ T3625] ? find_lock_delalloc_range+0x77e/0x990 [ 53.792404][ T3625] btrfs_run_delalloc_range+0x380/0x11a0 [ 53.798021][ T3625] ? rcu_read_lock_sched_held+0x87/0x110 [ 53.803636][ T3625] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 53.809596][ T3625] writepage_delalloc+0x25e/0x540 [ 53.814605][ T3625] ? cgroup_rstat_updated+0xca/0x350 [ 53.819889][ T3625] ? trace___extent_writepage+0x300/0x300 [ 53.825608][ T3625] ? rcu_read_lock_sched_held+0x87/0x110 [ 53.831228][ T3625] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 53.837190][ T3625] ? lockdep_hardirqs_on_prepare+0x428/0x790 [ 53.843155][ T3625] ? set_page_extent_mapped+0x156/0x2b0 [ 53.848682][ T3625] __extent_writepage+0x5d6/0x14d0 [ 53.853801][ T3625] ? extent_write_locked_range+0xd30/0xd30 [ 53.859592][ T3625] ? folio_wait_writeback+0x1cd/0x200 [ 53.864963][ T3625] extent_write_cache_pages+0x9e7/0x12d0 [ 53.870610][ T3625] ? extent_writepages+0x550/0x550 [ 53.875716][ T3625] ? lockdep_hardirqs_on_prepare+0x428/0x790 [ 53.881685][ T3625] ? print_irqtrace_events+0x220/0x220 [ 53.887124][ T3625] ? do_raw_spin_unlock+0x134/0x8a0 [ 53.892304][ T3625] ? lockdep_hardirqs_on+0x8d/0x130 [ 53.897491][ T3625] extent_writepages+0x228/0x550 [ 53.902420][ T3625] ? __extent_writepage+0x14d0/0x14d0 [ 53.907791][ T3625] ? rcu_read_lock_sched_held+0x87/0x110 [ 53.913424][ T3625] ? wbc_attach_and_unlock_inode+0x2fe/0x540 [ 53.919405][ T3625] ? acls_after_inode_item+0x5e0/0x5e0 [ 53.924863][ T3625] do_writepages+0x3c3/0x680 [ 53.929452][ T3625] ? __writepage+0x120/0x120 [ 53.934079][ T3625] ? __lock_acquire+0x1f60/0x1f60 [ 53.939204][ T3625] ? do_raw_spin_lock+0x148/0x360 [ 53.944222][ T3625] ? do_raw_spin_unlock+0x134/0x8a0 [ 53.949409][ T3625] ? wbc_attach_and_unlock_inode+0x350/0x540 [ 53.955384][ T3625] filemap_fdatawrite_wbc+0x11e/0x170 [ 53.960753][ T3625] filemap_fdatawrite_range+0x175/0x200 [ 53.966298][ T3625] ? filemap_fdatawrite+0x1d0/0x1d0 [ 53.971501][ T3625] ? btrfs_buffered_write+0x10ca/0x16f0 [ 53.977042][ T3625] ? blk_start_plug+0x95/0x110 [ 53.981801][ T3625] btrfs_sync_file+0x39e/0x1140 [ 53.986645][ T3625] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 53.992636][ T3625] ? btrfs_release_file+0x110/0x110 [ 53.997854][ T3625] ? __lock_acquire+0x1f60/0x1f60 [ 54.002874][ T3625] ? do_raw_spin_lock+0x148/0x360 [ 54.007890][ T3625] ? do_raw_spin_unlock+0x134/0x8a0 [ 54.013076][ T3625] btrfs_do_write_iter+0xcf2/0x1260 [ 54.018261][ T3625] ? splice_direct_to_actor+0x4e4/0xc00 [ 54.023791][ T3625] ? do_sendfile+0x5fb/0xf80 [ 54.028367][ T3625] ? __se_sys_sendfile64+0x14f/0x1b0 [ 54.033665][ T3625] ? do_syscall_64+0x3d/0xb0 [ 54.038237][ T3625] ? btrfs_check_nocow_unlock+0x40/0x40 [ 54.043764][ T3625] ? bpf_lsm_file_permission+0x5/0x10 [ 54.049117][ T3625] do_iter_write+0x6c2/0xc20 [ 54.053695][ T3625] ? rcu_read_lock_sched_held+0x87/0x110 [ 54.059308][ T3625] ? vfs_iter_write+0xa0/0xa0 [ 54.063974][ T3625] ? vfs_iter_write+0x69/0xa0 [ 54.068659][ T3625] iter_file_splice_write+0x7fc/0xfc0 [ 54.074022][ T3625] ? splice_from_pipe+0x200/0x200 [ 54.079031][ T3625] ? splice_shrink_spd+0xb0/0xb0 [ 54.083965][ T3625] ? splice_from_pipe+0x200/0x200 [ 54.088986][ T3625] direct_splice_actor+0xe6/0x1c0 [ 54.094015][ T3625] splice_direct_to_actor+0x4e4/0xc00 [ 54.099385][ T3625] ? do_splice_direct+0x3d0/0x3d0 [ 54.104399][ T3625] ? pipe_to_sendpage+0x340/0x340 [ 54.109592][ T3625] ? bpf_lsm_file_permission+0x5/0x10 [ 54.115384][ T3625] ? security_file_permission+0xe0/0x5c0 [ 54.121009][ T3625] do_splice_direct+0x279/0x3d0 [ 54.125873][ T3625] ? splice_direct_to_actor+0xc00/0xc00 [ 54.131404][ T3625] ? rcu_read_lock_any_held+0xb1/0x130 [ 54.136840][ T3625] ? apparmor_file_permission+0x2a0/0x310 [ 54.142545][ T3625] do_sendfile+0x5fb/0xf80 [ 54.146948][ T3625] ? do_pwritev+0x350/0x350 [ 54.151437][ T3625] ? lockdep_hardirqs_on_prepare+0x428/0x790 [ 54.157840][ T3625] __se_sys_sendfile64+0x14f/0x1b0 [ 54.162938][ T3625] ? __x64_sys_sendfile64+0xa0/0xa0 [ 54.168121][ T3625] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 54.174093][ T3625] ? lockdep_hardirqs_on+0x8d/0x130 [ 54.179273][ T3625] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 54.185237][ T3625] do_syscall_64+0x3d/0xb0 [ 54.189720][ T3625] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.195602][ T3625] RIP: 0033:0x7fd4bb0747e9 [ 54.199997][ T3625] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 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.219590][ T3625] RSP: 002b:00007ffd1c3b5eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 54.227987][ T3625] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fd4bb0747e9 [ 54.235950][ T3625] RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 [ 54.243913][ T3625] RBP: 00007ffd1c3b5f00 R08: 0000000000000002 R09: aaaaaaaaaaaa0102 [ 54.251878][ T3625] R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000007 [ 54.259842][ T3625] R13: 00007fd4bb0ee7bc R14: 0000000000000003 R15: 0000000000000001 [ 54.267810][ T3625] [ 54.270814][ T3625] Modules linked in: [ 54.274979][ T3625] ---[ end trace 0000000000000000 ]--- [ 54.284201][ T3625] RIP: 0010:btrfs_drop_extents+0x3527/0x3550 [ 54.290327][ T3625] Code: 00 48 8b 7c 24 48 e8 e8 9c 52 fe e9 85 fb ff ff e8 2e 84 fe fd 0f 0b e8 27 84 fe fd 0f 0b e8 20 84 fe fd 0f 0b e8 19 84 fe fd <0f> 0b e8 12 84 fe fd 0f 0b e8 0b 84 fe fd 0f 0b e8 04 84 fe fd 0f [ 54.309988][ T3625] RSP: 0018:ffffc90003afe000 EFLAGS: 00010293 [ 54.316160][ T3625] RAX: ffffffff838c1457 RBX: 00000000fffffff4 RCX: ffff888077a657c0 [ 54.324234][ T3625] RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000 [ 54.332245][ T3625] RBP: ffffc90003afe390 R08: ffffffff838bfeb7 R09: ffffffff8381b3b2 [ 54.340234][ T3625] R10: 0000000000000002 R11: ffff888077a657c0 R12: dffffc0000000000 [ 54.348233][ T3625] R13: ffff888077829360 R14: 0000000000000000 R15: dffffc0000000000 [ 54.356192][ T3625] FS: 0000555556f703c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 54.365135][ T3625] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.371761][ T3625] CR2: 000055f4cf139900 CR3: 0000000021698000 CR4: 00000000003506f0 [ 54.379749][ T3625] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.387746][ T3625] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.395712][ T3625] Kernel panic - not syncing: Fatal exception [ 54.401898][ T3625] Kernel Offset: disabled [ 54.406214][ T3625] Rebooting in 86400 seconds..