================================================================== BUG: KASAN: slab-out-of-bounds in diWrite+0xbe6/0x1600 fs/jfs/jfs_imap.c:753 Read of size 32 at addr ffff888054ab4130 by task syz.1.7/4431 CPU: 0 PID: 4431 Comm: syz.1.7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x235/0x290 mm/kasan/generic.c:189 memcpy+0x25/0x60 mm/kasan/shadow.c:65 diWrite+0xbe6/0x1600 fs/jfs/jfs_imap.c:753 txCommit+0x869/0x5200 fs/jfs/jfs_txnmgr.c:1256 add_missing_indices+0x791/0xaa0 fs/jfs/jfs_dtree.c:2664 jfs_readdir+0x1ec9/0x3d10 fs/jfs/jfs_dtree.c:3020 iterate_dir+0x218/0x560 fs/readdir.c:-1 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0xf2/0x270 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f87c7f9c799 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:00007f87c8e48028 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f87c8216090 RCX: 00007f87c7f9c799 RDX: 0000000000001000 RSI: 0000200000000f80 RDI: 0000000000000005 RBP: 00007f87c8032c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f87c8216128 R14: 00007f87c8216090 R15: 00007ffcfff0a158 The buggy address belongs to the object at ffff888054ab40c0 which belongs to the cache jfs_ip of size 2240 The buggy address is located 112 bytes inside of 2240-byte region [ffff888054ab40c0, ffff888054ab4980) The buggy address belongs to the physical page: page:ffffea000152ac00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x54ab0 head:ffffea000152ac00 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff88807d0f9d01 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff88801a341b40 raw: 0000000000000000 00000000800d000d 00000001ffffffff ffff88807d0f9d01 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0x1d2050(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 4399, tgid 4397 (syz.1.7), ts 66613430613, free_ts 11862954470 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5657 alloc_slab_page+0x5d/0x160 mm/slub.c:1799 allocate_slab mm/slub.c:1944 [inline] new_slab+0x87/0x2c0 mm/slub.c:1997 ___slab_alloc+0xbc6/0x1240 mm/slub.c:3154 __slab_alloc mm/slub.c:3240 [inline] slab_alloc_node mm/slub.c:3325 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc_lru+0x1ae/0x2e0 mm/slub.c:3390 alloc_inode_sb include/linux/fs.h:3245 [inline] jfs_alloc_inode+0x24/0x60 fs/jfs/super.c:105 alloc_inode fs/inode.c:261 [inline] new_inode_pseudo+0x5f/0x1c0 fs/inode.c:1063 new_inode+0x25/0x1c0 fs/inode.c:1091 jfs_fill_super+0x398/0xad0 fs/jfs/super.c:544 mount_bdev+0x287/0x3c0 fs/super.c:1443 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3078 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1486 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 free_contig_range+0x9d/0x150 mm/page_alloc.c:9625 destroy_args+0xf0/0xa0a mm/debug_vm_pgtable.c:1031 debug_vm_pgtable+0x33c/0x38e mm/debug_vm_pgtable.c:1359 do_one_initcall+0x26a/0x840 init/main.c:1310 do_initcall_level+0x137/0x1e4 init/main.c:1383 do_initcalls+0x4b/0x8a init/main.c:1399 kernel_init_freeable+0x415/0x5be init/main.c:1638 kernel_init+0x19/0x1b0 init/main.c:1526 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Memory state around the buggy address: ffff888054ab4000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888054ab4080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888054ab4100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888054ab4180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888054ab4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================