loop0: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-out-of-bounds in addressPXD fs/jfs/jfs_types.h:80 [inline] BUG: KASAN: slab-out-of-bounds in dtReadFirst+0x3f0/0xa1c fs/jfs/jfs_dtree.c:3107 Read of size 4 at addr ffff0000f4eebe50 by task syz.0.938/7889 CPU: 0 PID: 7889 Comm: syz.0.938 Not tainted 6.1.129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0x174/0x4c0 mm/kasan/report.c:427 kasan_report+0xd4/0x130 mm/kasan/report.c:531 __asan_report_load4_noabort+0x2c/0x38 mm/kasan/report_generic.c:350 addressPXD fs/jfs/jfs_types.h:80 [inline] dtReadFirst+0x3f0/0xa1c fs/jfs/jfs_dtree.c:3107 jfs_readdir+0x584/0x3030 fs/jfs/jfs_dtree.c:2820 iterate_dir+0x1f4/0x4ec get_name fs/exportfs/expfs.c:325 [inline] exportfs_get_name+0x4a0/0x5b4 fs/exportfs/expfs.c:36 reconnect_one fs/exportfs/expfs.c:142 [inline] reconnect_path+0x20c/0x68c fs/exportfs/expfs.c:222 exportfs_decode_fh_raw+0x1cc/0x524 fs/exportfs/expfs.c:458 exportfs_decode_fh+0x50/0x80 fs/exportfs/expfs.c:575 do_handle_to_path fs/fhandle.c:152 [inline] handle_to_path fs/fhandle.c:207 [inline] do_handle_open+0x56c/0x998 fs/fhandle.c:223 __do_sys_open_by_handle_at fs/fhandle.c:265 [inline] __se_sys_open_by_handle_at fs/fhandle.c:256 [inline] __arm64_sys_open_by_handle_at+0x80/0x94 fs/fhandle.c:256 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000f4eeb780 which belongs to the cache jfs_ip of size 2240 The buggy address is located 1744 bytes inside of 2240-byte region [ffff0000f4eeb780, ffff0000f4eec040) The buggy address belongs to the physical page: page:00000000c2569c39 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x134ee8 head:00000000c2569c39 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff0000d80ce301 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000122 ffff0000c6ee3e00 raw: 0000000000000000 00000000800d000d 00000001ffffffff ffff0000d80ce301 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f4eebd00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f4eebd80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000f4eebe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000f4eebe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f4eebf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ERROR: (device loop0): dtReadFirst: btstack overrun ERROR: (device loop0): remounting filesystem as read-only btstack dump: bn = 0, index = 0 bn = 0, index = 0 bn = 0, index = 0 bn = 0, index = 0 bn = 0, index = 0 bn = 0, index = 0 bn = 0, index = 0 bn = 0, index = 0