loop1: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-use-after-free in dtMoveEntry fs/jfs/jfs_dtree.c:3931 [inline] BUG: KASAN: slab-use-after-free in dtSplitPage+0x1bce/0x36a0 fs/jfs/jfs_dtree.c:1558 Write of size 1 at addr ffff888075b3c000 by task syz.1.307/6825 CPU: 0 UID: 0 PID: 6825 Comm: syz.1.307 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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 dtMoveEntry fs/jfs/jfs_dtree.c:3931 [inline] dtSplitPage+0x1bce/0x36a0 fs/jfs/jfs_dtree.c:1558 dtSplitUp fs/jfs/jfs_dtree.c:1089 [inline] dtInsert+0x1080/0x5cb0 fs/jfs/jfs_dtree.c:868 jfs_symlink+0x8a1/0xfb0 fs/jfs/namei.c:1021 vfs_symlink+0x18b/0x330 fs/namei.c:5889 filename_symlinkat+0x1cd/0x410 fs/namei.c:5914 __do_sys_symlinkat fs/namei.c:5934 [inline] __se_sys_symlinkat+0x4e/0x2b0 fs/namei.c:5929 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff995d9e159 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:00007ff996bbb028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 00007ff996025fa0 RCX: 00007ff995d9e159 RDX: 00002000000005c0 RSI: ffffffffffffff9c RDI: 0000200000000700 RBP: 00007ff995e3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff996026038 R14: 00007ff996025fa0 R15: 00007fffde8baad8 Allocated by task 13: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x31c/0x600 mm/slub.c:5599 _kmalloc_noprof include/linux/slab.h:991 [inline] slab_free_hook mm/slub.c:2731 [inline] slab_free mm/slub.c:6544 [inline] kmem_cache_free+0x156/0x650 mm/slub.c:6671 __io_req_caches_free+0x1be/0x270 io_uring/io_uring.c:2139 io_req_caches_free+0x21/0x30 io_uring/io_uring.c:2151 io_ring_exit_work+0x439/0x9a0 io_uring/io_uring.c:2354 process_one_work kernel/workqueue.c:3407 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3490 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3571 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 26: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2779 [inline] slab_free mm/slub.c:6544 [inline] kfree+0x1c5/0x650 mm/slub.c:6837 slab_free_after_rcu_debug+0x62/0x220 mm/slub.c:6593 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x223/0x840 kernel/softirq.c:645 run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099 smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:57 kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:556 __call_rcu_common kernel/rcu/tree.c:3181 [inline] call_rcu+0xee/0x8b0 kernel/rcu/tree.c:3301 slab_free_hook mm/slub.c:2743 [inline] slab_free mm/slub.c:6544 [inline] kmem_cache_free+0x471/0x650 mm/slub.c:6671 __io_req_caches_free+0x1be/0x270 io_uring/io_uring.c:2139 io_req_caches_free+0x21/0x30 io_uring/io_uring.c:2151 io_ring_exit_work+0x439/0x9a0 io_uring/io_uring.c:2354 process_one_work kernel/workqueue.c:3407 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3490 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3571 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff888075b3c000 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes inside of freed 32-byte region [ffff888075b3c000, ffff888075b3c020) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888075b3c680 pfn:0x75b3c flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000200 ffff88801b041780 ffffea0001fa6dd0 ffffea00006c76d0 raw: ffff888075b3c680 0000000000400032 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5410, tgid 5410 (dhcpcd-run-hook), ts 56355010373 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1853 prep_new_page mm/page_alloc.c:1861 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3925 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5430 alloc_slab_page mm/slub.c:3378 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3493 new_slab mm/slub.c:3544 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7453 refill_sheaf mm/slub.c:2916 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4805 alloc_from_pcs mm/slub.c:4881 [inline] slab_alloc_node mm/slub.c:5015 [inline] __kmalloc_cache_noprof+0x396/0x600 mm/slub.c:5595 _kmalloc_noprof include/linux/slab.h:991 [inline] slab_free_hook mm/slub.c:2731 [inline] slab_free mm/slub.c:6544 [inline] kmem_cache_free+0x156/0x650 mm/slub.c:6671 tear_down_vmas+0x31f/0x530 mm/mmap.c:1277 exit_mmap+0x4ca/0x9f0 mm/mmap.c:1335 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x221/0x2d0 kernel/exit.c:614 do_exit+0x6cd/0x2360 kernel/exit.c:996 do_group_exit+0x22d/0x2f0 kernel/exit.c:1151 __do_sys_exit_group kernel/exit.c:1162 [inline] __se_sys_exit_group kernel/exit.c:1160 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1160 x64_sys_call+0x18c6/0x18d0 arch/x86/include/generated/asm/syscalls_64.h:232 page last free pid 5410 tgid 5410 ts 56353360054 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1400 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2944 tlb_batch_list_free mm/mmu_gather.c:161 [inline] tlb_finish_mmu+0x13e/0x220 mm/mmu_gather.c:552 exit_mmap+0x4b2/0x9f0 mm/mmap.c:1328 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x221/0x2d0 kernel/exit.c:614 do_exit+0x6cd/0x2360 kernel/exit.c:996 do_group_exit+0x22d/0x2f0 kernel/exit.c:1151 __do_sys_exit_group kernel/exit.c:1162 [inline] __se_sys_exit_group kernel/exit.c:1160 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1160 x64_sys_call+0x18c6/0x18d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888075b3bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888075b3bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888075b3c000: fa fb fb fb fc fc fc fc 00 00 00 00 fc fc fc fc ^ ffff888075b3c080: 00 00 00 00 fc fc fc fc 00 00 00 00 fc fc fc fc ffff888075b3c100: 00 00 00 00 fc fc fc fc 00 00 00 00 fc fc fc fc ==================================================================