loop1: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: use-after-free in diRead+0x94f/0xb90 fs/jfs/jfs_imap.c:329 Read of size 4 at addr ffff888051080010 by task syz.1.28/5906 CPU: 1 UID: 0 PID: 5906 Comm: syz.1.28 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 diRead+0x94f/0xb90 fs/jfs/jfs_imap.c:329 jfs_iget+0x89/0x470 fs/jfs/inode.c:35 jfs_lookup+0x220/0x420 fs/jfs/namei.c:1472 __lookup_slow+0x2d2/0x440 fs/namei.c:1915 lookup_slow+0x53/0x70 fs/namei.c:1932 walk_component fs/namei.c:2278 [inline] lookup_last fs/namei.c:2785 [inline] path_lookupat+0x3f5/0x8c0 fs/namei.c:2809 filename_lookup+0x256/0x5d0 fs/namei.c:2838 user_path_at+0x40/0x160 fs/namei.c:3643 do_mount fs/namespace.c:4164 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x2dc/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f57dbe0ce59 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:00007f57da05e028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f57dc085fa0 RCX: 00007f57dbe0ce59 RDX: 0000200000000100 RSI: 0000200000000380 RDI: 0000000000000000 RBP: 00007f57dbea2d6f R08: 0000200000000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f57dc086038 R14: 00007f57dc085fa0 R15: 00007fff02d54648 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x51080 flags: 0x80000000000000(node=0|zone=1) raw: 0080000000000000 ffffea0001381808 ffff8880b8942d30 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 3, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_ZERO|__GFP_COMP), pid 5906, tgid 5903 (syz.1.28), ts 119120145852, free_ts 119575925809 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853 prep_new_page mm/page_alloc.c:1861 [inline] get_page_from_freelist+0x28b2/0x2930 mm/page_alloc.c:3941 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221 alloc_pages_mpol+0xd1/0x380 mm/mempolicy.c:2490 ___kmalloc_large_node+0x4e/0x120 mm/slub.c:5237 __kmalloc_large_noprof+0x1a/0x90 mm/slub.c:5258 kmalloc_noprof include/linux/slab.h:947 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] diMount+0x29/0xd80 fs/jfs/jfs_imap.c:105 jfs_mount+0x426/0x870 fs/jfs/jfs_mount.c:176 jfs_fill_super+0x6bc/0xd80 fs/jfs/super.c:523 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1694 vfs_get_tree+0x92/0x2a0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3758 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3834 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5929 tgid 5903 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xfe5/0x10d0 mm/page_alloc.c:2938 diUnmount+0xff/0x130 fs/jfs/jfs_imap.c:195 jfs_mount_rw+0x32b/0x670 fs/jfs/jfs_mount.c:239 jfs_reconfigure+0x5f9/0xa00 fs/jfs/super.c:409 reconfigure_super+0x227/0x8a0 fs/super.c:1080 do_remount fs/namespace.c:3400 [inline] path_mount+0xdc5/0x10e0 fs/namespace.c:4146 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88805107ff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88805107ff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888051080000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888051080080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888051080100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================