------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 111 at lib/refcount.c:31 refcount_warn_saturate+0x1ed/0x210 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 111 Comm: kswapd0 Not tainted 6.8.0-syzkaller-11064-g82affc97affb #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:refcount_warn_saturate+0x1ed/0x210 lib/refcount.c:31 Code: 8b e8 c7 08 d8 fc 90 0f 0b 90 90 e9 c3 fe ff ff e8 88 07 15 fd c6 05 ee d4 0e 0b 01 90 48 c7 c7 00 29 6e 8b e8 a4 08 d8 fc 90 <0f> 0b 90 90 e9 a0 fe ff ff 48 89 ef e8 c2 4f 71 fd e9 44 fe ff ff RSP: 0018:ffffc90000e5f2e8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8150ca49 RDX: ffff888018344880 RSI: ffffffff8150ca56 RDI: 0000000000000001 RBP: ffff88805525ae1c R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: ffff88805525ae1c R13: 0000000000000000 R14: 0000000005c0029c R15: ffff888040dff8b8 FS: 0000000000000000(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08a66b5440 CR3: 000000000d57a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_dec include/linux/refcount.h:336 [inline] refcount_dec include/linux/refcount.h:351 [inline] dec_stack_record_count mm/page_owner.c:215 [inline] __reset_page_owner+0x2ea/0x370 mm/page_owner.c:253 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487 __folio_put_small mm/swap.c:119 [inline] __folio_put+0x166/0x1f0 mm/swap.c:142 folio_put include/linux/mm.h:1506 [inline] free_page_and_swap_cache+0x1eb/0x250 mm/swap_state.c:305 __split_huge_page mm/huge_memory.c:2995 [inline] split_huge_page_to_list_to_order+0x229b/0x4b40 mm/huge_memory.c:3205 split_folio_to_list_to_order include/linux/huge_mm.h:527 [inline] split_folio_to_order include/linux/huge_mm.h:532 [inline] deferred_split_scan+0x61d/0xa90 mm/huge_memory.c:3348 do_shrink_slab+0x44f/0x1160 mm/shrinker.c:435 shrink_slab+0x18a/0x1310 mm/shrinker.c:662 shrink_one+0x493/0x7c0 mm/vmscan.c:4774 shrink_many mm/vmscan.c:4835 [inline] lru_gen_shrink_node+0x89f/0x1750 mm/vmscan.c:4935 shrink_node mm/vmscan.c:5894 [inline] kswapd_shrink_node mm/vmscan.c:6704 [inline] balance_pgdat+0x10d1/0x1a10 mm/vmscan.c:6895 kswapd+0x5ea/0xb90 mm/vmscan.c:7164 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243