loop7: detected capacity change from 0 to 512 EXT4-fs: Ignoring removed nomblk_io_submit option ================================================================== BUG: KASAN: slab-out-of-bounds in check_igot_inode fs/ext4/inode.c:-1 [inline] BUG: KASAN: slab-out-of-bounds in __ext4_iget+0x2c0/0x3f40 fs/ext4/inode.c:4850 Read of size 8 at addr ffff88805b6d7f30 by task syz.7.1027/11363 CPU: 0 PID: 11363 Comm: syz.7.1027 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xa8/0x210 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 check_igot_inode fs/ext4/inode.c:-1 [inline] __ext4_iget+0x2c0/0x3f40 fs/ext4/inode.c:4850 __ext4_fill_super fs/ext4/super.c:5517 [inline] ext4_fill_super+0x503a/0x67b0 fs/ext4/super.c:5744 get_tree_bdev+0x3f3/0x520 fs/super.c:1591 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc783b9e04a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc784a42e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc784a42ee0 RCX: 00007fc783b9e04a RDX: 0000200000000040 RSI: 0000200000000080 RDI: 00007fc784a42ea0 RBP: 0000200000000040 R08: 00007fc784a42ee0 R09: 000000000000019f R10: 000000000000019f R11: 0000000000000246 R12: 0000200000000080 R13: 00007fc784a42ea0 R14: 000000000000054f R15: 0000200000000780 Allocated by task 8699: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1007 [inline] __kmalloc+0xb4/0x230 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] __d_alloc+0xb7/0x730 fs/dcache.c:1790 d_alloc+0x4e/0x250 fs/dcache.c:1853 lookup_one_qstr_excl+0xca/0x250 fs/namei.c:1613 filename_create+0x23e/0x480 fs/namei.c:3891 do_mkdirat+0xa9/0x450 fs/namei.c:4136 __do_sys_mkdirat fs/namei.c:4159 [inline] __se_sys_mkdirat fs/namei.c:4157 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 The buggy address belongs to the object at ffff88805b6d7c00 which belongs to the cache kmalloc-rcl-512 of size 512 The buggy address is located 304 bytes to the right of allocated 512-byte region [ffff88805b6d7c00, ffff88805b6d7e00) The buggy address belongs to the physical page: page:ffffea00016db500 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88805b6d6c00 pfn:0x5b6d4 head:ffffea00016db500 order:2 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff888078273701 flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888017c42dc0 dead000000000122 0000000000000000 raw: ffff88805b6d6c00 0000000080100002 00000001ffffffff ffff888078273701 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Reclaimable, gfp_mask 0x1d20d0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 7099, tgid 7098 (syz.1.164), ts 180402697070, free_ts 143725520156 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581 prep_new_page mm/page_alloc.c:1588 [inline] get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500 alloc_slab_page+0x5d/0x160 mm/slub.c:1881 allocate_slab mm/slub.c:2028 [inline] new_slab+0x87/0x2d0 mm/slub.c:2081 ___slab_alloc+0xc5d/0x12f0 mm/slub.c:3253 __slab_alloc mm/slub.c:3339 [inline] __slab_alloc_node mm/slub.c:3392 [inline] slab_alloc_node mm/slub.c:3485 [inline] __kmem_cache_alloc_node+0x19e/0x250 mm/slub.c:3534 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0xa4/0x230 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] __d_alloc+0xb7/0x730 fs/dcache.c:1790 d_alloc fs/dcache.c:1853 [inline] d_alloc_parallel+0xe0/0x1530 fs/dcache.c:2646 __lookup_slow+0x138/0x400 fs/namei.c:1687 lookup_slow+0x53/0x70 fs/namei.c:1719 walk_component+0x2be/0x3f0 fs/namei.c:2010 lookup_last fs/namei.c:2467 [inline] path_lookupat+0x169/0x440 fs/namei.c:2491 filename_lookup+0x228/0x560 fs/namei.c:2520 user_path_at_empty+0x42/0x60 fs/namei.c:2917 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1181 [inline] free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458 __slab_free+0x35a/0x400 mm/slub.c:3736 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767 slab_alloc_node mm/slub.c:3495 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x11a/0x2d0 mm/slub.c:3519 getname_flags+0xbb/0x500 fs/namei.c:140 vfs_fstatat+0x111/0x1b0 fs/stat.c:298 __do_sys_newfstatat fs/stat.c:463 [inline] __se_sys_newfstatat fs/stat.c:457 [inline] __x64_sys_newfstatat+0x149/0x1f0 fs/stat.c:457 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Memory state around the buggy address: ffff88805b6d7e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805b6d7e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88805b6d7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88805b6d7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805b6d8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================