[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.143' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.963403] BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 devid 1 transid 8 /dev/loop0 [ 34.981793] BTRFS info (device loop0): enabling inode map caching [ 34.997834] BTRFS info (device loop0): trying to use backup root at mount time [ 35.005299] BTRFS info (device loop0): use zlib compression, level 3 [ 35.012872] BTRFS info (device loop0): enabling ssd optimizations [ 35.019430] BTRFS info (device loop0): using spread ssd allocation scheme [ 35.026418] BTRFS info (device loop0): using free space tree [ 35.032752] BTRFS info (device loop0): has skinny extents [ 35.059940] FAULT_INJECTION: forcing a failure. [ 35.059940] name failslab, interval 1, probability 0, space 0, times 1 [ 35.071673] CPU: 1 PID: 8124 Comm: syz-executor382 Not tainted 4.19.211-syzkaller #0 [ 35.079566] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 35.088946] Call Trace: [ 35.091516] dump_stack+0x1fc/0x2ef [ 35.095126] should_fail.cold+0xa/0xf [ 35.098916] ? setup_fault_attr+0x200/0x200 [ 35.103220] __should_failslab+0x115/0x180 [ 35.107452] should_failslab+0x5/0x10 [ 35.111248] __kmalloc+0x2ab/0x3c0 [ 35.114768] ? btrfs_rmap_block+0x234/0x8c0 [ 35.119071] ? get_chunk_map+0xcc/0xf0 [ 35.122938] btrfs_rmap_block+0x234/0x8c0 [ 35.127093] exclude_super_stripes+0x141/0x550 [ 35.131688] ? update_block_group_flags+0x3a0/0x3a0 [ 35.136704] ? __lockdep_init_map+0x100/0x5a0 [ 35.141187] ? debug_mutex_init+0x28/0x60 [ 35.145326] btrfs_make_block_group+0x2a7/0x940 [ 35.149985] __btrfs_alloc_chunk+0xf77/0x1c20 [ 35.154489] ? find_free_dev_extent_start+0x910/0x910 [ 35.159663] ? do_raw_read_unlock+0x3b/0x70 [ 35.163967] ? _raw_read_unlock+0x29/0x40 [ 35.168097] do_chunk_alloc+0x4e8/0xb70 [ 35.172057] btrfs_alloc_data_chunk_ondemand+0x32b/0xce0 [ 35.177493] btrfs_check_data_free_space+0xc8/0x150 [ 35.182492] btrfs_delalloc_reserve_space+0x2a/0xb0 [ 35.187489] btrfs_truncate_block+0x213/0x1150 [ 35.192055] ? btrfs_truncate_inode_items+0x26f0/0x26f0 [ 35.197401] btrfs_cont_expand+0x171/0xd80 [ 35.201621] ? btrfs_start_write_no_snapshotting+0x280/0x280 [ 35.207406] ? mark_held_locks+0xa6/0xf0 [ 35.211452] ? ktime_get_coarse_real_ts64+0x1c7/0x290 [ 35.216635] ? btrfs_truncate_block+0x1150/0x1150 [ 35.221455] ? inode_newsize_ok+0x121/0x1e0 [ 35.225756] ? setattr_prepare+0x135/0x7e0 [ 35.229983] btrfs_setattr+0x8cf/0xff0 [ 35.233848] ? __vfs_setxattr+0x170/0x170 [ 35.237995] ? btrfs_cont_expand+0xd80/0xd80 [ 35.242380] notify_change+0x70b/0xfc0 [ 35.246253] do_truncate+0x134/0x1f0 [ 35.249945] ? dentry_open+0x1d0/0x1d0 [ 35.253818] ? apparmor_path_truncate+0x183/0x200 [ 35.258656] do_sys_ftruncate+0x492/0x560 [ 35.262788] do_syscall_64+0xf9/0x620 [ 35.266572] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.271738] RIP: 0033:0x7f629a70fac9 [ 35.275435] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 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 c0 ff ff ff f7 d8 64 89 01 48 [ 35.294312] RSP: 002b:00007ffd8d118858 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 35.301999] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f629a70fac9 [ 35.309246] RDX: 0000000000000880 RSI: 0000000002007ffb RDI: 0000000000000004 [ 35.316494] RBP: 00007ffd8d118880 R08: 0000000000000002 R09: 00007ffd8d118890 [ 35.323740] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 [ 35.330988] R13: 00007ffd8d1188c0 R14: 00007ffd8d1188a0 R15: 0000000000000000 [ 35.339945] ------------[ cut here ]------------ [ 35.344729] kernel BUG at fs/btrfs/volumes.c:5983! [ 35.350187] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 35.356036] CPU: 1 PID: 8124 Comm: syz-executor382 Not tainted 4.19.211-syzkaller #0 [ 35.363905] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 35.373249] RIP: 0010:btrfs_rmap_block+0x1cc/0x8c0 [ 35.378177] Code: db 48 8d 2c dd 00 00 00 00 48 c1 eb 3d 48 85 db 0f 95 c3 31 ff 0f b6 db 48 89 de e8 be e1 71 fe 48 85 db 74 5b e8 24 e0 71 fe <0f> 0b e8 1d e0 71 fe 49 8d 7f 1c 48 b8 00 00 00 00 00 fc ff df 48 [ 35.397063] RSP: 0018:ffff888094d07580 EFLAGS: 00010293 [ 35.402405] RAX: ffff8880afc14300 RBX: 0000000000000000 RCX: 0000000000000000 [ 35.409655] RDX: 0000000000000000 RSI: ffffffff82f0a54c RDI: 0000000000000286 [ 35.416915] RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 [ 35.424184] R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 [ 35.431432] R13: ffff8880b00002c0 R14: 0000000000820000 R15: ffff8880abd9bf00 [ 35.438682] FS: 000055555699c300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 [ 35.446896] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 35.453138] CR2: 00007f629a787138 CR3: 0000000099dce000 CR4: 00000000003406e0 [ 35.460423] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 35.467674] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 35.474921] Call Trace: [ 35.477510] exclude_super_stripes+0x141/0x550 [ 35.482073] ? update_block_group_flags+0x3a0/0x3a0 [ 35.487074] ? __lockdep_init_map+0x100/0x5a0 [ 35.491553] ? debug_mutex_init+0x28/0x60 [ 35.495678] btrfs_make_block_group+0x2a7/0x940 [ 35.500330] __btrfs_alloc_chunk+0xf77/0x1c20 [ 35.504803] ? find_free_dev_extent_start+0x910/0x910 [ 35.509974] ? do_raw_read_unlock+0x3b/0x70 [ 35.514285] ? _raw_read_unlock+0x29/0x40 [ 35.518419] do_chunk_alloc+0x4e8/0xb70 [ 35.522387] btrfs_alloc_data_chunk_ondemand+0x32b/0xce0 [ 35.527822] btrfs_check_data_free_space+0xc8/0x150 [ 35.532827] btrfs_delalloc_reserve_space+0x2a/0xb0 [ 35.537836] btrfs_truncate_block+0x213/0x1150 [ 35.542404] ? btrfs_truncate_inode_items+0x26f0/0x26f0 [ 35.547750] btrfs_cont_expand+0x171/0xd80 [ 35.551965] ? btrfs_start_write_no_snapshotting+0x280/0x280 [ 35.557741] ? mark_held_locks+0xa6/0xf0 [ 35.561780] ? ktime_get_coarse_real_ts64+0x1c7/0x290 [ 35.566972] ? btrfs_truncate_block+0x1150/0x1150 [ 35.571801] ? inode_newsize_ok+0x121/0x1e0 [ 35.576534] ? setattr_prepare+0x135/0x7e0 [ 35.580750] btrfs_setattr+0x8cf/0xff0 [ 35.584615] ? __vfs_setxattr+0x170/0x170 [ 35.588741] ? btrfs_cont_expand+0xd80/0xd80 [ 35.593131] notify_change+0x70b/0xfc0 [ 35.596999] do_truncate+0x134/0x1f0 [ 35.600703] ? dentry_open+0x1d0/0x1d0 [ 35.604568] ? apparmor_path_truncate+0x183/0x200 [ 35.609392] do_sys_ftruncate+0x492/0x560 [ 35.613518] do_syscall_64+0xf9/0x620 [ 35.617298] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.622479] RIP: 0033:0x7f629a70fac9 [ 35.626169] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 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 c0 ff ff ff f7 d8 64 89 01 48 [ 35.645045] RSP: 002b:00007ffd8d118858 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 35.652727] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f629a70fac9 [ 35.659973] RDX: 0000000000000880 RSI: 0000000002007ffb RDI: 0000000000000004 [ 35.667221] RBP: 00007ffd8d118880 R08: 0000000000000002 R09: 00007ffd8d118890 [ 35.675778] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 [ 35.683026] R13: 00007ffd8d1188c0 R14: 00007ffd8d1188a0 R15: 0000000000000000 [ 35.690275] Modules linked in: [ 35.694596] ---[ end trace ddcbd20012b6779c ]--- [ 35.699441] RIP: 0010:btrfs_rmap_block+0x1cc/0x8c0 [ 35.704524] Code: db 48 8d 2c dd 00 00 00 00 48 c1 eb 3d 48 85 db 0f 95 c3 31 ff 0f b6 db 48 89 de e8 be e1 71 fe 48 85 db 74 5b e8 24 e0 71 fe <0f> 0b e8 1d e0 71 fe 49 8d 7f 1c 48 b8 00 00 00 00 00 fc ff df 48 [ 35.723494] RSP: 0018:ffff888094d07580 EFLAGS: 00010293 [ 35.728921] RAX: ffff8880afc14300 RBX: 0000000000000000 RCX: 0000000000000000 [ 35.736208] RDX: 0000000000000000 RSI: ffffffff82f0a54c RDI: 0000000000000286 [ 35.743521] RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 [ 35.750870] R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 [ 35.758180] R13: ffff8880b00002c0 R14: 0000000000820000 R15: ffff8880abd9bf00 [ 35.765470] FS: 000055555699c300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 [ 35.773850] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 35.779782] CR2: 00007f629a787138 CR3: 0000000099dce000 CR4: 00000000003406e0 [ 35.787099] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 35.794384] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 35.801703] Kernel panic - not syncing: Fatal exception [ 35.807238] Kernel Offset: disabled [ 35.810846] Rebooting in 86400 seconds..