------------[ cut here ]------------ WARNING: CPU: 1 PID: 4429 at mm/slab_common.c:936 free_large_kmalloc+0x3c/0x144 mm/slab_common.c:937 Modules linked in: CPU: 1 PID: 4429 Comm: syz-executor.4 Not tainted 6.2.0-rc2-syzkaller-16046-gae87308093bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : free_large_kmalloc+0x3c/0x144 mm/slab_common.c:937 lr : kfree+0xb8/0x118 mm/slab_common.c:1014 sp : ffff80000ff83b90 x29: ffff80000ff83b90 x28: ffff0000cca63400 x27: 0000000000000000 x26: ffff0000d3fa9000 x25: ffff80000d73a000 x24: ffff0000d137e4c8 x23: ffff0000d137d338 x22: 0000000000000000 x21: 0000000040000000 x20: ffff800008d72044 x19: fffffc0003498c00 x18: 00000000000002d0 x17: ffff80000c15d8bc x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000406 x12: ffff80000d6581a8 x11: ff8080000805b050 x10: 0000000000000000 x9 : fffffc0000000000 x8 : ffff80000daef000 x7 : ffff8000083eefa0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000008 x1 : ffff0000d2630000 x0 : fffffc0003498c00 Call trace: free_large_kmalloc+0x3c/0x144 mm/slab_common.c:937 kfree+0xb8/0x118 mm/slab_common.c:1014 diUnmount+0x74/0x8c fs/jfs/jfs_imap.c:195 jfs_umount+0x98/0x190 fs/jfs/jfs_umount.c:63 jfs_put_super+0x6c/0x104 fs/jfs/super.c:194 generic_shutdown_super+0x94/0x198 fs/super.c:492 kill_block_super+0x30/0x78 fs/super.c:1386 deactivate_locked_super+0x70/0xe8 fs/super.c:332 deactivate_super+0xd0/0xd4 fs/super.c:363 cleanup_mnt+0x184/0x1c0 fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1137 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 irq event stamp: 185540 hardirqs last enabled at (185539): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (185539): [] _raw_spin_unlock_irqrestore+0x48/0x8c kernel/locking/spinlock.c:194 hardirqs last disabled at (185540): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (185356): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (185354): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- object pointer: 0x00000000a59590f9 page:00000000596ad0bc refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x112630 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffc0003523c08 ffff0001feff62e0 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:760! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4429 Comm: syz-executor.4 Tainted: G W 6.2.0-rc2-syzkaller-16046-gae87308093bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : put_page_testzero include/linux/mm.h:760 [inline] pc : __free_pages+0xc0/0x168 mm/page_alloc.c:5634 lr : put_page_testzero include/linux/mm.h:760 [inline] lr : __free_pages+0xc0/0x168 mm/page_alloc.c:5634 sp : ffff80000ff83b60 x29: ffff80000ff83b60 x28: ffff0000cca63400 x27: 0000000000000000 x26: ffff0000d3fa9000 x25: ffff80000d73a000 x24: ffff0000d137e4c8 x23: ffff0000d137d338 x22: 0000000000000000 x21: fffffffffffff000 x20: 0000000000000000 x19: fffffc0003498c00 x18: 000000000000024c x17: ffff80000c15d8bc x16: ffff80000dd76118 x15: ffff0000cca63400 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000cca63400 x11: ff808000081cbbc8 x10: 0000000000000000 x9 : c93ff5cfba99aa00 x8 : c93ff5cfba99aa00 x7 : ffff80000816c254 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefdef08 x1 : 0000000100000000 x0 : 000000000000003e Call trace: put_page_testzero include/linux/mm.h:760 [inline] __free_pages+0xc0/0x168 mm/page_alloc.c:5634 free_large_kmalloc+0xac/0x144 mm/slab_common.c:945 kfree+0xb8/0x118 mm/slab_common.c:1014 diUnmount+0x74/0x8c fs/jfs/jfs_imap.c:195 jfs_umount+0x98/0x190 fs/jfs/jfs_umount.c:63 jfs_put_super+0x6c/0x104 fs/jfs/super.c:194 generic_shutdown_super+0x94/0x198 fs/super.c:492 kill_block_super+0x30/0x78 fs/super.c:1386 deactivate_locked_super+0x70/0xe8 fs/super.c:332 deactivate_super+0xd0/0xd4 fs/super.c:363 cleanup_mnt+0x184/0x1c0 fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1137 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: b0024341 913d3021 aa1303e0 97fe895b (d4210000) ---[ end trace 0000000000000000 ]---