Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.74' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 66.831668][ T6895] erofs: (device loop0): erofs_read_inode: bogus i_mode (0) @ nid 36 [ 66.840394][ T6895] ------------[ cut here ]------------ [ 66.846510][ T6895] kernel BUG at fs/erofs/inode.c:182! [ 66.852077][ T6895] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 66.858313][ T6895] CPU: 1 PID: 6895 Comm: syz-executor894 Not tainted 5.9.0-rc6-next-20200924-syzkaller #0 [ 66.868360][ T6895] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.878409][ T6895] RIP: 0010:erofs_iget+0xfd8/0x2390 [ 66.883585][ T6895] Code: 00 0f 85 aa 10 00 00 49 8b 7c 24 28 49 89 d8 44 89 e9 48 c7 c2 a0 9c ef 88 48 c7 c6 40 9f ef 88 e8 b5 df b0 04 e8 88 5a 07 fe <0f> 0b e8 81 5a 07 fe 4c 89 e7 4c 63 e3 e8 b6 61 5b fe e9 ed f0 ff [ 66.903372][ T6895] RSP: 0018:ffffc90001017c10 EFLAGS: 00010293 [ 66.909450][ T6895] RAX: 0000000000000000 RBX: 0000000000000024 RCX: 0000000000000000 [ 66.917415][ T6895] RDX: ffff8880a172e480 RSI: ffffffff836dd6e8 RDI: fffff52000202f72 [ 66.925520][ T6895] RBP: ffff8880a8ca4480 R08: 0000000000000042 R09: ffff8880ae5319a7 [ 66.933585][ T6895] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880854fd9b8 [ 66.941548][ T6895] R13: 0000000000000000 R14: ffffea0002a32900 R15: 0000000000000000 [ 66.949630][ T6895] FS: 000000000108e880(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 [ 66.958631][ T6895] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.965228][ T6895] CR2: 000000000043eb80 CR3: 00000000a7edb000 CR4: 00000000001506e0 [ 66.973198][ T6895] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 66.981189][ T6895] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 66.989143][ T6895] Call Trace: [ 66.992418][ T6895] ? erofs_getattr+0x140/0x140 [ 66.997183][ T6895] ? lockdep_init_map_waits+0x26a/0x8a0 [ 67.002727][ T6895] erofs_fc_fill_super+0xaa3/0x1010 [ 67.007930][ T6895] get_tree_bdev+0x421/0x740 [ 67.012602][ T6895] ? trace_event_raw_event_erofs_fill_inode+0x520/0x520 [ 67.019533][ T6895] vfs_get_tree+0x89/0x2f0 [ 67.024091][ T6895] path_mount+0x12ae/0x1e70 [ 67.028669][ T6895] ? strncpy_from_user+0x29e/0x3a0 [ 67.033761][ T6895] ? finish_automount+0xac0/0xac0 [ 67.038952][ T6895] ? getname_flags.part.0+0x1dd/0x4f0 [ 67.044716][ T6895] ? _copy_from_user+0x5d/0x180 [ 67.049556][ T6895] __x64_sys_mount+0x278/0x2f0 [ 67.054325][ T6895] ? copy_mnt_ns+0xae0/0xae0 [ 67.058901][ T6895] ? check_preemption_disabled+0x50/0x130 [ 67.064613][ T6895] ? syscall_enter_from_user_mode+0x1d/0x60 [ 67.070506][ T6895] do_syscall_64+0x2d/0x70 [ 67.074909][ T6895] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 67.080807][ T6895] RIP: 0033:0x446d6a [ 67.084763][ T6895] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd ad fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 da ad fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 67.104465][ T6895] RSP: 002b:00007fffa8ef9ef8 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 67.112890][ T6895] RAX: ffffffffffffffda RBX: 00007fffa8ef9f50 RCX: 0000000000446d6a [ 67.120857][ T6895] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fffa8ef9f10 [ 67.128833][ T6895] RBP: 00007fffa8ef9f10 R08: 00007fffa8ef9f50 R09: 00007fff00000015 [ 67.137005][ T6895] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000001 [ 67.145105][ T6895] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 67.153076][ T6895] Modules linked in: [ 67.158147][ T6895] ---[ end trace 66a5371a9bd8a3b2 ]--- [ 67.163635][ T6895] RIP: 0010:erofs_iget+0xfd8/0x2390 [ 67.168941][ T6895] Code: 00 0f 85 aa 10 00 00 49 8b 7c 24 28 49 89 d8 44 89 e9 48 c7 c2 a0 9c ef 88 48 c7 c6 40 9f ef 88 e8 b5 df b0 04 e8 88 5a 07 fe <0f> 0b e8 81 5a 07 fe 4c 89 e7 4c 63 e3 e8 b6 61 5b fe e9 ed f0 ff [ 67.189452][ T6895] RSP: 0018:ffffc90001017c10 EFLAGS: 00010293 [ 67.195584][ T6895] RAX: 0000000000000000 RBX: 0000000000000024 RCX: 0000000000000000 [ 67.204179][ T6895] RDX: ffff8880a172e480 RSI: ffffffff836dd6e8 RDI: fffff52000202f72 [ 67.212319][ T6895] RBP: ffff8880a8ca4480 R08: 0000000000000042 R09: ffff8880ae5319a7 [ 67.220364][ T6895] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880854fd9b8 [ 67.228512][ T6895] R13: 0000000000000000 R14: ffffea0002a32900 R15: 0000000000000000 [ 67.236525][ T6895] FS: 000000000108e880(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 [ 67.245553][ T6895] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 67.252310][ T6895] CR2: 000000000043eb80 CR3: 00000000a7edb000 CR4: 00000000001506e0 [ 67.260394][ T6895] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 67.268764][ T6895] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 67.276807][ T6895] Kernel panic - not syncing: Fatal exception [ 67.284442][ T6895] Kernel Offset: disabled [ 67.288784][ T6895] Rebooting in 86400 seconds..