VFS: Found a Xenix FS (block size = 1024) on device loop2 syz.2.4719: attempt to access beyond end of device loop2: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop2, logical block 3245768, async page read ===================================================== BUG: KMSAN: uninit-value in sysv_new_inode+0x588/0x1c90 fs/sysv/ialloc.c:153 sysv_new_inode+0x588/0x1c90 fs/sysv/ialloc.c:153 sysv_mknod+0x8f/0x290 fs/sysv/namei.c:53 sysv_create+0x51/0x60 fs/sysv/namei.c:67 lookup_open fs/namei.c:3595 [inline] open_last_lookups fs/namei.c:3694 [inline] path_openat+0x2e9e/0x6200 fs/namei.c:3930 do_filp_open+0x20e/0x590 fs/namei.c:3960 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_creat fs/open.c:1506 [inline] __se_sys_creat fs/open.c:1500 [inline] __ia32_sys_creat+0xe4/0x140 fs/open.c:1500 ia32_sys_call+0x37a3/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:9 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: __alloc_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4756 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof mm/mempolicy.c:2345 [inline] folio_alloc_noprof+0x1db/0x310 mm/mempolicy.c:2352 filemap_alloc_folio_noprof+0xa6/0x440 mm/filemap.c:1010 __filemap_get_folio+0xac4/0x1550 mm/filemap.c:1952 grow_dev_folio fs/buffer.c:1043 [inline] grow_buffers fs/buffer.c:1109 [inline] __getblk_slow fs/buffer.c:1135 [inline] bdev_getblk+0x2c9/0xab0 fs/buffer.c:1437 __bread_gfp+0x93/0x730 fs/buffer.c:1491 sb_bread include/linux/buffer_head.h:346 [inline] fat__get_entry fs/fat/dir.c:100 [inline] fat_get_entry+0xc27/0x10e0 fs/fat/dir.c:128 fat_get_short_entry fs/fat/dir.c:885 [inline] fat_subdirs+0x244/0x3d0 fs/fat/dir.c:951 fat_read_root+0x66c/0x790 fs/fat/inode.c:1345 fat_fill_super+0x4587/0x5470 fs/fat/inode.c:1814 vfat_fill_super+0x3c/0x50 fs/fat/namei_vfat.c:1200 get_tree_bdev+0x684/0x890 fs/super.c:1635 vfat_get_tree+0x34/0x40 fs/fat/namei_vfat.c:1205 vfs_get_tree+0xb1/0x5a0 fs/super.c:1800 do_new_mount+0x71f/0x15e0 fs/namespace.c:3507 path_mount+0x742/0x1f10 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x722/0x810 fs/namespace.c:4032 __ia32_sys_mount+0xe3/0x150 fs/namespace.c:4032 ia32_sys_call+0x2530/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:22 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 16123 Comm: syz.2.4719 Not tainted 6.12.0-rc3-syzkaller-00454-gdb87114dcf13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================