================================================================== BUG: KASAN: out-of-bounds in addressPXD fs/jfs/jfs_types.h:80 [inline] BUG: KASAN: out-of-bounds in dtSearch+0x19ca/0x2050 fs/jfs/jfs_dtree.c:785 Read of size 4 at addr ffff888048416fe0 by task syz.2.219/5743 CPU: 1 PID: 5743 Comm: syz.2.219 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_open fs/namei.c:3448 [inline] open_last_lookups fs/namei.c:3540 [inline] path_openat+0x1003/0x2f30 fs/namei.c:3747 do_filp_open+0x1b3/0x3e0 fs/namei.c:3777 do_sys_openat2+0x142/0x4a0 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_creat fs/open.c:1347 [inline] __se_sys_creat fs/open.c:1341 [inline] __x64_sys_creat+0x8c/0xb0 fs/open.c:1341 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:0x7fd2ddb3c749 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:00007fd2dbd61038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd2ddd93180 RCX: 00007fd2ddb3c749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040 RBP: 00007fd2ddbc0f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd2ddd93218 R14: 00007fd2ddd93180 R15: 00007ffddd2ccf98 The buggy address belongs to the page: page:ffffea0001210580 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x48416 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea00019c7a48 ffffea0001e3bc48 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 0, migratetype Unmovable, gfp_mask 0x500dc0(GFP_USER|__GFP_ZERO|__GFP_ACCOUNT), pid 5739, ts 114840388587, free_ts 114854083720 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 __get_free_pages mm/page_alloc.c:5524 [inline] get_zeroed_page+0x13/0x30 mm/page_alloc.c:5533 pud_alloc_one include/asm-generic/pgalloc.h:166 [inline] __pud_alloc+0x31/0x140 mm/memory.c:4933 pud_alloc include/linux/mm.h:2185 [inline] copy_pud_range mm/memory.c:1184 [inline] copy_p4d_range mm/memory.c:1228 [inline] copy_page_range+0x2c8b/0x3220 mm/memory.c:1301 dup_mmap kernel/fork.c:615 [inline] dup_mm kernel/fork.c:1466 [inline] copy_mm+0xc60/0x1380 kernel/fork.c:1518 copy_process+0x17c6/0x3e00 kernel/fork.c:2290 kernel_clone+0x219/0x930 kernel/fork.c:2679 __do_sys_clone kernel/fork.c:2796 [inline] __se_sys_clone kernel/fork.c:2780 [inline] __x64_sys_clone+0x170/0x1c0 kernel/fork.c:2780 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_list+0x122/0x7e0 mm/page_alloc.c:3433 release_pages+0x184b/0x1bb0 mm/swap.c:963 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+0x164/0x2e0 mm/mmu_gather.c:338 exit_mmap+0x3a6/0x5f0 mm/mmap.c:3218 __mmput+0x115/0x3b0 kernel/fork.c:1127 exit_mm+0x567/0x6c0 kernel/exit.c:550 do_exit+0x5a1/0x20a0 kernel/exit.c:870 do_group_exit+0x12e/0x300 kernel/exit.c:997 __do_sys_exit_group kernel/exit.c:1008 [inline] __se_sys_exit_group kernel/exit.c:1006 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1006 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: ffff888048416e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888048416f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888048416f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888048417000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888048417080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================