================================================================== BUG: KASAN: slab-out-of-bounds in ext4_xattr_delete_inode+0xc94/0xca0 fs/ext4/xattr.c:2895 Read of size 4 at addr ffff88812e0c9000 by task syz-executor/438 CPU: 1 PID: 438 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:350 ext4_xattr_delete_inode+0xc94/0xca0 fs/ext4/xattr.c:2895 ext4_evict_inode+0xe64/0x1470 fs/ext4/inode.c:296 evict+0x4d7/0x8f0 fs/inode.c:708 iput_final fs/inode.c:1844 [inline] iput+0x620/0x670 fs/inode.c:1870 d_delete_notify include/linux/fsnotify.h:292 [inline] vfs_rmdir+0x3bf/0x500 fs/namei.c:4211 do_rmdir+0x261/0x6b0 fs/namei.c:4259 __do_sys_unlinkat fs/namei.c:4439 [inline] __se_sys_unlinkat fs/namei.c:4433 [inline] __x64_sys_unlinkat+0xc7/0xf0 fs/namei.c:4433 x64_sys_call+0x79f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:264 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:0x7f81c8383bc7 Code: 77 01 c3 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 b8 07 01 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:00007fffca644618 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f81c8383bc7 RDX: 0000000000000200 RSI: 00007fffca6457c0 RDI: 00000000ffffff9c RBP: 00007f81c8401fd2 R08: 0000000000018680 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000207 R12: 00007fffca6457c0 R13: 00007f81c8401fd2 R14: 000000000000a561 R15: 00007fffca647970 The buggy address belongs to the object at ffff88812e0c9000 which belongs to the cache vma_lock of size 64 The buggy address is located 0 bytes inside of 64-byte region [ffff88812e0c9000, ffff88812e0c9040) The buggy address belongs to the physical page: page:ffffea0004b83240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12e0c9 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff8881001ea900 raw: 0000000000000000 00000000802a002a 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 389, tgid 389 (udevd), ts 42398098146, free_ts 42398026380 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2670 prep_new_page+0x1c/0x110 mm/page_alloc.c:2677 get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4583 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5924 alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1 allocate_slab mm/slub.c:1967 [inline] new_slab+0x98/0x3d0 mm/slub.c:2020 ___slab_alloc+0x6bd/0xb20 mm/slub.c:3177 __slab_alloc+0x5e/0xa0 mm/slub.c:3263 slab_alloc_node mm/slub.c:3348 [inline] slab_alloc mm/slub.c:3392 [inline] __kmem_cache_alloc_lru mm/slub.c:3399 [inline] kmem_cache_alloc+0x1b0/0x330 mm/slub.c:3408 vma_lock_alloc kernel/fork.c:471 [inline] vm_area_alloc+0xe9/0x1a0 kernel/fork.c:502 __mmap_region mm/mmap.c:2862 [inline] mmap_region+0xfff/0x21f0 mm/mmap.c:3030 do_mmap+0x856/0xdd0 mm/mmap.c:1491 vm_mmap_pgoff+0x224/0x410 mm/util.c:525 ksys_mmap_pgoff+0xf6/0x1d0 mm/mmap.c:1537 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0xfa/0x110 arch/x86/kernel/sys_x86_64.c:86 x64_sys_call+0x8fd/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:10 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1578 [inline] free_pcp_prepare mm/page_alloc.c:1652 [inline] free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3618 free_unref_page_list+0x117/0x8c0 mm/page_alloc.c:3769 release_pages+0xaf2/0xb50 mm/swap.c:1048 folios_put include/linux/mm.h:1481 [inline] folio_batch_move_lru+0x37a/0x470 mm/swap.c:248 folio_batch_add_and_move mm/swap.c:258 [inline] folio_add_lru+0x226/0x480 mm/swap.c:531 folio_add_lru_vma+0x62/0x80 mm/swap.c:551 lru_cache_add_inactive_or_unevictable+0x5d/0x80 mm/folio-compat.c:94 do_anonymous_page mm/memory.c:4327 [inline] handle_pte_fault mm/memory.c:5181 [inline] __handle_mm_fault mm/memory.c:5325 [inline] handle_mm_fault+0x2213/0x26c0 mm/memory.c:5465 do_user_addr_fault+0x63b/0x1050 arch/x86/mm/fault.c:1372 handle_page_fault arch/x86/mm/fault.c:1464 [inline] exc_page_fault+0x51/0xb0 arch/x86/mm/fault.c:1517 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:608 Memory state around the buggy address: ffff88812e0c8f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88812e0c8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88812e0c9000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88812e0c9080: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ffff88812e0c9100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem.