F2FS-fs (loop5): Mounted with checkpoint version = 48b305e5 F2FS-fs (loop0): invalid crc value ================================================================== BUG: KASAN: null-ptr-deref in memset include/linux/string.h:361 [inline] BUG: KASAN: null-ptr-deref in build_sit_entries fs/f2fs/segment.c:3286 [inline] BUG: KASAN: null-ptr-deref in build_segment_manager+0x44b1/0x80e0 fs/f2fs/segment.c:3567 Write of size 64 at addr (null) by task syz-executor.0/9939 CPU: 1 PID: 9939 Comm: syz-executor.0 Not tainted 4.14.305-syzkaller #0 attempt to access beyond end of device Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 kasan_report_error.cold+0x144/0x191 mm/kasan/report.c:348 loop2: rw=2049, want=45104, limit=40427 kasan_report+0x6f/0x80 mm/kasan/report.c:408 memset+0x20/0x40 mm/kasan/kasan.c:285 memset include/linux/string.h:361 [inline] build_sit_entries fs/f2fs/segment.c:3286 [inline] build_segment_manager+0x44b1/0x80e0 fs/f2fs/segment.c:3567 f2fs_fill_super+0x2e21/0x56a0 fs/f2fs/super.c:2581 mount_bdev+0x2b3/0x360 fs/super.c:1134 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 attempt to access beyond end of device do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f26db8f262a RSP: 002b:00007f26d9e62f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000007e64 RCX: 00007f26db8f262a RDX: 00000000200000c0 RSI: 0000000020010280 RDI: 00007f26d9e62fe0 RBP: 00007f26d9e63020 R08: 00007f26d9e63020 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000202 R12: 00000000200000c0 loop5: rw=2049, want=45104, limit=40427 R13: 0000000020010280 R14: 00007f26d9e62fe0 R15: 0000000020007f80 ==================================================================