FAT-fs (loop1): error, fat_get_cluster: invalid cluster chain (i_pos 1) FAT-fs (loop1): Filesystem has been set read-only loop5: detected capacity change from 0 to 336 FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) BUG: unable to handle page fault for address: ffffed100fffc000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 7ffd3067 P4D 7ffd3067 PUD 7ffd2067 PMD 7ffd1067 PTE 0 Oops: 0002 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 10992 Comm: syz-executor.5 Not tainted 6.1.0-rc3-next-20221101 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__memset+0x24/0x50 Code: 90 90 90 90 90 90 0f 1f 44 00 00 49 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 48 ab 89 d1 f3 aa 4c 89 c8 e9 0d d4 12 00 66 66 2e 0f 1f 84 00 RSP: 0018:ffff888041e67200 EFLAGS: 00010016 RAX: 0000000000000000 RBX: ffff888008647100 RCX: 1ffffe21fe432a98 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed100fffc000 RBP: ffff888008643500 R08: 0000000000000005 R09: ffffed10010c8e20 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008647100 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000400 FS: 00007fd5ba783700(0000) GS:ffff88806d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed100fffc000 CR3: 000000001e110000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Call Trace: kasan_unpoison+0x23/0x60 remove_element+0x12e/0x1a0 mempool_alloc+0x22f/0x380 bio_alloc_bioset+0x39a/0x790 submit_bh_wbc+0x281/0x660 __bh_read+0xa3/0x200 __breadahead+0xf5/0x170 fat__get_entry+0x420/0x8d0 fat_get_short_entry+0x13f/0x300 fat_subdirs+0xa5/0x190 fat_fill_inode+0x107c/0x16d0 fat_build_inode+0x1d9/0x2f0 vfat_lookup+0x317/0x570 lookup_open.isra.0+0x751/0x1260 path_openat+0x946/0x29c0 do_filp_open+0x1b6/0x420 do_sys_openat2+0x171/0x4d0 __x64_sys_openat+0x13f/0x200 do_syscall_64+0x3b/0xa0 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7fd5bd20db19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd5ba783188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd5bd320f60 RCX: 00007fd5bd20db19 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 00007fd5ba7831d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fff393ce86f R14: 00007fd5ba783300 R15: 0000000000022000 Modules linked in: CR2: ffffed100fffc000 ---[ end trace 0000000000000000 ]--- RIP: 0010:__memset+0x24/0x50 Code: 90 90 90 90 90 90 0f 1f 44 00 00 49 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 48 ab 89 d1 f3 aa 4c 89 c8 e9 0d d4 12 00 66 66 2e 0f 1f 84 00 RSP: 0018:ffff888041e67200 EFLAGS: 00010016 RAX: 0000000000000000 RBX: ffff888008647100 RCX: 1ffffe21fe432a98 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed100fffc000 RBP: ffff888008643500 R08: 0000000000000005 R09: ffffed10010c8e20 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008647100 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000400 FS: 00007fd5ba783700(0000) GS:ffff88806d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed100fffc000 CR3: 000000001e110000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 note: syz-executor.5[10992] exited with preempt_count 1 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) b: 49 89 f9 mov %rdi,%r9 e: 48 89 d1 mov %rdx,%rcx 11: 83 e2 07 and $0x7,%edx 14: 48 c1 e9 03 shr $0x3,%rcx 18: 40 0f b6 f6 movzbl %sil,%esi 1c: 48 b8 01 01 01 01 01 movabs $0x101010101010101,%rax 23: 01 01 01 26: 48 0f af c6 imul %rsi,%rax * 2a: f3 48 ab rep stos %rax,%es:(%rdi) <-- trapping instruction 2d: 89 d1 mov %edx,%ecx 2f: f3 aa rep stos %al,%es:(%rdi) 31: 4c 89 c8 mov %r9,%rax 34: e9 0d d4 12 00 jmpq 0x12d446 39: 66 data16 3a: 66 data16 3b: 2e cs 3c: 0f .byte 0xf 3d: 1f (bad) 3e: 84 00 test %al,(%rax)