EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended ================================================================== 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+0x2bb/0x3e90 fs/ext4/inode.c:4691 Read of size 8 at addr ffff888073c77f40 by task syz.3.2396/9521 CPU: 0 PID: 9521 Comm: syz.3.2396 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 check_igot_inode fs/ext4/inode.c:-1 [inline] __ext4_iget+0x2bb/0x3e90 fs/ext4/inode.c:4691 ext4_fill_super+0x72e8/0x93f0 fs/ext4/super.c:4872 mount_bdev+0x28a/0x3c0 fs/super.c:1400 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x247/0xa40 fs/namespace.c:3034 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe98fea234a 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:00007fe98e0f8e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe98e0f8ee0 RCX: 00007fe98fea234a RDX: 0000200000000000 RSI: 0000200000000500 RDI: 00007fe98e0f8ea0 RBP: 0000200000000000 R08: 00007fe98e0f8ee0 R09: 000000000001c916 R10: 000000000001c916 R11: 0000000000000246 R12: 0000200000000500 R13: 00007fe98e0f8ea0 R14: 00000000000004df R15: 00002000000002c0 Allocated by task 3559: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x92/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238 alloc_inode fs/inode.c:263 [inline] iget_locked+0x1f3/0x820 fs/inode.c:1308 kernfs_get_inode+0x4a/0x680 fs/kernfs/inode.c:250 kernfs_iop_lookup+0x1e5/0x310 fs/kernfs/dir.c:1143 __lookup_slow+0x29d/0x410 fs/namei.c:1671 lookup_slow+0x53/0x70 fs/namei.c:1688 walk_component+0x314/0x460 fs/namei.c:1984 link_path_walk+0x688/0xde0 fs/namei.c:-1 path_openat+0x28e/0x2fb0 fs/namei.c:3746 do_filp_open+0x1df/0x400 fs/namei.c:3777 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 __call_rcu kernel/rcu/tree.c:3011 [inline] call_rcu+0x189/0x900 kernel/rcu/tree.c:3091 destroy_inode fs/inode.c:316 [inline] evict+0x810/0x8b0 fs/inode.c:662 __dentry_kill+0x412/0x630 fs/dcache.c:586 shrink_dentry_list+0x388/0x680 fs/dcache.c:1181 shrink_dcache_parent+0xae/0x3d0 fs/dcache.c:-1 d_invalidate+0x118/0x270 fs/dcache.c:1717 lookup_fast+0x5e6/0x720 fs/namei.c:1636 walk_component+0x81/0x460 fs/namei.c:1980 link_path_walk+0x688/0xde0 fs/namei.c:-1 path_openat+0x28e/0x2fb0 fs/namei.c:3746 do_filp_open+0x1df/0x400 fs/namei.c:3777 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Second to last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 __call_rcu kernel/rcu/tree.c:3011 [inline] call_rcu+0x189/0x900 kernel/rcu/tree.c:3091 destroy_inode fs/inode.c:316 [inline] evict+0x810/0x8b0 fs/inode.c:662 __dentry_kill+0x412/0x630 fs/dcache.c:586 shrink_dentry_list+0x388/0x680 fs/dcache.c:1181 shrink_dcache_parent+0xae/0x3d0 fs/dcache.c:-1 d_invalidate+0x118/0x270 fs/dcache.c:1717 lookup_fast+0x5e6/0x720 fs/namei.c:1636 walk_component+0x81/0x460 fs/namei.c:1980 link_path_walk+0x688/0xde0 fs/namei.c:-1 path_openat+0x28e/0x2fb0 fs/namei.c:3746 do_filp_open+0x1df/0x400 fs/namei.c:3777 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff888073c777b0 which belongs to the cache inode_cache of size 1168 The buggy address is located 768 bytes to the right of 1168-byte region [ffff888073c777b0, ffff888073c77c40) The buggy address belongs to the page: page:ffffea0001cf1d00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888073c74a20 pfn:0x73c74 head:ffffea0001cf1d00 order:2 compound_mapcount:0 compound_pincount:0 memcg:ffff888079c0d081 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffffea0001839708 ffffea000183b408 ffff888016ddd780 raw: ffff888073c74a20 00000000000c0008 00000001ffffffff ffff888079c0d081 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Reclaimable, gfp_mask 0xd20d0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_RECLAIMABLE), pid 4053, ts 53694939697, free_ts 24322985337 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x807/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0xf0/0x280 mm/slub.c:3238 alloc_inode fs/inode.c:263 [inline] new_inode_pseudo+0x77/0x210 fs/inode.c:1001 get_pipe_inode fs/pipe.c:877 [inline] create_pipe_files+0x4c/0x6b0 fs/pipe.c:917 __do_pipe_flags+0x46/0x1f0 fs/pipe.c:966 do_pipe2+0xa7/0x190 fs/pipe.c:1014 __do_sys_pipe2 fs/pipe.c:1032 [inline] __se_sys_pipe2 fs/pipe.c:1030 [inline] __x64_sys_pipe2+0x56/0x60 fs/pipe.c:1030 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_contig_range+0x96/0xf0 mm/page_alloc.c:9428 destroy_args+0xef/0xa00 mm/debug_vm_pgtable.c:1018 debug_vm_pgtable+0x321/0x380 mm/debug_vm_pgtable.c:1336 do_one_initcall+0x272/0x730 init/main.c:1315 do_initcall_level+0x13d/0x1f0 init/main.c:1388 do_initcalls+0x4b/0x90 init/main.c:1404 kernel_init_freeable+0x3d5/0x560 init/main.c:1628 kernel_init+0x19/0x1b0 init/main.c:1519 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff888073c77e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888073c77e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888073c77f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888073c77f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888073c78000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================