================================================================== BUG: KASAN: use-after-free in dtMoveEntry fs/jfs/jfs_dtree.c:3934 [inline] BUG: KASAN: use-after-free in dtSplitPage+0x1dd9/0x37c0 fs/jfs/jfs_dtree.c:1561 Write of size 1 at addr ffff88803ade5000 by task syz.1.38/6147 CPU: 1 UID: 0 PID: 6147 Comm: syz.1.38 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xba/0x230 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 dtMoveEntry fs/jfs/jfs_dtree.c:3934 [inline] dtSplitPage+0x1dd9/0x37c0 fs/jfs/jfs_dtree.c:1561 dtSplitUp fs/jfs/jfs_dtree.c:1092 [inline] dtInsert+0x10a4/0x5f10 fs/jfs/jfs_dtree.c:871 jfs_create+0x75b/0xb10 fs/jfs/namei.c:137 lookup_open fs/namei.c:4449 [inline] open_last_lookups fs/namei.c:4549 [inline] path_openat+0x1902/0x3e70 fs/namei.c:4793 do_filp_open+0x22d/0x490 fs/namei.c:4823 do_sys_openat2+0x12f/0x220 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_creat fs/open.c:1514 [inline] __se_sys_creat fs/open.c:1508 [inline] __x64_sys_creat+0x8f/0xc0 fs/open.c:1508 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbe1ae5aeb9 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:00007fbe190ae028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fbe1b0d5fa0 RCX: 00007fbe1ae5aeb9 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000200000000100 RBP: 00007fbe1aec8c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbe1b0d6038 R14: 00007fbe1b0d5fa0 R15: 00007ffd0a971258 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x3ade5 flags: 0x80000000000000(node=0|zone=1) raw: 0080000000000000 ffffea0000eb7988 ffffea0000a13108 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 0x440dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_COMP), pid 5803, tgid 5803 (syz-executor), ts 136291629986, free_ts 136772315732 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x228/0x280 mm/page_alloc.c:1884 prep_new_page mm/page_alloc.c:1892 [inline] get_page_from_freelist+0x28bb/0x2950 mm/page_alloc.c:3945 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5240 alloc_pages_mpol+0xd1/0x380 mm/mempolicy.c:2486 alloc_frozen_pages_noprof mm/mempolicy.c:2557 [inline] alloc_pages_noprof+0xce/0x1e0 mm/mempolicy.c:2577 pagetable_alloc_noprof include/linux/mm.h:3194 [inline] __pud_alloc_one_noprof include/asm-generic/pgalloc.h:181 [inline] pud_alloc_one_noprof include/asm-generic/pgalloc.h:206 [inline] __pud_alloc+0x3a/0x6e0 mm/memory.c:6645 pud_alloc include/linux/mm.h:3104 [inline] copy_pud_range mm/memory.c:1409 [inline] copy_p4d_range mm/memory.c:1453 [inline] copy_page_range+0xbc2/0x1110 mm/memory.c:1539 dup_mmap+0xf7c/0x1b70 mm/mmap.c:1827 dup_mm kernel/fork.c:1529 [inline] copy_mm+0x13b/0x4b0 kernel/fork.c:1581 copy_process+0x16db/0x3a90 kernel/fork.c:2221 kernel_clone+0x249/0x7f0 kernel/fork.c:2651 __do_sys_clone kernel/fork.c:2792 [inline] __se_sys_clone kernel/fork.c:2776 [inline] __x64_sys_clone+0x1b6/0x230 kernel/fork.c:2776 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 28 tgid 28 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1433 [inline] __free_frozen_pages+0xfd0/0x1160 mm/page_alloc.c:2973 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core kernel/rcu/tree.c:2857 [inline] rcu_cpu_kthread+0xbba/0x1b10 kernel/rcu/tree.c:2945 smpboot_thread_fn+0x541/0xa50 kernel/smpboot.c:160 kthread+0x726/0x8b0 kernel/kthread.c:463 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 Memory state around the buggy address: ffff88803ade4f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88803ade4f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88803ade5000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88803ade5080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88803ade5100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================