EXT4-fs (loop2): mounted filesystem without journal. Opts: errors=remount-ro,. Quota mode: none. EXT4-fs error (device loop2): ext4_validate_block_bitmap:438: comm syz.2.19: bg 0: block 465: padding at end of block bitmap is not set EXT4-fs (loop2): Remounting filesystem read-only ================================================================== BUG: KASAN: slab-out-of-bounds in ext4_read_inline_data fs/ext4/inline.c:210 [inline] BUG: KASAN: slab-out-of-bounds in ext4_inlinedir_to_tree+0x4ff/0xfa0 fs/ext4/inline.c:1441 Read of size 52 at addr ffff88811aab4b97 by task syz.2.19/488 CPU: 1 PID: 488 Comm: syz.2.19 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0x10f/0x150 mm/kasan/report.c:444 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x249/0x2a0 mm/kasan/generic.c:189 memcpy+0x2d/0x70 mm/kasan/shadow.c:65 ext4_read_inline_data fs/ext4/inline.c:210 [inline] ext4_inlinedir_to_tree+0x4ff/0xfa0 fs/ext4/inline.c:1441 ext4_htree_fill_tree+0x516/0x10f0 fs/ext4/namei.c:1211 ext4_dx_readdir fs/ext4/dir.c:609 [inline] ext4_readdir+0x2c5f/0x3aa0 fs/ext4/dir.c:145 iterate_dir+0x25c/0x600 fs/readdir.c:-1 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents+0xf2/0x250 fs/readdir.c:271 __x64_sys_getdents+0x7b/0x90 fs/readdir.c:271 x64_sys_call+0xb4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:79 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:0x7fc8f18b6cb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc8f171b028 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fc8f1b31fa0 RCX: 00007fc8f18b6cb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007fc8f1924bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc8f1b32038 R14: 00007fc8f1b31fa0 R15: 00007ffc87db9078 Allocated by task 146: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] __kasan_slab_alloc+0xb7/0xe0 mm/kasan/common.c:466 kasan_slab_alloc include/linux/kasan.h:217 [inline] slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:550 slab_alloc_node mm/slub.c:3245 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0xf7/0x260 mm/slub.c:3260 anon_vma_chain_alloc mm/rmap.c:141 [inline] anon_vma_clone+0xb7/0x4c0 mm/rmap.c:287 __split_vma+0x187/0x3e0 mm/mmap.c:2768 split_vma+0x7c/0xd0 mm/mmap.c:2813 mprotect_fixup+0x530/0x7d0 mm/mprotect.c:490 do_mprotect_pkey+0x72c/0xad0 mm/mprotect.c:646 __do_sys_mprotect mm/mprotect.c:673 [inline] __se_sys_mprotect mm/mprotect.c:670 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:670 x64_sys_call+0x912/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:11 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 ffff88811aab4b40 which belongs to the cache anon_vma_chain of size 64 The buggy address is located 23 bytes to the right of 64-byte region [ffff88811aab4b40, ffff88811aab4b80) The buggy address belongs to the page: page:ffffea00046aad00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88811aab4240 pfn:0x11aab4 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 ffffea00046abac0 0000000500000005 ffff888100187080 raw: ffff88811aab4240 00000000802a0000 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 0x12800(GFP_NOWAIT|__GFP_NOWARN|__GFP_NORETRY), pid 146, ts 6340248616, free_ts 6335072238 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2607 prep_new_page+0x1c/0x110 mm/page_alloc.c:2613 get_page_from_freelist+0x2c3a/0x2cd0 mm/page_alloc.c:4487 __alloc_pages+0x1a2/0x460 mm/page_alloc.c:5824 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1937 [inline] new_slab+0xa0/0x4d0 mm/slub.c:2000 ___slab_alloc+0x3ac/0x840 mm/slub.c:3033 __slab_alloc+0x49/0x90 mm/slub.c:3120 slab_alloc_node mm/slub.c:3211 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0x138/0x260 mm/slub.c:3260 anon_vma_chain_alloc mm/rmap.c:141 [inline] anon_vma_clone+0xb7/0x4c0 mm/rmap.c:287 __split_vma+0x187/0x3e0 mm/mmap.c:2768 split_vma+0x7c/0xd0 mm/mmap.c:2813 mprotect_fixup+0x530/0x7d0 mm/mprotect.c:490 do_mprotect_pkey+0x72c/0xad0 mm/mprotect.c:646 __do_sys_mprotect mm/mprotect.c:673 [inline] __se_sys_mprotect mm/mprotect.c:670 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:670 x64_sys_call+0x912/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:11 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1474 [inline] free_pcp_prepare mm/page_alloc.c:1546 [inline] free_unref_page_prepare+0x5fa/0x600 mm/page_alloc.c:3536 free_unref_page_list+0x138/0x9e0 mm/page_alloc.c:3673 release_pages+0x1264/0x12c0 mm/swap.c:1015 free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:320 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x17e/0x310 mm/mmu_gather.c:338 exit_mmap+0x43b/0x8b0 mm/mmap.c:3248 __mmput+0x92/0x300 kernel/fork.c:1191 mmput+0x50/0x150 kernel/fork.c:1214 exit_mm kernel/exit.c:561 [inline] do_exit+0xacc/0x29a0 kernel/exit.c:883 do_group_exit+0x149/0x310 kernel/exit.c:1010 __do_sys_exit_group kernel/exit.c:1021 [inline] __se_sys_exit_group kernel/exit.c:1019 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1019 x64_sys_call+0x832/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 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 Memory state around the buggy address: ffff88811aab4a80: fb fb fb fb fb fb fb fb fc fc fc fc fb fb fb fb ffff88811aab4b00: fb fb fb fb fc fc fc fc fb fb fb fb fb fb fb fb >ffff88811aab4b80: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc ^ ffff88811aab4c00: fb fb fb fb fb fb fb fb fc fc fc fc fb fb fb fb ffff88811aab4c80: fb fb fb fb fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== EXT4-fs error (device loop2): ext4_inlinedir_to_tree:1479: inode #12: block 7: comm syz.2.19: path /2/file1/file0: bad entry in directory: rec_len % 4 != 0 - offset=35110, inode=3517778242, rec_len=35106, size=112 fake=0 EXT4-fs (loop2): Remounting filesystem read-only