EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 ro without journal. Quota mode: none. ================================================================== BUG: KASAN: slab-out-of-bounds in __ext4_check_dir_entry+0x71c/0x8a0 fs/ext4/dir.c:86 Read of size 2 at addr ffff8880341c28bc by task syz-executor200/5606 CPU: 1 UID: 0 PID: 5606 Comm: syz-executor200 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 __ext4_check_dir_entry+0x71c/0x8a0 fs/ext4/dir.c:86 ext4_read_inline_dir+0x779/0xbc0 fs/ext4/inline.c:1493 ext4_readdir+0x406/0x41c0 fs/ext4/dir.c:163 iterate_dir+0x2f1/0x4e0 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:319 [inline] __se_sys_getdents+0xf1/0x270 fs/readdir.c:304 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc8cfc298a9 Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd78037ed8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc8cfc298a9 RDX: 0000000000000054 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: 000055556ff15560 R09: 000055556ff15560 R10: 000055556ff15560 R11: 0000000000000246 R12: 00007ffd78037f00 R13: 0000000000000002 R14: 431bde82d7b634db R15: 00007fc8cfc8904b Allocated by task 5606: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5334 [inline] __kmalloc_noprof+0x41a/0x780 mm/slub.c:5359 _kmalloc_noprof include/linux/slab.h:992 [inline] ext4_read_inline_dir+0x2f6/0xbc0 fs/ext4/inline.c:1406 ext4_readdir+0x406/0x41c0 fs/ext4/dir.c:163 iterate_dir+0x2f1/0x4e0 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:319 [inline] __se_sys_getdents+0xf1/0x270 fs/readdir.c:304 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff8880341c2880 which belongs to the cache kmalloc-64 of size 64 The buggy address is located 0 bytes to the right of allocated 60-byte region [ffff8880341c2880, ffff8880341c28bc) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880341c2900 pfn:0x341c2 flags: 0x80000000000200(workingset|node=0|zone=1) page_type: f5(slab) raw: 0080000000000200 ffff88813ffaf8c0 ffff88813ffae788 ffffea0000d1f290 raw: ffff8880341c2900 000000080020001e 00000000f5000000 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 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 3810, tgid 3810 (kworker/u8:17), ts 28303353836, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x262a/0x26a0 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 alloc_slab_page mm/slub.c:3266 [inline] allocate_slab+0x79/0x5e0 mm/slub.c:3380 new_slab mm/slub.c:3426 [inline] refill_objects+0x2d8/0x350 mm/slub.c:7310 refill_sheaf mm/slub.c:2804 [inline] __pcs_replace_empty_main+0x330/0x690 mm/slub.c:4675 alloc_from_pcs mm/slub.c:4773 [inline] slab_alloc_node mm/slub.c:4905 [inline] __do_kmalloc_node mm/slub.c:5333 [inline] __kmalloc_node_noprof+0x632/0x7d0 mm/slub.c:5346 _kmalloc_node_noprof include/linux/slab.h:1197 [inline] __vmalloc_area_node mm/vmalloc.c:3871 [inline] __vmalloc_node_range_noprof+0x5d9/0x1730 mm/vmalloc.c:4082 __vmalloc_node_noprof+0xc2/0x100 mm/vmalloc.c:4143 alloc_thread_stack_node kernel/fork.c:359 [inline] dup_task_struct+0x2a0/0x8f0 kernel/fork.c:929 copy_process+0x820/0x4390 kernel/fork.c:2115 kernel_clone+0x2d2/0x8d0 kernel/fork.c:2748 user_mode_thread+0x110/0x180 kernel/fork.c:2824 call_usermodehelper_exec_work+0x5c/0x230 kernel/umh.c:171 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 page_owner free stack trace missing Memory state around the buggy address: ffff8880341c2780: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff8880341c2800: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc >ffff8880341c2880: 00 00 00 00 00 00 00 04 fc fc fc fc fc fc fc fc ^ ffff8880341c2900: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff8880341c2980: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ==================================================================