------------[ cut here ]------------ WARNING: CPU: 0 PID: 4456 at mm/slab_common.c:936 free_large_kmalloc+0x3c/0x144 mm/slab_common.c:937 Modules linked in: CPU: 0 PID: 4456 Comm: syz-executor.5 Not tainted 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #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 : ffff800010f93b90 x29: ffff800010f93b90 x28: ffff0000c3b6ce00 x27: 0000000000000000 x26: ffff00011c0d3d00 x25: ffff80000d75a000 x24: ffff000122e89e88 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000040000000 x20: ffff800008d771bc x19: fffffc00031dd800 x18: 00000000000003b9 x17: ffff80000c16e8bc x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000406 x12: ffff80000d678228 x11: ff8080000805c850 x10: 0000000000000000 x9 : fffffc0000000000 x8 : ffff80000db10000 x7 : ffff8000083f4b60 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000008 x1 : ffff0000c7760000 x0 : fffffc00031dd800 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:1301 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: 2743132 hardirqs last enabled at (2743131): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2743131): [] _raw_spin_unlock_irqrestore+0x48/0x8c kernel/locking/spinlock.c:194 hardirqs last disabled at (2743132): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2743004): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2743002): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- object pointer: 0x0000000038f52511 page:00000000c0a78aaf refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107760 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffc0004a05e08 ffff0001fefd72e0 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: 0 PID: 4456 Comm: syz-executor.5 Tainted: G W 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #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 : ffff800010f93b60 x29: ffff800010f93b60 x28: ffff0000c3b6ce00 x27: 0000000000000000 x26: ffff00011c0d3d00 x25: ffff80000d75a000 x24: ffff000122e89e88 x23: 0000000000000000 x22: 0000000000000000 x21: fffffffffffff000 x20: 0000000000000000 x19: fffffc00031dd800 x18: 000000000000021b x17: 3030303030303030 x16: ffff80000dd97118 x15: ffff0000c3b6ce00 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c3b6ce00 x11: ff808000081d0450 x10: 0000000000000000 x9 : d8857f33e4ac0d00 x8 : d8857f33e4ac0d00 x7 : ffff80000c12c9f4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 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:1301 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: 900243c1 91161021 aa1303e0 97fe894e (d4210000) ---[ end trace 0000000000000000 ]---