EXT4-fs (loop3): Using encoding defined by superblock: utf8-12.1.0 with flags 0x0 ================================================================== 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+0x5ce/0x4040 fs/ext4/inode.c:4910 Read of size 8 at addr ffff888052df7f30 by task syz.3.4314/14243 CPU: 0 PID: 14243 Comm: syz.3.4314 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 check_igot_inode fs/ext4/inode.c:-1 [inline] __ext4_iget+0x5ce/0x4040 fs/ext4/inode.c:4910 __ext4_fill_super fs/ext4/super.c:5471 [inline] ext4_fill_super+0x5ffd/0x77b0 fs/ext4/super.c:5698 get_tree_bdev+0x3e6/0x610 fs/super.c:1377 vfs_get_tree+0x88/0x270 fs/super.c:1584 do_new_mount+0x247/0xa50 fs/namespace.c:3108 do_mount fs/namespace.c:3482 [inline] __do_sys_mount fs/namespace.c:3690 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3667 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7efc05daacba 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:00007efc06c58e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efc06c58ee0 RCX: 00007efc05daacba RDX: 00002000000000c0 RSI: 0000200000000100 RDI: 00007efc06c58ea0 RBP: 00002000000000c0 R08: 00007efc06c58ee0 R09: 0000000001000015 R10: 0000000001000015 R11: 0000000000000246 R12: 0000200000000100 R13: 00007efc06c58ea0 R14: 0000000000002405 R15: 000000000000002c Allocated by task 4268: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:742 slab_alloc_node mm/slub.c:3366 [inline] slab_alloc mm/slub.c:3374 [inline] __kmem_cache_alloc_lru mm/slub.c:3381 [inline] kmem_cache_alloc_lru+0x182/0x2e0 mm/slub.c:3397 alloc_inode_sb include/linux/fs.h:3280 [inline] alloc_inode fs/inode.c:263 [inline] iget_locked+0x201/0x8c0 fs/inode.c:1382 kernfs_get_inode+0x4a/0x680 fs/kernfs/inode.c:254 kernfs_iop_lookup+0x25f/0x380 fs/kernfs/dir.c:1189 __lookup_slow+0x29d/0x3f0 fs/namei.c:1698 lookup_slow+0x53/0x70 fs/namei.c:1715 walk_component+0x2ad/0x3e0 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x148/0x420 fs/namei.c:2487 filename_lookup+0x229/0x580 fs/namei.c:2516 vfs_statx+0x10e/0x680 fs/stat.c:233 vfs_fstatat fs/stat.c:271 [inline] __do_sys_newfstatat fs/stat.c:441 [inline] __se_sys_newfstatat fs/stat.c:435 [inline] __x64_sys_newfstatat+0x190/0x240 fs/stat.c:435 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Freed by task 15: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1735 [inline] slab_free_freelist_hook+0x133/0x1b0 mm/slub.c:1761 slab_free mm/slub.c:3694 [inline] kmem_cache_free+0xf7/0x2a0 mm/slub.c:3716 rcu_do_batch kernel/rcu/tree.c:2297 [inline] rcu_core+0x9a3/0x1740 kernel/rcu/tree.c:2557 handle_softirqs+0x291/0x910 kernel/softirq.c:596 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:968 smpboot_thread_fn+0x667/0xa30 kernel/smpboot.c:164 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 call_rcu+0x14f/0x950 kernel/rcu/tree.c:2849 destroy_inode fs/inode.c:316 [inline] evict+0x915/0x9d0 fs/inode.c:717 __dentry_kill+0x401/0x800 fs/dcache.c:611 shrink_dentry_list+0x396/0x6a0 fs/dcache.c:1206 shrink_dcache_parent+0xae/0x3f0 fs/dcache.c:-1 d_invalidate+0x118/0x270 fs/dcache.c:1744 lookup_fast+0x2fe/0x4c0 fs/namei.c:1663 walk_component fs/namei.c:2002 [inline] link_path_walk+0x608/0xea0 fs/namei.c:2333 path_openat+0x285/0x2f10 fs/namei.c:3834 do_filp_open+0x1ee/0x420 fs/namei.c:3865 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 call_rcu+0x14f/0x950 kernel/rcu/tree.c:2849 destroy_inode fs/inode.c:316 [inline] evict+0x915/0x9d0 fs/inode.c:717 __dentry_kill+0x401/0x800 fs/dcache.c:611 shrink_dentry_list+0x396/0x6a0 fs/dcache.c:1206 shrink_dcache_parent+0xae/0x3f0 fs/dcache.c:-1 d_invalidate+0x118/0x270 fs/dcache.c:1744 lookup_fast+0x2fe/0x4c0 fs/namei.c:1663 walk_component fs/namei.c:2002 [inline] link_path_walk+0x608/0xea0 fs/namei.c:2333 path_lookupat+0x83/0x420 fs/namei.c:2486 filename_lookup+0x229/0x580 fs/namei.c:2516 vfs_statx+0x10e/0x680 fs/stat.c:233 vfs_fstatat fs/stat.c:271 [inline] __do_sys_newfstatat fs/stat.c:441 [inline] __se_sys_newfstatat fs/stat.c:435 [inline] __x64_sys_newfstatat+0x190/0x240 fs/stat.c:435 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 The buggy address belongs to the object at ffff888052df77b0 which belongs to the cache inode_cache of size 1168 The buggy address is located 752 bytes to the right of 1168-byte region [ffff888052df77b0, ffff888052df7c40) The buggy address belongs to the physical page: page:ffffea00014b7d00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x52df4 head:ffffea00014b7d00 order:2 compound_mapcount:0 compound_pincount:0 memcg:ffff88802ae41b01 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 dead000000000100 dead000000000122 ffff88813ff5b8c0 raw: 0000000000000000 00000000000c000c 00000001ffffffff ffff88802ae41b01 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 4268, tgid 4268 (udevd), ts 225983656760, free_ts 225897654133 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2561 prep_new_page mm/page_alloc.c:2568 [inline] get_page_from_freelist+0x208b/0x21a0 mm/page_alloc.c:4368 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5668 alloc_slab_page+0x5d/0x180 mm/slub.c:1805 allocate_slab mm/slub.c:1950 [inline] new_slab+0x87/0x2d0 mm/slub.c:2003 ___slab_alloc+0xbc5/0x1240 mm/slub.c:3161 __slab_alloc mm/slub.c:3247 [inline] slab_alloc_node mm/slub.c:3332 [inline] slab_alloc mm/slub.c:3374 [inline] __kmem_cache_alloc_lru mm/slub.c:3381 [inline] kmem_cache_alloc_lru+0x104/0x2e0 mm/slub.c:3397 alloc_inode_sb include/linux/fs.h:3280 [inline] alloc_inode fs/inode.c:263 [inline] iget_locked+0x201/0x8c0 fs/inode.c:1382 kernfs_get_inode+0x4a/0x680 fs/kernfs/inode.c:254 kernfs_iop_lookup+0x25f/0x380 fs/kernfs/dir.c:1189 __lookup_slow+0x29d/0x3f0 fs/namei.c:1698 lookup_slow+0x53/0x70 fs/namei.c:1715 walk_component fs/namei.c:2006 [inline] link_path_walk+0x976/0xea0 fs/namei.c:2333 path_openat+0x285/0x2f10 fs/namei.c:3834 do_filp_open+0x1ee/0x420 fs/namei.c:3865 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1488 [inline] free_pcp_prepare mm/page_alloc.c:1538 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3422 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3517 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:742 slab_alloc_node mm/slub.c:3366 [inline] slab_alloc mm/slub.c:3374 [inline] __kmem_cache_alloc_lru mm/slub.c:3381 [inline] kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3390 getname_flags+0xb7/0x500 fs/namei.c:139 getname fs/namei.c:218 [inline] __do_sys_unlink fs/namei.c:4493 [inline] __se_sys_unlink fs/namei.c:4491 [inline] __x64_sys_unlink+0x38/0x50 fs/namei.c:4491 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Memory state around the buggy address: ffff888052df7e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888052df7e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888052df7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888052df7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888052df8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================