loop4: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-out-of-bounds in dtCompare fs/jfs/jfs_dtree.c:3345 [inline] BUG: KASAN: slab-out-of-bounds in dtSearch+0x1683/0x21b0 fs/jfs/jfs_dtree.c:650 Read of size 1 at addr ffff8880578d1018 by task syz.4.128/6246 CPU: 0 UID: 0 PID: 6246 Comm: syz.4.128 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 dtCompare fs/jfs/jfs_dtree.c:3345 [inline] dtSearch+0x1683/0x21b0 fs/jfs/jfs_dtree.c:650 jfs_lookup+0x155/0x380 fs/jfs/namei.c:1461 __lookup_slow+0x297/0x3d0 fs/namei.c:1855 lookup_slow+0x53/0x70 fs/namei.c:1872 walk_component+0x2d2/0x400 fs/namei.c:2190 lookup_last fs/namei.c:2691 [inline] path_lookupat+0x163/0x430 fs/namei.c:2715 filename_lookup+0x212/0x570 fs/namei.c:2744 user_path_at+0x3a/0x60 fs/namei.c:3254 __do_sys_chdir fs/open.c:558 [inline] __se_sys_chdir+0x91/0x280 fs/open.c:552 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efc3518f6c9 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:00007efc333f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007efc353e5fa0 RCX: 00007efc3518f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000140 RBP: 00007efc35211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efc353e6038 R14: 00007efc353e5fa0 R15: 00007ffd3f91b4f8 The buggy address belongs to the object at ffff8880578d0928 which belongs to the cache jfs_ip of size 2216 The buggy address is located 1776 bytes inside of allocated 2216-byte region [ffff8880578d0928, ffff8880578d11d0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x578d0 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff888020774701 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801c3368c0 dead000000000122 0000000000000000 raw: 0000000000000000 00000000800d000d 00000000f5000000 ffff888020774701 head: 00fff00000000040 ffff88801c3368c0 dead000000000122 0000000000000000 head: 0000000000000000 00000000800d000d 00000000f5000000 ffff888020774701 head: 00fff00000000003 ffffea00015e3401 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6246, tgid 6244 (syz.4.128), ts 90816149472, free_ts 90555061126 create_dummy_stack mm/page_owner.c:103 [inline] register_failure_stack+0x89/0xe0 mm/page_owner.c:114 init_page_owner+0x33/0x600 mm/page_owner.c:128 invoke_init_callbacks mm/page_ext.c:148 [inline] page_ext_init+0x511/0x550 mm/page_ext.c:486 mm_core_init+0x56/0x70 mm/mm_init.c:2725 page last free pid 6238 tgid 6238 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2948 __slab_free+0x21b/0x2a0 mm/slub.c:6001 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:349 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4950 [inline] slab_alloc_node mm/slub.c:5260 [inline] kmem_cache_alloc_noprof+0x37d/0x700 mm/slub.c:5267 getname_flags+0xb8/0x540 fs/namei.c:146 do_readlinkat+0xbc/0x500 fs/stat.c:575 __do_sys_readlink fs/stat.c:613 [inline] __se_sys_readlink fs/stat.c:610 [inline] __x64_sys_readlink+0x7f/0x90 fs/stat.c:610 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff8880578d0f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880578d0f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880578d1000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880578d1080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880578d1100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================