ERROR: (device loop7): dtReadFirst: stbl[0] out of bound ================================================================== BUG: KASAN: slab-out-of-bounds in addressPXD fs/jfs/jfs_types.h:80 [inline] BUG: KASAN: slab-out-of-bounds in dtSearch+0x19ca/0x2050 fs/jfs/jfs_dtree.c:785 Read of size 4 at addr ffff888066386fe0 by task syz.7.340/6689 CPU: 1 PID: 6689 Comm: syz.7.340 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 addressPXD fs/jfs/jfs_types.h:80 [inline] dtSearch+0x19ca/0x2050 fs/jfs/jfs_dtree.c:785 jfs_lookup+0x152/0x380 fs/jfs/namei.c:1459 __lookup_slow+0x27d/0x3d0 fs/namei.c:1671 lookup_slow+0x53/0x70 fs/namei.c:1688 walk_component+0x319/0x460 fs/namei.c:1984 link_path_walk+0x662/0xd40 fs/namei.c:-1 path_parentat fs/namei.c:2510 [inline] __filename_parentat+0x1f3/0x5f0 fs/namei.c:2534 filename_parentat fs/namei.c:2552 [inline] filename_create+0xcc/0x450 fs/namei.c:3824 do_mkdirat+0x9d/0x5a0 fs/namei.c:4088 __do_sys_mkdirat fs/namei.c:4113 [inline] __se_sys_mkdirat fs/namei.c:4111 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4111 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:0x7f38e758e749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f38e57d4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f38e77e5090 RCX: 00007f38e758e749 RDX: 00000000000001ff RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007f38e7612f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f38e77e5128 R14: 00007f38e77e5090 R15: 00007ffd9ac8b718 Allocated by task 4356: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3238 vm_area_dup+0x1e/0xb0 kernel/fork.c:358 __split_vma+0xb1/0x410 mm/mmap.c:2730 __do_munmap+0x375/0xdc0 mm/mmap.c:2856 __vm_munmap+0x137/0x230 mm/mmap.c:2952 __do_sys_munmap mm/mmap.c:2978 [inline] __se_sys_munmap mm/mmap.c:2974 [inline] __x64_sys_munmap+0x67/0x70 mm/mmap.c:2974 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 Freed by task 4356: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3520 remove_vma mm/mmap.c:188 [inline] remove_vma_list mm/mmap.c:2628 [inline] __do_munmap+0xc54/0xdc0 mm/mmap.c:2902 __vm_munmap+0x137/0x230 mm/mmap.c:2952 __do_sys_munmap mm/mmap.c:2978 [inline] __se_sys_munmap mm/mmap.c:2974 [inline] __x64_sys_munmap+0x67/0x70 mm/mmap.c:2974 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 ffff888066386e70 which belongs to the cache vm_area_struct of size 200 The buggy address is located 168 bytes to the right of 200-byte region [ffff888066386e70, ffff888066386f38) The buggy address belongs to the page: page:ffffea000198e180 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x66386 memcg:ffff888063e06e01 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea000198e200 0000000800000008 ffff888140007a00 raw: 0000000000000000 00000000000f000f 00000001ffffffff ffff888063e06e01 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 4935, ts 127942984464, free_ts 127804009750 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x195/0x290 mm/slub.c:3238 vm_area_alloc+0x20/0xe0 kernel/fork.c:350 __mmap_region mm/mmap.c:1782 [inline] mmap_region+0xac7/0x1660 mm/mmap.c:2933 do_mmap+0x81f/0xea0 mm/mmap.c:1586 vm_mmap_pgoff+0x1b2/0x2b0 mm/util.c:551 ksys_mmap_pgoff+0x140/0x780 mm/mmap.c:1635 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 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 kasan_depopulate_vmalloc_pte+0x67/0x80 mm/kasan/shadow.c:375 apply_to_pte_range mm/memory.c:2573 [inline] apply_to_pmd_range mm/memory.c:2617 [inline] apply_to_pud_range mm/memory.c:2653 [inline] apply_to_p4d_range mm/memory.c:2689 [inline] __apply_to_page_range+0x983/0xd10 mm/memory.c:2725 kasan_release_vmalloc+0x93/0xb0 mm/kasan/shadow.c:485 __purge_vmap_area_lazy+0xc6e/0x18f0 mm/vmalloc.c:1711 _vm_unmap_aliases+0x410/0x4a0 mm/vmalloc.c:2114 vm_remove_mappings mm/vmalloc.c:2591 [inline] __vunmap+0x70d/0xa40 mm/vmalloc.c:2618 bpf_jit_binary_free kernel/bpf/core.c:918 [inline] bpf_jit_free+0x92/0x180 kernel/bpf/core.c:931 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff888066386e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888066386f00: fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc >ffff888066386f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888066387000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888066387080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================