================================================================== BUG: KASAN: slab-out-of-bounds in ext4_xattr_delete_inode+0xba6/0xbb0 fs/ext4/xattr.c:2914 Read of size 4 at addr ffff888118ddf000 by task syz-executor/455 CPU: 1 PID: 455 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 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+0xba6/0xbb0 fs/ext4/xattr.c:2914 ext4_evict_inode+0xe58/0x1460 fs/ext4/inode.c:296 evict+0x493/0x890 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+0x259/0x6a0 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:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f995dd79457 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 07 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd35f80e58 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f995dd79457 RDX: 0000000000000200 RSI: 00007ffd35f82000 RDI: 00000000ffffff9c RBP: 00007f995dde77b4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000207 R12: 00007ffd35f82000 R13: 00007f995dde77b4 R14: 000000000000b24e R15: 00007ffd35f841b0 The buggy address belongs to the object at ffff888118ddf000 which belongs to the cache ip6_dst_cache of size 248 The buggy address is located 0 bytes inside of 248-byte region [ffff888118ddf000, ffff888118ddf0f8) The buggy address belongs to the physical page: page:ffffea00046377c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x118ddf flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff88810020be00 raw: 0000000000000000 00000000800c000c 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 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 60, tgid 60 (kworker/1:2), ts 45688318162, free_ts 45680427404 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2643 prep_new_page+0x1c/0x110 mm/page_alloc.c:2650 get_page_from_freelist+0x2c7b/0x2cf0 mm/page_alloc.c:4554 __alloc_pages+0x1c3/0x450 mm/page_alloc.c:5868 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 dst_alloc+0x16a/0x1e0 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:345 [inline] icmp6_dst_alloc+0xf9/0x520 net/ipv6/route.c:3308 mld_sendpack+0x5b9/0xd40 net/ipv6/mcast.c:1814 mld_send_cr net/ipv6/mcast.c:2126 [inline] mld_ifc_work+0x80c/0xbe0 net/ipv6/mcast.c:2658 process_one_work+0x71f/0xc40 kernel/workqueue.c:2302 worker_thread+0xa29/0x11f0 kernel/workqueue.c:2449 kthread+0x281/0x320 kernel/kthread.c:386 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1551 [inline] free_pcp_prepare mm/page_alloc.c:1625 [inline] free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3589 free_unref_page+0x8f/0x530 mm/page_alloc.c:3687 free_the_page mm/page_alloc.c:836 [inline] __free_pages+0x67/0x100 mm/page_alloc.c:5957 free_pages+0x82/0x90 mm/page_alloc.c:5968 tlb_batch_list_free mm/mmu_gather.c:75 [inline] tlb_finish_mmu+0x2ba/0x370 mm/mmu_gather.c:364 unmap_region+0x28d/0x2e0 mm/mmap.c:2418 do_mas_align_munmap+0xb9b/0x1230 mm/mmap.c:2691 do_mas_munmap+0x241/0x2b0 mm/mmap.c:2749 __vm_munmap+0x19f/0x2f0 mm/mmap.c:3048 __do_sys_munmap mm/mmap.c:3074 [inline] __se_sys_munmap mm/mmap.c:3070 [inline] __x64_sys_munmap+0x6b/0x80 mm/mmap.c:3070 x64_sys_call+0x8a/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:12 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Memory state around the buggy address: ffff888118ddef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888118ddef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888118ddf000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888118ddf080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888118ddf100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== 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.